Sha256: 255fb561fa9e8b8ea52f0d386857eb5f1e33df5746321138d6b2221c15eb4448
Contents?: true
Size: 1.23 KB
Versions: 1
Compression:
Stored size: 1.23 KB
Contents
# fluent-plugin-record-serializer [fluentd](http://fluentd.org) filter plugin that serialize a record. [![Build Status](https://travis-ci.org/cooldaemon/fluent-plugin-record-serializer.svg?branch=master)](https://travis-ci.org/cooldaemon/fluent-plugin-record-serializer) [![Code Climate](https://codeclimate.com/github/cooldaemon/fluent-plugin-record-serializer/badges/gpa.svg)](https://codeclimate.com/github/cooldaemon/fluent-plugin-record-serializer) If following record is passed: ``` {"message": "hello world!"} ``` then you got new record like below: ``` {"tag": "pattern", "payload": "{\"message\": \"hello world!\"}"} ``` ## Installation Install with gem or fluent-gem command as: ``` # for fluentd $ gem install fluent-plugin-record-serializer # for td-agent $ sudo /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-record-serializer ``` ## Configuration In v0.12, you can use record_modifier filter. ``` <filter pattern> type record_serializer </filter> ``` In v0.10, you can use record_serializer output to emulate filter. ``` <match pattern> type record_serializer tag serialized.pattern </match> ``` ## Copyright - Copyright - Copyright(C) 2015- IKUTA Masahito (cooldaemon) - License - Apache License, Version 2.0
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-record-serializer-0.1.0 | README.md |