Generating graph with Kibana
X-Pack for Elasticsearch and Kibana 5.x or above provides a graph API to discover relations in your data. The Elasticsearch graph is built in real-time, extracting relations from the indexed data.
Getting ready
You need an up-and-running Elasticsearch installation as we described in the Downloading and installing Elasticsearch recipe in Chapter 2, Downloading and Setup.
You also need a functional Kibana installation as described in the Installing Kibana and X-Pack recipe.
How to do it...
To create a custom graph view, we will perform the following steps:
We access the Graph section of Kibana as shown in the following screenshot:
A graph works on an index pattern, so we need to select the one that is available to start creating our graph as shown in the following screenshot:
In an Elasticsearch graph, values in a field are our vertices: we need to select the field that contains our vertices. The field list is extracted from the index pattern as shown in the following...