The network interface input plugin periodically collects network traffic and error measurements as Fluent Bit events. Configure it with the netif name, a polling interval, an explicit tag, and optionally an interface such as eth0. Although the data represents metrics, log-shaped events provide flexible processing; another plugin can later transform or generate metrics. 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
A basic Fluent Bit configuration polls netif every five seconds, tags the records as book_vm_network, and sends all events to stdout. section 3.2.1
