Back to Cheat Sheets

Elastic Stack (ELK) Commands

Commands for Elasticsearch, Logstash, and Kibana.

Action Command Details
Start Elasticsearch sudo systemctl start elasticsearch Start Elasticsearch service.
Check Elasticsearch health curl -X GET 'localhost:9200/_cluster/health?pretty' Check cluster health.
Start Logstash sudo systemctl start logstash Start Logstash service.
Test Logstash config logstash -t -f logstash.conf Test Logstash configuration.
Start Kibana sudo systemctl start kibana Start Kibana service.
Access Kibana UI http://localhost:5601 Open Kibana in browser.
List indices curl -X GET 'localhost:9200/_cat/indices?v' List Elasticsearch indices.
Delete index curl -X DELETE 'localhost:9200/index_name' Delete an Elasticsearch index.
LoopPlunk
Support Us