Skip to content

spanner/docker-logstash-alpine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logstash-logo

docker-logstash-alpine

CircleCI License Docker Stars Docker Pulls Docker Image

Alpine Linux based Logstash Docker Image

Dependencies

Image Tags

REPOSITORY          TAG                 SIZE
blacktop/logstash   latest              338MB
blacktop/logstash   6.3                 338MB
blacktop/logstash   6.2                 337MB
blacktop/logstash   6.1                 300MB
blacktop/logstash   6.0                 285MB
blacktop/logstash   5.6                 278MB
blacktop/logstash   5.5                 263MB
blacktop/logstash   x-pack              337MB
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 ⭐ Set as default index

index

Click on Dashboard -> Open -> Metricbeat-cpu

kibana

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-2018 blacktop

About

Alpine Linux based Logstash Docker Image

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 73.4%
  • Makefile 26.6%