Codec plugins are used to encode or decode incoming or outgoing events from Logstash. Codecs can be used in input and output as well. Input codecs render a convenient way to decode your data before it even enters the input. Output codecs provide a convenient way to encode your data before it leaves the output. The list of available codec plugins out of the box is as follows:
logstash-codec-cef |
logstash-codec-es_bulk |
logstash-codec-json |
logstash-codec-multiline |
logstash-codec-collectd |
logstash-codec-edn_lines |
logstash-codec-json_lines |
logstash-codec-netflow |
logstash-codec-dots |
logstash-codec-fluent |
logstash-codec-line |
logstash-codec-plain |
logstash-codec-edn |
logstash-codec-graphite |
logstash-codec-msgpack |
logstash-codec-rubydebug |
Details of each of the preceding plugins and a list of the other available plugins that are not part of the default distribution can be found at https://www.elastic.co/guide/en/logstash/7.0/codec-plugins.html.