Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Get the latest Fluent-bit zip file from https://docs.fluentbit.io/manual/installation/windows (fluent-bit-*-win64.zip).
  2. Extract it under C:\ drive on the source Windows machine. Rename the extracted directory to 'fluent-bit' (you should have a C:\fluent-bit\ directory)
  3. You may use this Windows-fluent-bit.conf file and just rename it to fluent-bit.conf and modify it based on your needs (override existing C:\fluent-bit\conf\fluent-bit.conf file):
    1. INPUT - the file contains 2 inputs:
      1. Windows Event Logs
      2. Custom Logs location (tail) - Configure the paths to the custom files to be shipped.
    2. OUTPUT - the file contains an HTTPS output:
      1. Configure the XPLG Listener IP/Name, Port and Token of your XPLG defined listener.
  4. Create a Windows service:
    1. Open a Command Prompt as Administrator to define the Windows service.
    2. To register Fluent Bit as a Windows service, you need to execute the following command on Command Prompt. Please be careful that a single space is required after binpath=.
      1. Create service: 
        sc create fluent-bit binpath= "\fluent-bit\bin\fluent-bit.exe -c \fluent-bit\conf\fluent-bit.conf" start= auto
      2. Add description:
        sc description fluent-bit "fluent-bit log shipper to XPLG"
    3. Start the service and check data is arriving to XPLG.

...

  1. Get the latest Fluent-bit package file fromhttps://docs.fluentbit.io/manual/installation/linux.
  2. Install it (sudo yum install fluent-bit)
  3. You may use this Linux-fluent-bit.conf file and just rename it to fluent-bit.conf and modify it based on your needs (override existing /etc/fluent-bit/conf/fluent-bit.conf file):
    1. INPUT - the file contains 1 input:
      1. Custom Logs location (tail) - Configure the paths to the custom files to be shipped.
    2. OUTPUT - the file contains an HTTPS output:
      1. Configure the XPLG Listener IP/Name, Port and Token of your XPLG defined listener.
  4. Start the service and check data is arriving to XPLG - sudo systemctl start fluent-bit

...