[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.*