Docker images for Logstash are available from the Elastic Docker registry. The base image is centos:7.
A list of all published Docker images and tags can be found at www.docker.elastic.co. The source code can be found on GitHub.
The images are available in two different configurations or "flavors". The
x-pack flavor, which is the default, ships with X-Pack features
oss flavor does not include X-Pack, and contains only
open source Logstash.
X-Pack is pre-installed in the default image. With X-Pack installed, Logstash expects to connect to an Elasticsearch cluster that is also running X-Pack, in order to publish data for the Monitoring component.
Obtaining Logstash for Docker is as simple as issuing a
pull command against the Elastic Docker registry.
Docker images can be retrieved with the following commands:
docker pull docker.elastic.co/logstash/logstash:6.0.1 docker pull docker.elastic.co/logstash/logstash-oss:6.0.1
Intro to Kibana
ELK for Logs & Metrics