Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description


Logstash Dockerfile

This repository contains Dockerfile of Logstash for Docker's automated build published to the public Docker Hub Registry and

Base Docker Image


docker run -d --link elasticsearch:es -p 5042:5042 -v /logstash/config:/data/config:ro predicsis/logstash

Logstash, Elasticsearch and Kibana

docker run -d --name elasticsearch -v <data-dir>:/data /elasticsearch/bin/elasticsearch -Des.config=/data/elasticsearch.yml
docker run -d --name logstash --link elasticsearch:es -p 5042:5042 -v <logstash_config_dir>:/logstash/config:ro
docker run -d --name kibana -p 80:5601 --link elasticsearch:es

Sample logstash.conf:

input {
  # Add your inputs here

filter {
  # Add your filters here

output {
  elasticsearch {
    host => es
    protocol => http


Add redis as a broker:

docker run -d --name redis -p 6379:6379 redis


input {
  redis {
    host => "redis"
    key => "logstash"
    data_type => "list"
    # type => MY_TYPE

And then link redis when you start the logstash container: --link redis:redis or replace redis in the configuration file by the appropriate IP address.

See Elasticsearch or Kibana Docker image for more information.

Docker Pull Command
Source Repository