diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:57:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:57:58 +0000 |
commit | be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97 (patch) | |
tree | 9754ff1ca740f6346cf8483ec915d4054bc5da2d /fluent-bit/conf/in_head.conf | |
parent | Initial commit. (diff) | |
download | netdata-be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97.tar.xz netdata-be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97.zip |
Adding upstream version 1.44.3.upstream/1.44.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/conf/in_head.conf')
-rw-r--r-- | fluent-bit/conf/in_head.conf | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/fluent-bit/conf/in_head.conf b/fluent-bit/conf/in_head.conf new file mode 100644 index 00000000..e3f6ab32 --- /dev/null +++ b/fluent-bit/conf/in_head.conf @@ -0,0 +1,86 @@ +[SERVICE] + # Flush + # ===== + # Set an interval of seconds before to flush records to a destination + Flush 5 + + # Daemon + # ====== + # Instruct Fluent Bit to run in foreground or background mode. + Daemon Off + + # Log_Level + # ========= + # Set the verbosity level of the service, values can be: + # + # - error + # - warning + # - info + # - debug + # - trace + # + # By default 'info' is set, that means it includes 'error' and 'warning'. + Log_Level info + + # HTTP Monitoring Server + # ====================== + # + # HTTP_Monitor: enable/disable the HTTP Server to monitor + # Fluent Bit internals. + # HTTP_Port : specify the TCP port of the HTTP Server + HTTP_Monitor Off + HTTP_Port 2020 + +# Head Input +# ========== +[INPUT] + Name head + Tag head.path_to_file + + # File + # ==== + # File path. e.g. /proc/uptime (required) + # + File /path/to/file + + # Buf_Size + # ==== + # Buffer size to read file. Default: 256 + Buf_Size 256 + + # Total Interval + # = Interval Sec + ( Interval Nsec / 1000 / 1000 / 1000 ) + # + # Interval Sec + # ==== + # Read interval (sec) Default: 1 + Interval_Sec 1 + + # Interval NSec + # ==== + # Read interval (nsec) Default: 0 + Interval_NSec 0 + + # Add Path + # ==== + # if true, append file path to each record. Default: false + Add_Path true + + # Key + # ==== + # Rename key Default: head + Key head + + # Lines + # ==== + # Lines to read. If sets, in_head works like 'head -n' + Lines 10 + + # Split_line + # ==== + # If true, in_head splits lines into k-v pairs + Split_line true + +[OUTPUT] + Name stdout + Match head.* |