@@ -8,15 +8,15 @@ The plugin supports the following configuration parameters:
88
99| Key | Description | Default |
1010| :----------------| :--------------------------------------------------------------------------------------------------------| :--------|
11- | ` Add_Path ` | If enabled, the path is appended to each record. | ` false ` |
12- | ` Buf_Size ` | Buffer size to read the file. | ` 256 ` |
13- | ` File ` | Absolute path to the target file. For example: ` /proc/uptime ` . | _ none_ |
14- | ` Interval_NSec ` | Polling interval (nanoseconds). | ` 0 ` |
15- | ` Interval_Sec ` | Polling interval (seconds). | ` 1 ` |
16- | ` Key ` | Rename a key. | ` head ` |
17- | ` Lines ` | Line number to read. If the number N is set, ` in_head ` reads first N lines like ` head(1) -n ` . | ` 0 ` |
18- | ` Split_line ` | If enabled, ` in_head ` generates key-value pair per line. | ` false ` |
19- | ` Threaded ` | Indicates whether to run this input in its own [ thread] ( ../../administration/multithreading.md#inputs ) . | ` false ` |
11+ | ` add_path ` | If enabled, the path is appended to each record. | ` false ` |
12+ | ` buf_size ` | Buffer size to read the file. | ` 256 ` |
13+ | ` file ` | Absolute path to the target file. For example: ` /proc/uptime ` . | _ none_ |
14+ | ` interval_nsec ` | Polling interval (nanoseconds). | ` 0 ` |
15+ | ` interval_sec ` | Polling interval (seconds). | ` 1 ` |
16+ | ` key ` | Rename a key. | ` head ` |
17+ | ` lines ` | Line number to read. If the number N is set, ` in_head ` reads first N lines like ` head(1) -n ` . | ` 0 ` |
18+ | ` split_line ` | If enabled, ` in_head ` generates key-value pair per line. | ` false ` |
19+ | ` threaded ` | Indicates whether to run this input in its own [ thread] ( ../../administration/multithreading.md#inputs ) . | ` false ` |
2020
2121## Getting started
2222
@@ -78,7 +78,7 @@ pipeline:
7878 File /proc/uptime
7979 Buf_Size 256
8080 Interval_Sec 1
81- Interval_NSec 0
81+ Interval_Nsec 0
8282
8383[OUTPUT]
8484 Name stdout
@@ -90,7 +90,7 @@ pipeline:
9090
9191The interval is calculated like this:
9292
93- ` Total interval (sec) = Interval_Sec + (Interval_Nsec / 1000000000) ` .
93+ ` Total interval (sec) = interval_sec + (interval_nsec / 1000000000) ` .
9494
9595For example: ` 1.5s = 1s + 500000000ns ` .
9696
@@ -147,7 +147,7 @@ pipeline:
147147 Tag head.cpu
148148 File /proc/cpuinfo
149149 Lines 8
150- Split_line true
150+ Split_Line true
151151 # {"line0":"processor : 0", "line1":"vendor_id : GenuineIntel" ...}
152152
153153[FILTER]
0 commit comments