fluent-plugin-bunyan
Fluentd parser plugin to process logs from applications that write bunyan logs.
The plugin requires Fluentd 1.0 at least.
master | |
dev |
Installation
Pretty straight forward:
$ gem install fluent-plugin-bunyan
Configuration
Simply add the parser to the Fluentd configuration file, for example:
<source>
@type tail # say the logs come from stdout
<parse>
@type bunyan
</parse>
</source>
Testing
To run the unit tests, make sure you have the Fluentd gem installed and run:
rake test
Copyright
- Copyright(c) 2020- Gildas Cherruel
- License
- MIT