Exploring Output Plugins

The output plugin is used to send data to a destination. It acts as the final section required in the Logstash configuration file. Some of the most used output plugins are as follows.


This is a fairly simple plugin, which outputs the data to the standard output of the shell. It is useful for debugging the configurations used for the plugins. This is mostly used to validate whether Logstash is parsing the input and applying filters (if any) properly to provide output as required.

The basic configuration for stdout is as follows:

stdout { 

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

  • codec: This is used to encode the data before sending it as an output. You can use ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.