Fluent Bit is distributed as the fluent-bit package for Windows and as a. Fluent Bit provides two Windows
installers: a ZIP archive and an EXE installer.
Not all plugins are supported on Windows. The
shows the default set of supported plugins.
Configuration
Provide a valid Windows configuration with the installation.
The following configuration is an example:
[SERVICE]
# Flush
# =====
# set an interval of seconds before to flush records to a destination
flush 5
# Daemon
# ======
# instruct Fluent Bit to run in foreground or background mode.
daemon Off
# Log_Level
# =========
# Set the verbosity level of the service, values can be:
#
# - error
# - warning
# - info
# - debug
# - trace
#
# by default 'info' is set, that means it includes 'error' and 'warning'.
log_level info
# Parsers File
# ============
# specify an optional 'Parsers' configuration file
parsers_file parsers.conf
# Plugins File
# ============
# specify an optional 'Plugins' configuration file to load external plugins.
plugins_file plugins.conf
# HTTP Server
# ===========
# Enable/Disable the built-in HTTP Server for metrics
http_server Off
http_listen 0.0.0.0
http_port 2020
# Storage
# =======
# Fluent Bit can use memory and filesystem buffering based mechanisms
#
# - https://docs.fluentbit.io/manual/administration/buffering-and-storage
#
# storage metrics
# ---------------
# publish storage pipeline metrics in '/api/v1/storage'. The metrics are
# exported only if the 'http_server' option is enabled.
#
storage.metrics on
[INPUT]
Name winlog
Channels Setup,Windows PowerShell
Interval_Sec 1
[OUTPUT]
name stdout
match *
Migration to Fluent Bit
For version 1.9 and later, td-agent-bit is a deprecated package and was removed
after 1.9.9. The correct package name to use now is fluent-bit.
Installation packages
The latest stable version is 3.2.10.
Each version is available from the following download URLs.
INSTALLERS
SHA256 CHECKSUMS
These are now using the Github Actions built versions. Legacy AppVeyor builds are
still available (AMD 32/64 only) at releases.fluentbit.io but are deprecated.
MSI installers are also available:
To check the integrity, use the Get-FileHash cmdlet for PowerShell.
PS> Get-FileHash fluent-bit-3.2.10-win32.exe
Installing from a ZIP archive
Download a ZIP archive. Choose the suitable installers for your 32-bit or 64-bit
environments.
Expand the ZIP archive. You can do this by clicking Extract All in Explorer
or Expand-Archive in PowerShell.
PS> Expand-Archive fluent-bit-3.2.10-win64.zip
The ZIP package contains the following set of files.
To silently install to C:\fluent-bit directory here is an example:
PS> <installer exe> /S /D=C:\fluent-bit
The uninstaller also supports a silent uninstall using the same /S flag.
This can be used for provisioning with automation like Ansible, Puppet, and so on.
Windows service support
Windows services are equivalent to daemons in UNIX (long-running background
processes).
For v1.5.0 and later, Fluent Bit has native support for Windows services.
For example, you have the following installation layout:
Open the Start menu on Windows and type command Prompt for VS. From the result
list, select the one that corresponds to your target system ( x86 or x64).
Verify the installed OpenSSL library files match the selected target. You can
examine the library files by using the dumpbin command with the /headers
option .
Clone the source code of Fluent Bit.
% git clone https://github.com/fluent/fluent-bit
% cd fluent-bit/build
Compile the source code.
% cmake .. -G "NMake Makefiles"
% cmake --build .
Now you should be able to run Fluent Bit:
.\bin\debug\fluent-bit.exe -i dummy -o stdout
Packaging
To create a ZIP package, call cpack as follows:
cpack -G ZIP
The Windows installer is built by
and supports the
for silent installation and install directory.
Install flex and bison. One way to install them on Windows is to use.
Add the path C:\WinFlexBison to your systems environment variable Path..
Install to pull the source code from the repository.