Versions | v1.0 (td-agent3) | v0.12 (td-agent2)

msgpack Formatter Plugin

The msgpack formatter plugin converts an event to msgpack binary.

Table of Contents

Parameters

Example

tag:    app.event
time:   1362020400
record: {"host":"192.168.0.1","size":777,"method":"PUT"}

This incoming event is formatted to:

{"host":"192.168.0.1","size":777,"method":"PUT"}

With include_tag_key true and tag_key event_tag, result is:

\x83\xA4host\xAB192.168.0.1\xA4size\xCD\x03\t\xA6method\xA3PUT
Last updated: 2018-07-18 16:09:02 +0000

Versions | v1.0 (td-agent3) | v0.12 (td-agent2)

If this article is incorrect or outdated, or omits critical information, please let us know. Fluentd is a open source project under Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.