kibana/x-pack/plugins/searchprofiler
Tyler Smalley b593781009
Jest multi-project configuration (#77894)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-02 11:42:23 -08:00
..
common
public Consolidates Jest configuration files and scripts (#82671) 2020-11-12 16:19:56 -08:00
server
jest.config.js Jest multi-project configuration (#77894) 2020-12-02 11:42:23 -08:00
kibana.json
README.md Conform Search Profiler application organization to other ES UI plugins (#82085) 2020-11-02 12:01:27 -08:00

Search Profiler

About

The search profiler consumes the Profile API by sending a search API with profile: true enabled in the request body. The response contains detailed information on how Elasticsearch executed the search request. People use this information to understand why a search request might be slow.

How to test

Query profile

Execute the default query to generate results in the Query profile tab.

{
  "query":{
    "match_all" : {}
  }
}

Aggregation profile

Execute an aggregation query to generate results in the Aggregation profile tab.

{
  "aggs": {
    "avg_grade": { "avg": { "field": "grade" } }
  }
}