Docker Events
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
Configuration Parameters
This plugin supports the following configuration parameters:
Key | Description | Default |
---|---|---|
Unix_Path | The docker socket unix path | /var/run/docker.sock |
Buffer_Size | The size of the buffer used to read docker events (in bytes) | 8192 |
Parser | Specify the name of a parser to interpret the entry as a structured message. | None |
Key | When a message is unstructured (no parser applied), it’s appended as a string under the key name message. | message |
Command Line
$ fluent-bit -i docker_events -o stdout
Configuration File
In your main configuration file append the following Input & Output sections:
[INPUT]
Name docker_events
[OUTPUT]
Name stdout
Match *
当前内容版权归 fluentbit.io 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 fluentbit.io .