Skip to content

Dockerfile for a simple Logstash image to ship json logs from Kafka to ElasticSearch

License

Notifications You must be signed in to change notification settings

Vungle/docker-logstash-kafka-es

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-logstash-kafka-es

Lean (311MB) Logstash Docker image for shipping json logs from Kafka to ElasticSearch, based on pires/docker-logstash.

Current software

  • Oracle JRE 8 Update 74
  • Logstash 2.2.0

Run

Assuming:

  • /logstash/config - where logstash will look for logstash.conf file
  • /logstash/certs - where logstash will look for certificate files

Run:

docker run --name logstash \
  --detach \
  -e KAFKA_LIST=1.2.3.4,5.6.7.8 \
  -e KAFKA_TOPIC=as-requestAd \
  -e ES_URL=http://19.18.17.16/ \
  -e ES_INDEX=as-requestad \
  vungle/docker-logstash-kafka-es:2.2.0

About

Dockerfile for a simple Logstash image to ship json logs from Kafka to ElasticSearch

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 51.2%
  • Dockerfile 48.8%