Setup - HimanshuLakra/LearnElasticSearch GitHub Wiki
1) Elasticsearch
Download elasticsearch: https://www.elastic.co/downloads/elasticsearch
2) Kibana(For Visualisation, Data Exploration)
Download kibana: https://www.elastic.co/downloads/kibana
Note: We are working with v6.3.2 for Elasticsearch and Kibana.
First of all, let's start an Elasticsearch instance.
Open terminal first with "/elasticsearch-6.3.2/bin" as path.
And run command ./elasticsearch
Elasticsearch runs on 9200 port by default. So you can open localhost:9200 in your browser and see details of ES instance like cluster, node name, version of ES, tagline.
{
"name" : "5G0JT8O",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "mQLOcnadTke6Ra5MMyYiWQ",
"version" : {
"number" : "6.3.2",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "053779d",
"build_date" : "2018-07-20T05:20:23.451332Z",
"build_snapshot" : false,
"lucene_version" : "7.3.1",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
Now we have to connect kibana with Elasticsearch instance
So open config/kibana.yml and change
elasticsearch.url: "http://localhost:9200"
Open http://localhost:5601 in your browser for Kibana dashboard.