to_fluent_bit
Sends events via Fluent Bit.
Synopsis
Description
The to_fluent_bit
operator acts as a bridge into the Fluent Bit ecosystem,
making it possible to send events to Fluent Bit output plugin.
An invocation of the fluent-bit
commandline utility
translates to our to_fluent_bit
operator as follows:
You can acquire events from Fluent Bit using the from_fluent_bit
operator.
plugin: string
The name of the Fluent Bit plugin.
Run fluent-bit -h
and look under the Outputs section of the
help text for available plugin names. The web documentation often comes with an
example invocation near the bottom of the page, which also provides a good idea
how you could use the operator.
options = record (optional)
Sets plugin configuration properties.
The key-value pairs in this record are equivalent to -p key=value
for the
fluent-bit
executable.
fluent_bit_options = record (optional)
Sets global properties of the Fluent Bit service. E.g., fluent_bit_options={flush:1, grace:3}
.
Consult the list of available key-value pairs to configure Fluent Bit according to your needs.
We recommend factoring these options into the plugin-specific fluent-bit.yaml
so that they are independent of the fluent-bit
operator arguments.
URI support & integration with from
The to_fluent_bit
operator can also be used from the to
operator. For this, the fluentbit://
scheme can be used. The URI is then translated:
Examples
ElasticSearch
Send events to ElasticSearch:
Slack
Send events to Slack:
Splunk
Use the dedicated to_splunk
operator instead