The docker events input plugin uses the docker API to capture server events. A complete list of possible events returned by this plugin can be found here
This plugin supports the following configuration parameters:
The docker socket unix path
The size of the buffer used to read docker events (in bytes)
Specify the name of a parser to interpret the entry as a structured message.
When a message is unstructured (no parser applied), it's appended as a string under the key name message.
$ fluent-bit -i docker_events -o stdout
In your main configuration file append the following Input & Output sections:
[INPUT]Name docker_events[OUTPUT]Name stdoutMatch *