Running Logstash in a Docker container

Logstash receives data from multiple sources, performs data processing, and then sends the log information to the stash, which can mean a store. There are two types of configurations with which to configure Logstash for Docker: pipeline configuration and the settings configuration. We will use pipeline configuration for our demonstration. When the Logstash Docker container runs with pipeline configuration, it will check the path for the logstash.conf file. In our case, the file path is docker_run/pipeline/logstash.conf, as specified in the docker_run_logstash script file. The structure of a Logstash configuration file basically includes three parts: input, filter, and output. You specify the source of ...

Get Advanced Elasticsearch 7.0 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.