logstash/docs/reference/plugins-codecs-edn_lines.md
2025-03-03 12:37:47 -05:00

1.7 KiB

navigation_title mapped_pages
edn_lines
https://www.elastic.co/guide/en/logstash/current/plugins-codecs-edn_lines.html

Edn_lines codec plugin [plugins-codecs-edn_lines]

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

For other versions, see the Versioned plugin docs.

Getting help [_getting_help_180]

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 [_description_179]

Reads and produces newline-delimited EDN format data.

Edn_lines Codec configuration options [plugins-codecs-edn_lines-options]

Setting Input type Required
target string No

 

target [plugins-codecs-edn_lines-target]

  • Value type is string
  • There is no default value for this setting.
  • The option is only relevant while decoding.

Define the target field for placing the decoded fields. 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 => edn_lines {
          target => "[document]"
        }
      }
    }