Fluent::Plugin::Base64::Parser
Fluentd plugin to suppor Base64 format for parsing logs.
Installation
Add this line to your application's Gemfile:
gem 'fluent-plugin-base64-parser'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-base64-parser
Configuration
You can use it wherever you used the format parameter to parse texts. In the following example, it encode logs to base64.
<source>
@type tail
path /path/to/log
format base64
base64_encode true
tag base64_log
</source>
Contributing
- Fork it ( https://github.com/[my-github-username]/fluent-plugin-base64-parser/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request