Process input plugin allows you to check how healthy a process is. It does so by performing a service check at every certain interval of time specified by the user.
Configuration Parameters
The plugin supports the following configuration parameters:
Getting Started
In order to start performing the checks, you can run the plugin from the command line or through the configuration file:
The following example will check the health of crond process.
$fluent-bit-iproc-pproc_name=crond-ostdout
Configuration File
In your main configuration file append the following Input & Output sections:
[INPUT] Name proc Proc_Name crond Interval_Sec 1 Interval_NSec 0 Fd true Mem true[OUTPUT] Name stdout Match *
Testing
Once Fluent Bit is running, you will see the health of process: