Skip to content

Fluent Bit / Fluentd

Common parts of every card (states, backoff, Unit and ExecReload, Test config, manual commands) are described in Monitor window.

Detected by systemd units fluent-bit, td-agent-bit, fluentd, td-agent, calyptia-fluentd or binaries fluent-bit, td-agent-bit, fluentd, td-agent
Read every 60 s while the Monitor window shows the tab
Active probe yes, off by default
Test config none

Fluent Bit and Fluentd / td-agent: inputs, filters and outputs of the log pipeline, and for Fluent Bit (active probe) the records, errors, retries and drops per plugin instance.

Passive: processes by comm; the configuration of each, from -c / --config of a process of the expected account (Fluent Bit: a trusted binary too; Fluentd runs under Ruby, so its binary is not checked) or the packages’ default paths, with @INCLUDE / @include files (plain paths, at most 16 files each). Fluent Bit classic files go through the shared conf.awk (INI sections, key value), YAML files through yaml.awk, Fluentd files through fluent/fluentd.awk; closed key lists: plugin names, tags and match patterns, paths, hosts and ports, never HTTP_Passwd, Password, tls.key_passwd, Shared_Key, splunk_token, apikey, Uri, cloud_auth, aws_*, Header, <security>, <user>, @SET values or embedded Ruby (#{…}).

Active (off by default, Fluent Bit only, when HTTP_Server is on): GET / (version) and GET /api/v1/metrics/prometheus through the shared HTTP helper on the HTTP_Port. Never /api/v2/reload or any POST. Fluentd’s monitor_agent is not asked: its workers run as ruby, which the shared HTTP helper cannot tell apart from other Ruby programs of the same account.

Runs: Fluent Bit only, when HTTP_Server is on in [SERVICE] of the main file: GET / (version) and GET /api/v1/metrics/prometheus on 127.0.0.1/[::1] and HTTP_Port (default 2020), through the shared HTTP helper (trusted curl under env -i and GNU timeout, no proxy, no redirects), only when the port is held by a trusted fluent-bit process. Never /api/v2/reload or a POST. Only the version, edition and the record, byte, error, retry and drop counters per plugin instance leave the host

Traces on the host: two requests every 60 s; Fluent Bit logs HTTP requests only at debug level

None: not offered: fluentd --dry-run runs the Ruby of the configuration and fetches @include http:// files, plugins may connect to their targets, and which buffer directories it creates is not verified; fluent-bit --dry-run exists only in newer releases and is not verified either.

Scroll or pinch to zoom · drag to move · double-click to zoom · Esc or click outside to close