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

Installation

    1.
    Install Fluentd, following instructions for your desired platform
    2.
    Create a configuration file fluent.conf,add the following
Replace log_file pipeline_id, and signalflex_api_key accordingly
1
<source>
2
@type tail
3
<parse>
4
@type none
5
</parse>
6
path ${your_log_file}
7
tag signalflex
8
</source>
9
10
<match signalflex>
11
@type http
12
endpoint http://localhost:8080/batch
13
14
<format>
15
@type single_value
16
</format>
17
headers {"pipeline":${pipeline_id}, "api_key":$signalflex_spi_key}
18
</match>
Copied!
3. Start Fluentd daemon
1
$fluentd -c ./fluent/signalflex.conf -vv &
Copied!
Last modified 1yr ago
Copy link
Contents
Installation