diff --git a/_observing-your-data/query-insights/query-insights-dashboard.md b/_observing-your-data/query-insights/query-insights-dashboard.md index 6d41db87934..750a916c764 100644 --- a/_observing-your-data/query-insights/query-insights-dashboard.md +++ b/_observing-your-data/query-insights/query-insights-dashboard.md @@ -43,7 +43,7 @@ Each label corresponds to the following components: ### A. Navigation tabs -The navigation tabs allow you to switch between the **Configuration** and **Top N queries** pages. +The navigation tabs allow you to switch between the **Live Queries**, **Top N Queries**, and **Configuration** pages. ### B. Search queries bar @@ -195,13 +195,17 @@ The following image shows the live queries view. The top panel in the live queries view displays the following key real-time metrics. -| Panel | Description | -| :--- | :--- | -| **Active queries** | The total number of currently executing queries. | -| **Avg. elapsed time** | The average execution time of live queries. | -| **Longest running query**| The duration and ID of the longest currently executing query. | -| **Total CPU time** | The cumulative CPU time used by all active queries. | -| **Total memory usage** | The total memory consumed by live queries. | +| Panel | Description | +| :--- |:----------------------------------------------------------------------------| +| **Active queries** | The total number of queries currently running in the cluster. | +| **Avg. elapsed time** | The average execution time across all active queries. | +| **Longest running query** | The query ID and elapsed time of the longest currently running query. | +| **Total CPU time** | The cumulative CPU time consumed by all active queries. | +| **Total memory usage** | The total memory consumed by all active queries. | +| **Total completions** | The number of queries that have successfully completed. | +| **Total cancellations** | The number of queries canceled. | +| **Total rejections** | The number of queries rejected. | + ### Breakdown charts @@ -221,19 +225,20 @@ Only the top 9 items are displayed individually in the chart; additional values The live queries table lists the following information for each live query. -| Column | Description | -| :--- | :--- | -| **Timestamp** | The time at which the query started running. | -| **Task ID** | The unique identifier for the search task. | -| **Index** | The index or indexes the query is targeting. | -| **Node** | The node currently running the query. | -| **Time elapsed** | The execution time for the query so far (formatted). | -| **CPU usage** | The cumulative CPU time used by the query. | -| **Memory usage** | The amount of memory consumed by the query so far. | -| **Search type** | The search execution method, such as `query_then_fetch`. | -| **Coordinator node** | The node that coordinated the query. | -| **Status** | The status of the query task. Can be either `running` or `cancelled`. | -| **Actions** | The available controls, such as canceling the query. | +| Column | Description | +| :--- |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **Timestamp** | The time at which the query started running. | +| **Task ID** | The unique identifier for the query task. | +| **Index** | The index or indexes targeted by the query. | +| **Node** | The node currently running the query. | +| **Time elapsed** | The current execution time for the query, in seconds. | +| **CPU usage** | The cumulative CPU time consumed by the query. | +| **Memory usage** | The amount of memory consumed by the query during execution. | +| **Search type** | The search execution method, such as `query_then_fetch`. | +| **Coordinator node** | The node that coordinated the query execution. | +| **WLM Group** | The workload group associated with the query. Displayed as plain text if workload management (WLM) is disabled or as a clickable link to the **WLM Group Details** page associated with that query when WLM is enabled. | +| **Status** | The current status of the query. Values are `running` or `cancelled`. | +| **Actions** | The available actions for the query, such as canceling execution. | You can use the filter bar to search for queries by text or specific field values---such as node ID, index name, or task ID---and paginate the table to better analyze specific queries. The following image shows the live queries table view. @@ -244,6 +249,16 @@ The live queries table provides the following real-time monitoring controls: - **Refresh interval** – Choose the refresh frequency. This option is available only when **Auto-refresh** is enabled. - **Manual refresh** – Select the **Refresh** button to update immediately. +### Workload group selector + +The **workload group selector** lets you filter and analyze active queries by workload group: + +- By default, the selector is set to **All Workload Groups**, showing queries across the cluster. +- When **WLM is disabled**, only the `DEFAULT_WORKLOAD_GROUP` option is available. +- When **WLM is enabled**, the dropdown lists all available workload groups. +- Selecting a specific group filters the dashboard to show only queries running under that workload group. +- The [metrics](#metrics-overview) panels and charts update to display only the selected workload group. + ### Canceling live queries The live queries table provides direct controls for canceling queries that are currently running in the cluster. This allows you to immediately stop problematic or resource-intensive searches without waiting for them to finish. You can cancel live queries in the following ways: diff --git a/images/Query-Insights/BothColDisplay.png b/images/Query-Insights/BothColDisplay.png index 5cb87d41ad2..93cdeb7cc73 100644 Binary files a/images/Query-Insights/BothColDisplay.png and b/images/Query-Insights/BothColDisplay.png differ diff --git a/images/Query-Insights/Configuration.png b/images/Query-Insights/Configuration.png index 5091cbe7b53..a8de1f74592 100644 Binary files a/images/Query-Insights/Configuration.png and b/images/Query-Insights/Configuration.png differ diff --git a/images/Query-Insights/Live_Queries.png b/images/Query-Insights/Live_Queries.png index df49e05b864..7ff583930d6 100644 Binary files a/images/Query-Insights/Live_Queries.png and b/images/Query-Insights/Live_Queries.png differ diff --git a/images/Query-Insights/Live_Queries_Table.png b/images/Query-Insights/Live_Queries_Table.png index 0e2c1d1fb30..0d2c6b626b2 100644 Binary files a/images/Query-Insights/Live_Queries_Table.png and b/images/Query-Insights/Live_Queries_Table.png differ diff --git a/images/Query-Insights/Live_queries_visuailization.png b/images/Query-Insights/Live_queries_visuailization.png index 72788146cea..a52e6cedc83 100644 Binary files a/images/Query-Insights/Live_queries_visuailization.png and b/images/Query-Insights/Live_queries_visuailization.png differ diff --git a/images/Query-Insights/OnlyGroupColDisplay.png b/images/Query-Insights/OnlyGroupColDisplay.png index 1fd020fb5a5..39ad2dc6ab6 100644 Binary files a/images/Query-Insights/OnlyGroupColDisplay.png and b/images/Query-Insights/OnlyGroupColDisplay.png differ diff --git a/images/Query-Insights/OnlyQueryColDisplay.png b/images/Query-Insights/OnlyQueryColDisplay.png index 12804f2fd13..b2e1ad9773f 100644 Binary files a/images/Query-Insights/OnlyQueryColDisplay.png and b/images/Query-Insights/OnlyQueryColDisplay.png differ diff --git a/images/Query-Insights/QueryInsights.png b/images/Query-Insights/QueryInsights.png index 06c26cb256a..1b9d57c5cd2 100644 Binary files a/images/Query-Insights/QueryInsights.png and b/images/Query-Insights/QueryInsights.png differ