fluent-plugin-to_js
Plugin that adds whole record to (default) to_s field
Installation
gem install fluent-plugin-to_js
Usage
<match test.**>
@type tojs
field_name to_string
</match>
following inputs are coming:
test.hoge {"data":"wef"}
then output becomes as belows
string.test.hoge {"data":"wef", "to_string":"{\"data\":\"wef\"}"}