...
- Get the latest Fluent-bit zip file from https://docs.fluentbit.io/manual/installation/windows (fluent-bit-*-win64.zip).
- 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)
- 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):
- INPUT - the file contains 2 inputs:
- Windows Event Logs
- Custom Logs location (tail) - Configure the paths to the custom files to be shipped.
- OUTPUT - the file contains an HTTPS output:
- Configure the XPLG Listener IP/Name, Port and Token of your XPLG defined listener.
- INPUT - the file contains 2 inputs:
- Create a Windows service:
- Open a Command Prompt as Administrator to define the Windows service.
- 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=.
- Create service:
sc create fluent-bit binpath= "\fluent-bit\bin\fluent-bit.exe -c \fluent-bit\conf\fluent-bit.conf" start= auto - Add description:
sc description fluent-bit "fluent-bit log shipper to XPLG"
- Create service:
- Start the service and check data is arriving to XPLG.
...
- Get the latest Fluent-bit package file fromhttps://docs.fluentbit.io/manual/installation/linux.
- Install it (sudo yum install fluent-bit)
- 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):
- INPUT - the file contains 1 input:
- Custom Logs location (tail) - Configure the paths to the custom files to be shipped.
- OUTPUT - the file contains an HTTPS output:
- Configure the XPLG Listener IP/Name, Port and Token of your XPLG defined listener.
- INPUT - the file contains 1 input:
- Start the service and check data is arriving to XPLG - sudo systemctl start fluent-bit
...