Msgpack codec plugin

edit
  • Plugin version: v3.1.0
  • Released on: 2021-08-09
  • Changelog

For other versions, see the Versioned plugin docs.

Getting help

edit

For questions about the plugin, open a topic in the Discuss forums. For bugs or feature requests, open an issue in Github. For the list of Elastic supported plugins, please consult the Elastic Support Matrix.

Description

edit

This codec reads and produces MessagePack encoded content.

Msgpack Codec configuration options

edit
Setting Input type Required

format

string

No

target

string

No

 

format

edit
  • Value type is string
  • There is no default value for this setting.

target

edit
  • Value type is string
  • There is no default value for this setting.

Define the target field for placing the decoded values. If this setting is not set, data will be stored at the root (top level) of the event.

For example, if you want data to be put under the document field:

    input {
      tcp {
        port => 4242
        codec => msgpack {
          target => "[document]"
        }
      }
    }