elastic / kibana

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

Saving a search on new ES|QL makes the histogram disappear #176771

Closed bhavyarm closed 9 months ago

bhavyarm commented 9 months ago

Kibana version: 8.13.0 latest snapshot

Elasticsearch version: 8.13.0 latest snapshot

Browser version: chrome latest

Browser OS version: OS X

Original install method (e.g. download page, yum, from source, etc.): from snapshots

Describe the bug: If user switches to ES|QL from regular discover mode on a timeseries data and clicks on save - Kibana saves the search (?)successfully but the bar histogram disappears.

  1. Open discover with Kibana sample data logs in non-ES|QL mode
  2. Switch to ES|QL mode
  3. Kibana displays ES|QL mode with histogram for sample_logs Screenshot 2024-02-12 at 6 07 09 PM
  4. Click on Save and save - the histogram disappears

https://github.com/elastic/kibana/assets/7074629/496fc667-99e9-470a-bb38-a222b814fd34

You have to do an action on the screen for the histogram to appear like click on edit visualization.

elasticmachine commented 9 months ago

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

bhavyarm commented 9 months ago

cc @stratoula

stratoula commented 9 months ago

I have fixed that here https://github.com/elastic/kibana/pull/176363

bhavyarm commented 8 months ago

Note we are waiting for a new snapshot of ES for this fix to fully get in.