Sign inSign up

naei/elasticstack

By naei

Updated about 10 years ago

Dockerized Elastic Stack: Elasticsearch, Logstash & Kibana

Image
3

423

naei/elasticstack repository overview

docker-elasticstack

The Elastic Stack: Elasticsearch, Logstash & Kibana

Build
docker build -t naei/elasticstack .
... or directly pull the image from the Docker Hub Registry:
docker pull naei/elasticstack
Run
...in shell
docker run -it \
  -p 9200:9200 \
  -p 9300:9300 \
  -p 5601:5601 \
  naei/elasticstack
...in detached mode
docker run -dit \
  -p 9200:9200 \
  -p 9300:9300 \
  -p 5601:5601 \
  naei/elasticstack
...then watch / parse / save logs with Logstash
docker run -dit \
-p 9200:9200 \
-p 9300:9300 \
-p 5601:5601 \
-v /var/log:/var/log \
-v ~/conf/logstash:/etc/logstash \
naei/elasticstack

Notes:

  • On this repository, the files in the conf/logstash directory are examples, and not necessarily needed.
  • Logstash conf files and volumes must be added / edited depending on the needs and the folders structure of each environment.
Troubleshooting
On which IP the server is running?
docker inspect --format '{{ .NetworkSettings.IPAddress }}' container_name_or_id 

Tag summary

Content type

Image

Digest

Size

368.5 MB

Last updated

about 10 years ago

docker pull naei/elasticstack