Skip to content

ElasticSearch Setup

INSTALL

  1. Install curl
  2. Install Java
  3. Download ElasticSearch
  4. Optionally change the cluster.name in the elasticsearch.yml configuration
cd elasticsearch-<version>
./bin/elasticsearch -d
# Or on Windows.
# Bin\elasticsearch.bat.
curl 'https://localhost:9200/?pretty'
  1. Install Kibana

  2. Open config/kibana.yml in an editor

  3. Set the elasticsearch.url to point at your Elasticsearch instance
  4. Run ./bin/kibana (orbin\kibana.bat on Windows)
  5. Point your browser at https://localhost:5601

  6. Install Sense

./bin/kibana plugin --install elastic/sense

On Windows:

bin\kibana.bat plugin --install elastic/sense

Then go to

https://localhost:5601/app/sense

CLUSTER MANAGEMENT

GET /_cluster/health

ELK Stack

The Complete Guide to the ELK Stack - Logz.io