Docker image of pre-configured logstash with Kibana and Elastic Search
554
Debian(jessie) image with pre-configured Logstash/Elasticsearch/Kibana with nginx reverse proxy. You can also find the image on docker repository from this url
This image is highly configurable and user can mount multiple directories from host to store working data and lots of other configurations.
- certificates (/opt/elk/certs)
- logstash reciever configuration (/opt/elk/conf/logstash)
- logs (/opt/elk/logs)
- elasticsearch data (/opt/elk/data)
- elasticsearch work (/opt/elk/work)
- nginx configuration (/etc/nginx/sites-enabled)
- users for basic auth (/opt/elk/conf/users)
$ openssl req -x509 -batch -nodes -newkey rsa:2048 -keyout lumberjack.key -out lumberjack.crt
Locate the Dockerfile and build the image using below command
$ docker build -t debian/logstash .
Sample command for running the image as follows
docker run -p 5043:5043 -p 442:442 -v <your_path>:/opt/elk/certs -v <your_path>:/opt/elk/conf/logstash -v <your_path>:/opt/elk/logs -v <your_path>:/opt/elk/data -v <your_path>:/opt/elk/work -v <your_path>:/etc/nginx/sites-enabled -v <your_path>:/opt/elk/conf/users -i -t debian/logstash
Substitute appropriate host folders [your_path] in above command.
Once you run the command, port 5043 will be exposed as the reciever port and you can configure logstash-forwarder(s) from any host to ship logs to host machine.
If everything goes well, you will be able to access kibana using https://your_ip:442
Content type
Image
Digest
sha256:f6b881d4a…
Size
543.6 MB
Last updated
about 11 years ago
docker pull brandixi3/elk-stack