Add Query activity documentation for 9.4#5739
Conversation
Vale Linting ResultsSummary: 1 suggestion found 💡 Suggestions (1)
The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
consulthys
left a comment
There was a problem hiding this comment.
Great start! A few comments below
| : The unique identifier for the {{es}} task. Select the task ID to open the [query details flyout](#inspect-query-details). | ||
|
|
||
| **Query type** | ||
| : The query language used: ES|QL, DSL, EQL, SQL, MSearch, Async search, or Other. |
There was a problem hiding this comment.
Only ES|QL, DSL, EQL, SQL
There was a problem hiding this comment.
lmk when this is confirmed, i'll adjust
Adds documentation for the new Query activity page in Kibana (Stack Management → Cluster performance → Query activity), which provides real-time visibility into running queries and the ability to cancel them. - New page: deploy-manage/monitor/query-activity.md - TOC entry under deploy-manage/monitor - Cross-link from the query tracing troubleshooting page - Temporary screenshots (to be replaced before GA) Closes #5451 Made-with: Cursor
- Fix setting name: query_activity:minRunningTime (not running_queries:) - Add serverless: unavailable to page-level applies_to Made-with: Cursor
- Fix Source column/flyout: text only, not a link - Fix query type filter: dynamic options based on current data - Fix Source description: extracted from X-Opaque-Id set by Kibana - Fix Vale ellipsis warning - Add cross-links between Query activity and background search pages Made-with: Cursor
- Opening now explains the problem Query activity solves - Note that this is real-time only, with links to slow logs and AutoOps - Clarify relationship between Trace ID, Source, and Opaque ID Made-with: Cursor
- Trace ID: describe actual behavior (Discover link with 10min range) - Opaque ID: remove editorial framing, keep factual relationship to Source Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
493ec53 to
809a01a
Compare
Made-with: Cursor
- Remove pain-point opening sentence (rayafratkina) - Link "required privileges" to prerequisites section (wajihaparvez) - Move flyout intro sentence after screenshot (wajihaparvez) - "including" → "such as" in troubleshoot tip (wajihaparvez) Made-with: Cursor
|
can you introduce this in the parent monitoring page too? |
Made-with: Cursor
|
|
||
| To learn more about the health and performance tools in {{ecloud}}, refer to [](/deploy-manage/monitor/cloud-health-perf.md). | ||
|
|
||
| ## Query activity |
There was a problem hiding this comment.
fyi @consulthys in your PR, we should reframe this so we can see that there is one util for current query activity and one for historic activity (under one heading). let me know if you need a hand there
There was a problem hiding this comment.
@shainaraskas since this feature has been shipped today to Serverless but query logs will not be available to Serverless, we still have time to update that part before Stack 9.4 gets released, but we need to merge this PR so the docs are available for Serverless.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
consulthys
left a comment
There was a problem hiding this comment.
LGTM thanks for the quick turn around and great work!!
ES|QL, DSL, EQL, and SQL are query languages; MSearch and Async search are request types. Remove "Other" which is unreachable in practice due to the isIncludedTask filter logic in the Kibana plugin. Addresses consulthys review feedback. Made-with: Cursor
Summary
Adds documentation for the new Query activity page in Kibana, a new feature shipping in 9.4 that provides real-time visibility and control over queries currently running in an Elasticsearch cluster.
deploy-manage/monitor/query-activity.md— covers prerequisites, accessing the page, viewing and filtering running queries, inspecting query details in the flyout, canceling queries, and configuring the minimum running time thresholddeploy-manage/monitoralongside cluster health and task manager monitoringRelated
elasticsearch, advanced settings inkibana) will be linked once createdTest plan
deploy-manage/monitor/query-activityand verify renderingMade with Cursor