Difference between revisions of "Fluent-bit.conf"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
 
  [SERVICE]
 
  [SERVICE]
    # Flush
+
    flush        1
    # =====
+
    daemon      Off
    # set an interval of seconds before to flush records to a destination
+
    log_level    info
    flush        1
+
    parsers_file [[parsers.conf]]
 +
    plugins_file plugins.conf
 +
    http_server  Off
 +
    http_listen  0.0.0.0
 +
    http_port    2020
 +
    storage.metrics on
 +
[INPUT]
 +
    name dummy
 +
    tag  dummy.local
 +
[OUTPUT]
 +
    name  stdout
 +
    match *
  
    # 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
 
  
    # Parsers File
+
== Complete files ==
    # ============
+
[SERVICE]
    # specify an optional 'Parsers' configuration file
+
    # Flush
    parsers_file parsers.conf
+
    # =====
 
+
    # set an interval of seconds before to flush records to a destination
    # Plugins File
+
    flush        1
    # ============
+
    # specify an optional 'Plugins' configuration file to load external plugins.
+
    # Daemon
    plugins_file plugins.conf
+
    # ======
 
+
    # instruct Fluent Bit to run in foreground or background mode.
    # HTTP Server
+
    daemon      Off
    # ===========
+
    # Enable/Disable the built-in HTTP Server for metrics
+
    # Log_Level
    http_server  Off
+
    # =========
    http_listen  0.0.0.0
+
    # Set the verbosity level of the service, values can be:
    http_port    2020
+
    #
 
+
    # - error
    # Storage
+
    # - warning
    # =======
+
    # - info
    # Fluent Bit can use memory and filesystem buffering based mechanisms
+
    # - debug
    #
+
    # - trace
    # - https://docs.fluentbit.io/manual/administration/buffering-and-storage
+
    #
    #
+
    # by default 'info' is set, that means it includes 'error' and 'warning'.
    # storage metrics
+
    log_level    info
    # ---------------
+
    # publish storage pipeline metrics in '/api/v1/storage'. The metrics are
+
    # Parsers File
    # exported only if the 'http_server' option is enabled.
+
    # ============
    #
+
    # specify an optional 'Parsers' configuration file
    storage.metrics on
+
    parsers_file parsers.conf
 
+
    # storage.path
+
    # Plugins File
    # ------------
+
    # ============
    # absolute file system path to store filesystem data buffers (chunks).
+
    # specify an optional 'Plugins' configuration file to load external plugins.
    #
+
    plugins_file plugins.conf
    # storage.path /tmp/storage
+
 
+
    # HTTP Server
    # storage.sync
+
    # ===========
    # ------------
+
    # Enable/Disable the built-in HTTP Server for metrics
    # configure the synchronization mode used to store the data into the
+
    http_server  Off
    # filesystem. It can take the values normal or full.
+
    http_listen  0.0.0.0
    #
+
    http_port    2020
    # storage.sync normal
+
 
+
    # Storage
    # storage.checksum
+
    # =======
    # ----------------
+
    # Fluent Bit can use memory and filesystem buffering based mechanisms
    # enable the data integrity check when writing and reading data from the
+
    #
    # filesystem. The storage layer uses the CRC32 algorithm.
+
    # - https://docs.fluentbit.io/manual/administration/buffering-and-storage
    #
+
    #
    # storage.checksum off
+
    # storage metrics
 
+
    # ---------------
    # storage.backlog.mem_limit
+
    # publish storage pipeline metrics in '/api/v1/storage'. The metrics are
    # -------------------------
+
    # exported only if the 'http_server' option is enabled.
    # if storage.path is set, Fluent Bit will look for data chunks that were
+
    #
    # not delivered and are still in the storage layer, these are called
+
    storage.metrics on
    # backlog data. This option configure a hint of maximum value of memory
+
    # to use when processing these records.
+
    # storage.path
    #
+
    # ------------
    # storage.backlog.mem_limit 5M
+
    # absolute file system path to store filesystem data buffers (chunks).
 
+
    #
[INPUT]
+
    # storage.path /tmp/storage
    name dummy
+
    tag  dummy.local
+
    # storage.sync
 
+
    # ------------
[OUTPUT]
+
    # configure the synchronization mode used to store the data into the
    name  stdout
+
    # filesystem. It can take the values normal or full.
    match *
+
    #
 +
    # storage.sync normal
 +
 +
    # storage.checksum
 +
    # ----------------
 +
    # enable the data integrity check when writing and reading data from the
 +
    # filesystem. The storage layer uses the CRC32 algorithm.
 +
    #
 +
    # storage.checksum off
 +
 +
    # storage.backlog.mem_limit
 +
    # -------------------------
 +
    # if storage.path is set, Fluent Bit will look for data chunks that were
 +
    # not delivered and are still in the storage layer, these are called
 +
    # backlog data. This option configure a hint of maximum value of memory
 +
    # to use when processing these records.
 +
    #
 +
    # storage.backlog.mem_limit 5M
 +
 +
[INPUT]
 +
    name dummy
 +
    tag  dummy.local
 +
 +
[OUTPUT]
 +
    name  stdout
 +
    match *
  
  
  
 
{{fluent-bit}}
 
{{fluent-bit}}

Latest revision as of 14:20, 18 January 2024

[SERVICE]
    flush        1
    daemon       Off
    log_level    info
    parsers_file parsers.conf
    plugins_file plugins.conf
    http_server  Off
    http_listen  0.0.0.0
    http_port    2020
    storage.metrics on
[INPUT]
    name dummy
    tag  dummy.local
[OUTPUT]
    name  stdout
    match *


Complete files[edit]

[SERVICE]
    # Flush
    # =====
    # set an interval of seconds before to flush records to a destination
    flush        1

    # 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

    # Parsers File
    # ============
    # specify an optional 'Parsers' configuration file
    parsers_file parsers.conf

    # Plugins File
    # ============
    # specify an optional 'Plugins' configuration file to load external plugins.
    plugins_file plugins.conf

    # HTTP Server
    # ===========
    # Enable/Disable the built-in HTTP Server for metrics
    http_server  Off
    http_listen  0.0.0.0
    http_port    2020

    # Storage
    # =======
    # Fluent Bit can use memory and filesystem buffering based mechanisms
    #
    # - https://docs.fluentbit.io/manual/administration/buffering-and-storage
    #
    # storage metrics
    # ---------------
    # publish storage pipeline metrics in '/api/v1/storage'. The metrics are
    # exported only if the 'http_server' option is enabled.
    #
    storage.metrics on

    # storage.path
    # ------------
    # absolute file system path to store filesystem data buffers (chunks).
    #
    # storage.path /tmp/storage

    # storage.sync
    # ------------
    # configure the synchronization mode used to store the data into the
    # filesystem. It can take the values normal or full.
    #
    # storage.sync normal

    # storage.checksum
    # ----------------
    # enable the data integrity check when writing and reading data from the
    # filesystem. The storage layer uses the CRC32 algorithm.
    #
    # storage.checksum off

    # storage.backlog.mem_limit
    # -------------------------
    # if storage.path is set, Fluent Bit will look for data chunks that were
    # not delivered and are still in the storage layer, these are called
    # backlog data. This option configure a hint of maximum value of memory
    # to use when processing these records.
    #
    # storage.backlog.mem_limit 5M

[INPUT]
    name dummy
    tag  dummy.local

[OUTPUT]
    name  stdout
    match *


Fluent Bit: fluent-bit, fluent-bit.conf

Advertising: