Writing to Elasticsearch and visualizing data with Kibana

The To Elasticsearch exercise involves modifying the Popular Places program so that it writes its results to an Elasticsearch index. Elasticsearch is a popular distributed search engine available under Apache License. The following instructions show how to set up a local Elasticsearch instance.

Setup Elasticsearch

  • Download Elasticsearch 2.4.3 here

  • Extract the archive file:

tar xvfz elasticsearch-2.4.3.tar.gz
  • Enter the extracted directory and start Elasticsearch:
cd elasticsearch-2.4.3
./bin/elasticsearch &