From dba58e29c3fc4c457f88208171bdadce594fd28f Mon Sep 17 00:00:00 2001 From: wajihaparvez Date: Mon, 24 Mar 2025 17:34:49 -0400 Subject: [PATCH 1/4] Add instructions for creating ES|QL viz without data views --- explore-analyze/visualize/esorql.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/explore-analyze/visualize/esorql.md b/explore-analyze/visualize/esorql.md index d5f0c01e64..382b2d9917 100644 --- a/explore-analyze/visualize/esorql.md +++ b/explore-analyze/visualize/esorql.md @@ -18,7 +18,7 @@ In Discover, [typing ES|QL queries](../query-filter/languages/esql-kibana.md) au You can then **Save** and add it to an existing or a new dashboard using the save button of the visualization ![save button](/explore-analyze/images/kibana-esql-icon-save-visualization.svg ""). -## Create from dashboard [_create_from_dashboard] +## Create from dashboard [_create_from_dashboard] 1. From your dashboard, select **Add panel**. 2. Choose **ES|QL** under **Visualizations**. An ES|QL editor appears and lets you configure your query and its associated visualization. The **Suggestions** panel can help you find alternative ways to configure the visualization. @@ -34,6 +34,9 @@ You can then **Save** and add it to an existing or a new dashboard using the sav 4. You can bind controls to your ES|QL visualizations in dashboards by creating [ES|QL controls](../dashboards/add-controls.md#add-esql-control). 5. Select **Apply and close** to save the visualization to the dashboard. +::::{tip} +You can create an ES|QL visualization from dashboards even if you haven't specified a data view and have no existing dashboards. Just go to **Dashboards** and click **Try ES|QL**. A new dashboard is created with an ES|QL chart that you can interact with and configure like any other visualization. +:::: ## Customize the appearance of your {{esql}} visualization From dedd708540579deae53fe2a1d7b66cd8f1c11467 Mon Sep 17 00:00:00 2001 From: wajihaparvez Date: Mon, 24 Mar 2025 17:37:33 -0400 Subject: [PATCH 2/4] Remove trailing space --- explore-analyze/visualize/esorql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explore-analyze/visualize/esorql.md b/explore-analyze/visualize/esorql.md index 382b2d9917..c5ed37480d 100644 --- a/explore-analyze/visualize/esorql.md +++ b/explore-analyze/visualize/esorql.md @@ -18,7 +18,7 @@ In Discover, [typing ES|QL queries](../query-filter/languages/esql-kibana.md) au You can then **Save** and add it to an existing or a new dashboard using the save button of the visualization ![save button](/explore-analyze/images/kibana-esql-icon-save-visualization.svg ""). -## Create from dashboard [_create_from_dashboard] +## Create from dashboard [_create_from_dashboard] 1. From your dashboard, select **Add panel**. 2. Choose **ES|QL** under **Visualizations**. An ES|QL editor appears and lets you configure your query and its associated visualization. The **Suggestions** panel can help you find alternative ways to configure the visualization. From d73166981b9a309ddc39e707b067ab1166c92004 Mon Sep 17 00:00:00 2001 From: wajihaparvez Date: Tue, 25 Mar 2025 15:02:03 -0400 Subject: [PATCH 3/4] PR feedback --- explore-analyze/visualize/esorql.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/explore-analyze/visualize/esorql.md b/explore-analyze/visualize/esorql.md index c5ed37480d..b6f6e674fe 100644 --- a/explore-analyze/visualize/esorql.md +++ b/explore-analyze/visualize/esorql.md @@ -21,6 +21,11 @@ You can then **Save** and add it to an existing or a new dashboard using the sav ## Create from dashboard [_create_from_dashboard] 1. From your dashboard, select **Add panel**. + + ::::{tip} + If you haven't created a data view and you don't have a dashboard yet, the **Dashboards** page offers you the possibility to **Try ES|QL** right away. By selecting this option, a dashboard is created with an ES|QL visualization that you can interact with and configure using ES|QL. + :::: + 2. Choose **ES|QL** under **Visualizations**. An ES|QL editor appears and lets you configure your query and its associated visualization. The **Suggestions** panel can help you find alternative ways to configure the visualization. ::::{tip} @@ -34,10 +39,6 @@ You can then **Save** and add it to an existing or a new dashboard using the sav 4. You can bind controls to your ES|QL visualizations in dashboards by creating [ES|QL controls](../dashboards/add-controls.md#add-esql-control). 5. Select **Apply and close** to save the visualization to the dashboard. -::::{tip} -You can create an ES|QL visualization from dashboards even if you haven't specified a data view and have no existing dashboards. Just go to **Dashboards** and click **Try ES|QL**. A new dashboard is created with an ES|QL chart that you can interact with and configure like any other visualization. -:::: - ## Customize the appearance of your {{esql}} visualization When editing an {{esql}} visualization, you can customize the appearance of the chart. To do that: From 0459c8975bb49ab97e0349c9a09881d07a5601aa Mon Sep 17 00:00:00 2001 From: wajihaparvez Date: Tue, 25 Mar 2025 15:37:36 -0400 Subject: [PATCH 4/4] add link --- explore-analyze/visualize/esorql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explore-analyze/visualize/esorql.md b/explore-analyze/visualize/esorql.md index b6f6e674fe..0640c136dc 100644 --- a/explore-analyze/visualize/esorql.md +++ b/explore-analyze/visualize/esorql.md @@ -23,7 +23,7 @@ You can then **Save** and add it to an existing or a new dashboard using the sav 1. From your dashboard, select **Add panel**. ::::{tip} - If you haven't created a data view and you don't have a dashboard yet, the **Dashboards** page offers you the possibility to **Try ES|QL** right away. By selecting this option, a dashboard is created with an ES|QL visualization that you can interact with and configure using ES|QL. + If you haven't created a [data view](/explore-analyze/find-and-organize/data-views.md) and you don't have a dashboard yet, the **Dashboards** page offers you the possibility to **Try ES|QL** right away. By selecting this option, a dashboard is created with an ES|QL visualization that you can interact with and configure using ES|QL. :::: 2. Choose **ES|QL** under **Visualizations**. An ES|QL editor appears and lets you configure your query and its associated visualization. The **Suggestions** panel can help you find alternative ways to configure the visualization.