Docs
Search…
Fluentd
Fluent Bit is a general purpose log forwarder that can forward logs to various destinations.

Installation

  1. 1.
    Install Fluentd, following instructions for your desired platform
  2. 2.
    Create a configuration file fluent.conf,add the following
Replace log_file pipeline_id, and signalflex_api_key accordingly
<source>
@type tail
<parse>
@type none
</parse>
path ${your_log_file}
tag signalflex
</source>
<match signalflex>
@type http
endpoint http://localhost:8080/batch
<format>
@type single_value
</format>
headers {"pipeline":${pipeline_id}, "api_key":$signalflex_spi_key}
</match>
3. Start Fluentd daemon
$fluentd -c ./fluent/signalflex.conf -vv &
Last modified 2yr ago
Copy link