How Logstash Works

Reference: elastic docsarrow-up-right

Before getting started

  • Logstash's event processing pipeline consists of 3 stages

    • inputs -> filters -> outputs

      • Inputs generate events,

      • Filters modify them, and

      • Outputs transmit them

  • Inputs and outputs support codecs that enable encryption or decryption of data being collected or residing in the pipeline without a filter

Inputs

You can load data into Logstash using Inputs. Frequently used inputs include the following:

  • file

    • Reads files from the filesystem

    • Similar to the UNIX command tail -0F

  • syslog

    • Listens on port 514 for syslog messages

    • Parses messages following RFC3164

  • redis

    • Reads from the server using Redis channels and lists

  • beats

More to be added..

Last updated