-
Notifications
You must be signed in to change notification settings - Fork 163
[Docs] Add instructions for creating an ES|QL chart without data views #906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docs] Add instructions for creating an ES|QL chart without data views #906
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing
explore-analyze/visualize/esorql.md
Outdated
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this fits well here at the end of this section. This section explains how to add an ES|QL visualization from a dashboard, while this tip describes the "empty state" experience for when there's no dashboard yet in the Dashboards menu.
What we could do instead to avoid big changes, is to move this tip to under the first step, and say something like:
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. | |
If you don't have a dashboard nor a [data view](/explore-analyze/find-and-organize/data-views.md) yet, the **Dashboards** page offers you the possibility to **Try ES|QL** right away. By selecting this option, a dashboard is created and populated with an ES|QL visualization that you can interact with and configure using ES|QL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@florent-leborgne it is not exactly the empty experience if you dont have a dashboard. It is if you dont have a dashboard AND a dataview. So I think is important to mention the dataview here. This is the advantage of ESQL actually. You dont need dataviews
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I wasn't sure if not having a data view was also a prerequisite to show this UX. I edited my suggestion. (my main issue with this tip is where it's currently located, a bit out of place in the user narrative)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes sense, thanks for the suggestion! I've moved the tip below the first step and tweaked the wording a bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanx both!
This PR adds instructions for creating an ES|QL chart from dashboards without setting up a data view.
Rel: #196658, #616
Preview: Create from dashboard