Fluent Bit
Ship Fluent Bit events and metrics
Fluent Bit is an open source collector for telemetry data from multiple sources. It can filter, buffer and transform the data before forwarding to one or more destinations.
Install Integration
Command Line Example
Example command line configuration to send CPU metrics from Fluent Bit running in a Docker container to logstash:
docker run -it fluent/fluent-bit:3.1.9 /fluent-bit/bin/fluent-bit -i cpu -o tcp://@logstash.host:@logstash.Port -p format=json_lines -p json_date_format=iso8601 -p json_date_key=@timestamp
Example Output Config
If you are using a configuration file (e.g. fluent-bit.conf
), rather than specifying in the command line,
you can specify the output below to send data to your Logit.io stack:
[OUTPUT]
Name http
Match *
Host @logstash.host
Port @logstash.Port
Format json_lines
json_date_format iso8601
json_date_key @timestamp
and run the Docker container with the following command which will mount the configuration file to the container and then run Fluent Bit with the configuration file:
docker run -v /path/to/your/fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf -it fluent/fluent-bit:3.1.9 /fluent-bit/bin/fluent-bit -c /fluent-bit/etc/fluent-bit.conf
Launch Logs to View Your Data
Launch LogsHow to diagnose no data in Stack
If you don't see data appearing in your stack after following this integration, take a look at the troubleshooting guide for steps to diagnose and resolve the problem or contact our support team and we'll be happy to assist.