Book Image

Mastering Kibana 6.x

Book Image

Mastering Kibana 6.x

Overview of this book

Kibana is one of the popular tools among data enthusiasts for slicing and dicing large datasets and uncovering Business Intelligence (BI) with the help of its rich and powerful visualizations. To begin with, Mastering Kibana 6.x quickly introduces you to the features of Kibana 6.x, before teaching you how to create smart dashboards in no time. You will explore metric analytics and graph exploration, followed by understanding how to quickly customize Kibana dashboards. In addition to this, you will learn advanced analytics such as maps, hits, and list analytics. All this will help you enhance your skills in running and comparing multiple queries and filters, influencing your data visualization skills at scale. With Kibana’s Timelion feature, you can analyze time series data with histograms and stats analytics. By the end of this book, you will have created a speedy machine learning job using X-Pack capabilities.
Table of Contents (21 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Index

Profiling queries


Elasticsearch has a profiler API through which we can inspect and analyze the search queries, but it has a very large JSON output, which is quite difficult to analyze manually. Kibana Dev Tools with X-Pack provides a simple way to inspect and analyze the Elasticsearch profiler result. Dev Tools transforms the Elasticsearch JSON output into query profile's visualization, through which we can easily inspect what is happening and analyze it, and in this way, we can diagnose poorly performing queries and fix them thereafter.

For profiling the Elasticsearch query, we need to click on the Search Profiler link after the console link. This will open the following screen:

By default, the _all index is autopopulated under the Index field, which we can change to any specific Elasticsearch index. Now click on theProfile button, which will open the following screen:

On this screen, we can see the right pane with two tabs, Query Profile and Aggregation Profile.

Query profile

It is showing...