Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Kibana 6.x

You're reading from   Mastering Kibana 6.x Visualize your Elastic Stack data with histograms, maps, charts, and graphs

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781788831031
Length 376 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Anurag Srivastava Anurag Srivastava
Author Profile Icon Anurag Srivastava
Anurag Srivastava
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Revising the ELK Stack FREE CHAPTER 2. Setting Up and Customizing the Kibana Dashboard 3. Exploring Your Data 4. Visualizing the Data 5. Dashboarding to Showcase Key Performance Indicators 6. Handling Time Series Data with Timelion 7. Interact with Your Data Using Dev Tools 8. Tweaking Your Configuration with Kibana Management 9. Understanding X-Pack Features 10. Machine Learning with Kibana 11. Create Super Cool Dashboard from a Web Application 12. Different Use Cases of Kibana 13. Creating Monitoring Dashboards Using Beats 14. Best Practices 15. Other Books You May Enjoy

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime