elastic / kibana

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

[Serverless-QA][Discover] Pattern analysis saved search displays as regular document view saved search when added to dashboards #191026

Open bhavyarm opened 2 months ago

bhavyarm commented 2 months ago

Kibana version: Serverless-qa/Main

Browser version: Chrome latest

Browser OS version: OS X

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

Describe the bug: When user adds a pattern analysis saved search from Discover to Dashboard, Kibana displays it as regular document view saved search. If you open this search in Discover, it displays as pattern analysis search.

Steps to reproduce:

  1. In discover, on an eligible dataview , click on pattern analysis tab and save the search
  2. Go to dashboards and add this saved search to the dashboard
  3. Dashboard displays this search as regular document view search instead of pattern analysis search

Search saved in discover as a log pattern analysis search:

Screenshot 2024-08-21 at 3 49 29 PM

Same search after getting added to dashboard getting displayed as regular document view" https://github.com/user-attachments/assets/a0e9b8c7-8cb8-4fed-9d5f-815fa6eec65b

elasticmachine commented 2 months ago

Pinging @elastic/kibana-presentation (Team:Presentation)

elasticmachine commented 2 months ago

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

nreese commented 2 months ago

Replacing Team:Presentation with Team:DataDiscover since Discover team is in charge of saved search embeddable

kertal commented 2 months ago

confirmed, thanks! so this tab was introduced in https://github.com/elastic/kibana/pull/178916, don't think it was intended this way, was it @jgowdyelastic