Public | Automated Build

Last pushed: 8 days ago
Short Description
Alpine Linux based Logstash Docker Image
Full Description

docker-logstash-alpine

Alpine Linux based Logstash Docker Image

Dependencies

Image Tags

REPOSITORY          TAG                 SIZE
blacktop/logstash   latest              291MB
blacktop/logstash   6.0                 291MB
blacktop/logstash   5.6                 279MB
blacktop/logstash   5.5                 263MB
blacktop/logstash   x-pack              292MB
blacktop/logstash   5.4                 263MB
blacktop/logstash   5.3                 289MB
blacktop/logstash   5.2                 289MB
blacktop/logstash   5.1                 289MB
blacktop/logstash   5.0                 312.2MB
blacktop/logstash   2.4                 257.2MB
blacktop/logstash   2.3                 255.8MB
blacktop/logstash   1.5                 253.5MB

Getting Started

Start Logstash with configuration file

$ docker run -d -v "$PWD":/config-dir blacktop/logstash logstash -f /config-dir/logstash.conf

Start Logstash with commandline configuration. Download metricbeat

$ docker run -d --name elastic -p 9200:9200 blacktop/elasticsearch
$ docker run -d --name kibana --link elastic:elasticsearch -p 5601:5601 blacktop/kibana
$ docker run -d --name logstash -p 5044:5044 --link elastic:elasticsearch blacktop/logstash \
  logstash -e 'input {
                  beats {
                    port => 5044
                  }
               }

               output {
                 elasticsearch {
                   hosts => "elasticsearch:9200"
                   manage_template => false
                   index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
                   document_type => "%{[@metadata][type]}"
                 }
               }'
$ ./scripts/import_dashboards               
$ ./metricbeat -e -c metricbeat.yml

Navigate to http://localhost:5601

Click on metricbeat-* and :star: Set as default index

Click on Dashboard -> Open -> Metricbeat-cpu

Documentation

Issues

Find a bug? Want more features? Find something missing in the documentation? Let me know! Please don't hesitate to file an issue

Credits

Heavily (if not entirely) influenced by https://github.com/docker-library/logstash

CHANGELOG

See CHANGELOG.md

Contributing

See all contributors on GitHub.

Please update the CHANGELOG.md and submit a Pull Request on GitHub.

License

MIT Copyright (c) 2016-2017 blacktop

Docker Pull Command
Owner
blacktop
Source Repository