Fluent Bit
Fluent Bit configuration
HTTP output plugin allows flushing your records into an HTTP endpoint. The HTTP output plugin allows to provide interoperability between compatible systems, Apica Ascent being one.
The below code block defines the minimal changes to be added to the fluent-bit configuration using the HTTP plugin to start sending log events to flash.The below config supports storage persistence.
Fluent Bit for Windows
You can use Fluent Bit to ship Windows logs to Apica Ascent by leveraging the following Fluent Bit configuration.
The instruction to install fluent-bit for windows is available at the following git repository - https://github.com/logiqai/logiq-installation/tree/main/fluent-bit/windows
The folder in the git repository includes a PowerShell script to set up the windows fluent-bit agent. The PowerShell script downloads the fluent-bit agent and installs the agent as a service. Continue below to see how to set up an example fluent conf and start service on windows.
NOTE: You will need to finalize the fluent configuration and then restart the service. Below is an example of fluent configuration
To forward Windows logs to Apica Ascent using Fluent Bit, do the following.
Copy the configuration provided above and save it locally in a temporary folder.
Edit the fields in the
[OUTPUT]
section of the configuration file to match your Apica Ascent instance.Clone the Apica Ascent installation GitHub repository locally and navigate to the
windows
folder.Copy and paste the
fluent-install.ps1
script into the folder where you saved the Fluent Bit configuration file.Since Windows does not allow you to execute scripts due to default PowerShell script execution policies, you should update the set execution policy by running:
Navigate to Windows > PowerShell and run it in Administrator mode.
Execute the
fluent-install.ps1
script, as shown in the following example:Navigate to Windows > Run.
Type
services.msc
and hit Enter.
You'll now see a Fluent Bit service running on your Windows machine.
OR
You can also run the .\status.ps1
helper scripts present at https://github.com/logiqai/logiq-installation/tree/main/fluent-bit/windows/helper-scripts
We have scripts to:
Restart
Fluent-Bit service.Start
Fluent-Bit service.Status
of fluent-Bit service.Stop
Fluent-Bit service.Uninstall
Fluent-Bit service.
Last updated