|
1 | 1 | [SERVICE] |
2 | 2 | # Flush |
3 | 3 | # ===== |
4 | | - # Set an interval of seconds before to flush records to a destination |
5 | | - Flush 5 |
| 4 | + # set an interval of seconds before to flush records to a destination |
| 5 | + flush 5 |
6 | 6 |
|
7 | 7 | # Daemon |
8 | 8 | # ====== |
9 | | - # Instruct Fluent Bit to run in foreground or background mode. |
10 | | - Daemon Off |
| 9 | + # instruct Fluent Bit to run in foreground or background mode. |
| 10 | + daemon Off |
11 | 11 |
|
12 | 12 | # Log_Level |
13 | 13 | # ========= |
|
19 | 19 | # - debug |
20 | 20 | # - trace |
21 | 21 | # |
22 | | - # By default 'info' is set, that means it includes 'error' and 'warning'. |
23 | | - Log_Level info |
| 22 | + # by default 'info' is set, that means it includes 'error' and 'warning'. |
| 23 | + log_level info |
24 | 24 |
|
25 | | - # Parsers_File |
| 25 | + # Parsers File |
26 | 26 | # ============ |
27 | | - # Specify an optional 'Parsers' configuration file |
28 | | - Parsers_File parsers.conf |
29 | | - Plugins_File plugins.conf |
| 27 | + # specify an optional 'Parsers' configuration file |
| 28 | + parsers_file parsers.conf |
| 29 | + |
| 30 | + # Plugins File |
| 31 | + # ============ |
| 32 | + # specify an optional 'Plugins' configuration file to load external plugins. |
| 33 | + plugins_file plugins.conf |
30 | 34 |
|
31 | 35 | # HTTP Server |
32 | 36 | # =========== |
33 | 37 | # Enable/Disable the built-in HTTP Server for metrics |
34 | | - HTTP_Server Off |
35 | | - HTTP_Listen 0.0.0.0 |
36 | | - HTTP_Port 2020 |
| 38 | + http_server Off |
| 39 | + http_listen 0.0.0.0 |
| 40 | + http_port 2020 |
| 41 | + |
| 42 | + # Storage |
| 43 | + # ======= |
| 44 | + # Fluent Bit can use memory and filesystem buffering based mechanisms |
| 45 | + # |
| 46 | + # - https://docs.fluentbit.io/manual/administration/buffering-and-storage |
| 47 | + # |
| 48 | + # storage metrics |
| 49 | + # --------------- |
| 50 | + # publish storage pipeline metrics in '/api/v1/storage'. The metrics are |
| 51 | + # exported only if the 'http_server' optoin is enabled. |
| 52 | + # |
| 53 | + storage.metrics on |
| 54 | + |
| 55 | + # storage.path |
| 56 | + # ------------ |
| 57 | + # absolute file system path to store filesystem data buffers (chunks). |
| 58 | + # |
| 59 | + # storage.path /tmp/storage |
| 60 | + |
| 61 | + # storage.sync |
| 62 | + # ------------ |
| 63 | + # configure the synchronization mode used to store the data into the |
| 64 | + # filesystem. It can take the values normal or full. |
| 65 | + # |
| 66 | + # storage.sync normal |
| 67 | + |
| 68 | + # storage.checksum |
| 69 | + # ---------------- |
| 70 | + # enable the data integrity check when writing and reading data from the |
| 71 | + # filesystem. The storage layer uses the CRC32 algorithm. |
| 72 | + # |
| 73 | + # storage.checksum off |
| 74 | + |
| 75 | + # storage.backlog.mem_limit |
| 76 | + # ------------------------- |
| 77 | + # if storage.path is set, Fluent Bit will look for data chunks that were |
| 78 | + # not delivered and are still in the storage layer, these are called |
| 79 | + # backlog data. This option configure a hint of maximum value of memory |
| 80 | + # to use when processing these records. |
| 81 | + # |
| 82 | + # storage.backlog.mem_limit 5M |
37 | 83 |
|
38 | 84 | [INPUT] |
39 | | - Name cpu |
40 | | - Tag cpu.local |
41 | | - # Interval Sec |
42 | | - # ==== |
| 85 | + name cpu |
| 86 | + tag cpu.local |
| 87 | + |
43 | 88 | # Read interval (sec) Default: 1 |
44 | | - Interval_Sec 1 |
| 89 | + interval_sec 1 |
45 | 90 |
|
46 | 91 | [OUTPUT] |
47 | | - Name stdout |
48 | | - Match * |
| 92 | + name stdout |
| 93 | + match * |
0 commit comments