Skip to content

[Discover] [Embeddable] Adding the sample data "[Logs] Visits" Discover session as a dashboard panel fails #241218

@davismcphee

Description

@davismcphee

After merging #240060, adding the sample data "[Logs] Visits" Discover session as a dashboard panel fails:

This is because the saved object no longer contains an ad hoc data view spec after converting it to be ES|QL based, but the Discover embeddable is expecting one. We don't require a data view spec in the SO schema, and there's really no reason it should be required for ES|QL tabs in Discover sessions. We likely never encountered this issue before since Discover sessions saved from Discover always embed an ad hoc data view spec for ES|QL tabs.

Metadata

Metadata

Assignees

Labels

Feature:DiscoverDiscover ApplicationTeam:DataDiscoveryDiscover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//bugFixes for quality problems that affect the customer experienceimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.loe:smallSmall Level of Effort

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions