Example to set up entire ELK (Elastic Search, Logstash and Kibana) stack with kubernetes and minikube
-
Docker
-
VirtualBox
-
Minikube or any existing kubernetes cluster(aws, gce etc.) up and running
-
Execute
elk_up.sh
script from shellThis will deploy and start following services:
- Elastic Search
- Logstash
- Kibana
-
Run
minikube dashboard
and view logs from all the components -
Run
minikube service kibana
, this will open kibana dashboard in browser- Default
username:password = elastic:changeme
- Default
-
Logstash is listening for log messages on port 5000 and expecting logs in JSON format
-
Execute
elk_down.sh
script from shell, which will remove all the deployments, services and configMaps -
Run
minikube stop
to stop minikube cluster