O'Reilly logo

DevOps for Serverless Applications by Shashikant Bangera

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up ELK

We will be setting up ELK locally using Docker. We have used Docker in many chapters, so it should be easy for us to set up ELK using it. We will be using the official Docker image that available on Docker Hub. We will be using Elasticsearch 2.4.1, Logstash 2.4.0, and Kibana 4.6.1 for our setup. Enter the following command:  

$ docker run -p 5601:5601 -p 5000:5000 -it --name elk sebp/elk:es241_l240_k461

The moment you run the preceding command, Docker will connect to Docker Hub, download the image, and then the container for the ELK stack will be created. Once the Docker container is loaded successfully, we should be able to access the Kibana dashboard through the browser using localhost:5601.

Now we need to create a public ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required