Last updated
Was this helpful?
Last updated
Was this helpful?
The examples on this page provide common methods to receive data with Fluent Bit and send logs to Panther via an or via an .
In the examples below, log_level trace
and output stdout
are used to test and debug the configurations. These should be removed once the Fluent Bit configuration is working as expected.
This example uses to spawn one event per second. This is useful for testing output configurations and getting started with Fluent Bit.
Input:
Output:
This configuration results in the following:
This configuration results in the following:
This example uses the TCP input plugin. This plugin is useful if you need to ship syslog or JSON events to Fluent Bit over the network. The TCP plugin takes the raw payload it receives and forwards it to the Output configuration.
This configuration results in the following:
This configuration results in the following:
This example uses the Tail input to ingest a file locally sent to S3. Multiple files can be provided. See the path
setting in the for more information.
Input:
Output:
Input:
Output:
This example configuration demonstrates receiving logs using the TCP input plugin and sending directly to Panther's using Fluent Bit's HTTP output plugin.
Input:
Output:
The use of filters in the configuration below is required in order to keep raw payload as-is when sending the log to the HTTP destination. See the for more information.