elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.48k stars 8.04k forks source link

[Discover] Default ESQL datasource setting/extension point #186000

Open flash1293 opened 3 weeks ago

flash1293 commented 3 weeks ago

Currently in the Discover application the user enters ES|QL mode from an existing data view. However, as it's planned to make ESQL mode the initial default, there needs to be an initial default query.

In all the other occurences of the editor (e.g. dashboards) there is no switch from a dataview to ESQL mode. In these cases the logic is:

There are also cases where the editor starts in an empty state (e.g. data visualizer)

Solutions should be able to overwrite this for Discover default by a more fitting default:

Technically, this could be realized via an extension point.

elasticmachine commented 3 weeks ago

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

elasticmachine commented 3 weeks ago

Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)

elasticmachine commented 3 weeks ago

Pinging @elastic/kibana-esql (Team:ESQL)