An input block declares an event source and configures its input plugin. Set the plugin name, polling interval, and tag; multiple blocks let Fluent Bit collect different infrastructure signals independently. section 3.2.1
Configure each source with:
- name, such as disk, cpu, mem, or netif, to select the source plugin. section 3.2.1
- interval_sec or interval_nsec, expressed as an integer, to control collection frequency. section 3.2.1
- tag, preferably explicit, so downstream filtering can use a stable event identity. section 3.2.1
Listing 3.1 Performing basic OS monitoring
[INPUT] name disk #1 interval_sec 5 tag book_vm_disk [INPUT] name cpu #2 interval_sec 5 tag book_vm_cpu [INPUT] name mem #3 interval_sec 5 tag book_vm_memory [INPUT] name netif #4 interval_sec 5 #interface eth0 #5 tag book_vm_network [OUTPUT] name stdout match * #6
The configuration combines four input blocks for disk, CPU, memory, and network data, then sends every matching event to stdout. section 3.2.1
