kibana/x-pack/plugins/searchprofiler
2021-01-25 14:14:30 -05:00
..
common
public [7.x] [dev] Replace sass-lint with stylelint (#86177) (#88498) 2021-01-15 14:36:34 -06:00
server [Search Profiler] Migrate server to new es-js client (#88725) (#89175) 2021-01-25 14:14:30 -05:00
jest.config.js Jest multi-project configuration (#77894) (#84826) 2020-12-02 14:02:21 -08:00
kibana.json [DX] move some ES UI plugins to TS project (#88050) (#88276) 2021-01-14 08:43:10 +01:00
README.md Conform Search Profiler application organization to other ES UI plugins (#82085) (#82365) 2020-11-02 14:01:28 -08:00
tsconfig.json [DX] move some ES UI plugins to TS project (#88050) (#88276) 2021-01-14 08:43:10 +01: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" } }
  }
}