kibana/x-pack/plugins/searchprofiler
Jonathan Budzenski f51e6cd248 Revert "Upgrade to Node.js 20 (#162696)"
This reverts commit 029b3ba81d.
2023-11-21 07:15:23 -06:00
..
common fix all violations 2022-04-16 01:37:30 -05:00
public Revert "Upgrade to Node.js 20 (#162696)" 2023-11-21 07:15:23 -06:00
server async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
jest.config.js [jest] update config files to get coverage per plugin (#111299) 2021-09-09 08:14:56 +02:00
kibana.jsonc [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
README.md
tsconfig.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06: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" } }
  }
}