diff --git a/explore-analyze/_snippets/inspect-request.md b/explore-analyze/_snippets/inspect-request.md new file mode 100644 index 0000000000..fb2b15573f --- /dev/null +++ b/explore-analyze/_snippets/inspect-request.md @@ -0,0 +1,19 @@ +The request **Inspector** is available in **Discover** and for all **Dashboards** visualization panels that are built based on a query. The available information can differ based on the request. + +1. Open the **Inspector**: + - If you're in **Discover**, select **Inspect** from the application's toolbar. + - If you're in **Dashboards**, open the panel menu and select **Inspect**. +1. Open the **View** dropdown, then select **Requests**. +1. Several tabs with different information can appear, depending on nature of the request: + :::{tip} + Some visualizations rely on several requests. From the dropdown, select the request you want to inspect. + ::: + * **Statistics**: Provides general information and statistics about the request. For example, you can check if the number of hits and query time match your expectations. If not, this may indicate an issue with the request used to build the visualization. + * **Clusters and shards**: Lists the {{es}} clusters and shards per cluster queried to fetch the data and shows the status of the request on each of them. With the information in this tab, you can check if the request is properly executed, especially in case of cross-cluster search. + + :::{note} + This tab is not available for {{esql}} queries and Vega visualizations. + ::: + + * **Request**: Provides a full view of the visualization's request, which you can copy or **Open in Console** to refine, if needed. + * **Response**: Provides a full view of the response returned by the request. \ No newline at end of file diff --git a/explore-analyze/dashboards/using.md b/explore-analyze/dashboards/using.md index f7c9d0d3eb..68ed39e28d 100644 --- a/explore-analyze/dashboards/using.md +++ b/explore-analyze/dashboards/using.md @@ -180,21 +180,8 @@ This action is possible for all charts created using **Lens** or {{esql}}. It is #### View the requests that collect the data -This action is possible for all visualization panels that are built based on a query, but the available information can differ based on the panel type. - -1. Open the panel menu and select **Inspect**. -1. Open the **View** dropdown, then select **Requests**. -1. Some visualizations rely on several requests. From the dropdown, select the request you want to inspect. Several tabs with different information can appear, depending on the panel type: - * **Statistics**: Provides general information and statistics about the request. For example, you can check if the number of hits and query time match your expectations. If not, this may indicate an issue with the request used to build the visualization. - * **Clusters and shards**: Lists the {{es}} clusters and shards per cluster queried to fetch the data and shows the status of the request on each of them. With the information in this tab, you can check if the request is properly executed, especially in case of cross-cluster search. - - :::{note} - This tab is not available for {{esql}} and Vega visualizations. - ::: - - * **Request**: Provides a full view of the visualization's request, which you can copy or **Open in Console** to refine, if needed. - * **Response**: Provides a full view of the response returned by the request. - +:::{include} ../_snippets/inspect-request.md +::: #### View the time range on specific panels diff --git a/explore-analyze/discover/discover-get-started.md b/explore-analyze/discover/discover-get-started.md index 9d051d0950..461114f1b1 100644 --- a/explore-analyze/discover/discover-get-started.md +++ b/explore-analyze/discover/discover-get-started.md @@ -43,6 +43,15 @@ Your query may include multiple data types that each have tailored experiences; In this case **Discover** provides the default experience until it detects that you're interacting with a single type of data. For example, when you [](#look-inside-a-document). +### View active context-aware experience + +You can check which experience is currently active for your current Discover session. This can help you confirm whether the type of data you're currently exploring is properly detected or if Discover is currently using its default experience. + +1. Select **Inspect** from Discover's toolbar. +1. Open the **View** dropdown, then select **Profiles**. + +The various profiles listed show details such as the active solution and data source contexts, which determine Discover's context-aware experiences. + ## Load data into Discover [find-the-data-you-want-to-use] Select the data you want to explore, and then specify the time range in which to view that data. @@ -294,6 +303,11 @@ Note that in ES|QL mode, the **Documents** tab is named **Results**. Learn more about how to use ES|QL queries in [Using ES|QL](try-esql.md). +### Inspect your Discover queries + +:::{include} ../_snippets/inspect-request.md +::: + ### Save your Discover session for later use [save-discover-search]