Logstash Plugin Architecture

The Logstash pipeline consists of input, filter, and output plugins. Let's have a look at the following diagram to understand how Logstash uses the plugins:

Logstash Plugin Architecture

In the preceding architecture, we can see that there can be multiple data sources from which data is collected, which constitutes as Logstash Input Plugin. After getting input, we can use the Filter Plugin to transform the data and we can store output or write data to a destination using the Output Plugin.

Logstash uses a configuration file to specify the plugins for getting input, filtering data, and storing output. The Input Plugin and Output Plugin are mandatory ...

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.