2018-04-20 21:13:37 +02:00
|
|
|
[role="xpack"]
|
|
|
|
[[xpack-profiler]]
|
2019-05-21 15:55:24 +02:00
|
|
|
== Profiling queries and aggregations
|
2018-04-20 21:13:37 +02:00
|
|
|
|
2019-05-21 15:55:24 +02:00
|
|
|
{es} has a powerful {ref}/search-profile.html[Profile API] which can be used to inspect and analyze
|
|
|
|
your search queries. The response returns a large JSON blob, which can be
|
|
|
|
difficult to analyze manually.
|
2018-04-20 21:13:37 +02:00
|
|
|
|
2019-01-08 17:48:36 +01:00
|
|
|
The {searchprofiler} tool can transform this JSON output
|
2018-04-20 21:13:37 +02:00
|
|
|
into a visualization that is easy to navigate, allowing you to diagnose and debug
|
|
|
|
poorly performing queries much faster.
|
|
|
|
|
|
|
|
|
2019-01-08 19:28:02 +01:00
|
|
|
image::dev-tools/searchprofiler/images/overview.png["{searchprofiler} Visualization"]
|
2018-04-20 21:13:37 +02:00
|
|
|
|
|
|
|
include::getting-started.asciidoc[]
|
|
|
|
|
|
|
|
include::more-complicated.asciidoc[]
|
|
|
|
|
|
|
|
include::pasting.asciidoc[]
|