Public Repository

Last pushed: 2 years ago
Short Description
Simple docker container for using logstash.
Full Description

This is intended as a base image for using with logstash. If using fig or docker swarm, the file can look something like this:

logstash:
 image: javexed/logstash
  command: /opt/logstash/bin/logstash -f /config/someapp.conf
  volumes:
   - ./data/sample_logs/someapp:/data
   - ./data/config/logstash/:/config
  links:
   - elasticsearch

In this case, there are some sample logs located at ./data/sample_logs/someapp/xxxx.log, and you still need to ensure that your logstash config file, in this case at ./data/config/logstash/someapp.conf, knows how to parse those logs. Having multiple sources becomes trivial and you just need to specify additional sources

Docker Pull Command
Owner
javexed