Elasticsearch Graph capabilities

Step 1 — Downloading and Installing Elasticsearch :

a) Download the elasticsearch using the following command  :

wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.3.2/elasticsearch-2.3.2.tar.gz

b) After downloading untar it ,using this command :

tar -xzf elasticsearch-2.3.2.tar.gz

c) go to elasticsearch directory

cd elasticsearch-2.3.2

Step 2 – Install Graph into Elasticsearch :

a) For Graph license :

bin/plugin install license

b) For installing Graph plugin :

bin/plugin install graph

Step 3: Install Graph into Kibana :

bin/kibana plugin --install elasticsearch/graph/latest

Step 4 : Run Elasticsearch :


Step 5 : Run kibana :


Step 6 : Ingest data into Elasticsearch :
Download csv from the following link and ingest into elasticsearch either using curl or you can follow my last blog to insert spreadsheet data into elasticsearch directly.


Step 7 : Go to Graph UI :

After ingesting go to


You would see this screen


Step 8 : Select you index and fields :

In this step , select you index from drop down box and also select  Item ,Region, Rep from field column .

Step 9 : Type your data in search box to get relational graph :

Suppose we type central pencil in search box.

You would see like this :



click on the link between central and pencil then you would in right hand side a link summary.

Link summary explains that :

a) 104 documents having pencil.

b) 192 documents having central.

c) 72 documents having both pencil and central.