Exploring Codec Plugins

Codec plugins are used to encode/decode the data. The input data can come in various formats, hence, to read and store the data of different formats, we use codec. Some of the codec plugins are as follows.

rubydebug

The rubydebug codec is a fairly simple plugin that outputs the data to the standard output of the shell, which prints the data using the Ruby Awesome Print library.

The basic configuration for rubydebug is as follows:

rubydebug { 
} 

In this plugin, no settings are mandatory. The additional configuration settings are as follows:

  • metadata: This is used to specify whether or not to include the metadata while printing the output to the shell.

The value type and default values for the settings are as follows:

Setting

Get Mastering Elastic Stack now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.