Skip to content

sychopath/Docker-elk-using-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Docker-elk-using-docker

ELK on docker

Pre-requisite installations :

  1. Docker
  2. Java

Steps to setup ELK stack using docker containers

  1. Clone the git repository :
git clone https://github.com/deviantony/docker-elk.git
  1. To run the stack, get inside the directory and run docker-compose
cd /docker-elk
docker-compose up -d
  1. Verify the installation.
sudo docker ps
  1. Access Kibana by entering: http://localhost:5601 in your browser.

  2. Post data to elasticsearch using Postman or curl

curl -XPUT \
-u elastic:changeme http://localhost:9200/movies/_doc/1 \
-d '{"director": "Burton, Tim", \
  "genre": ["Comedy","Sci- Fi"], "year": 1996, \
  "actor": ["Jack Nicholson","Pierce Brosnan","Sarah Jessica Parker"],\
  "title": "Mars Attacks!"}'\
-H 'Content-Type: application/json'

About

ELK on docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published