Skip to content

[BUG] notebook visualization not working with OpenSearchDashboards saved objects when data source is enabled #2448

Open
@zengyan-amazon

Description

@zengyan-amazon

What is the bug?
In https://github.com/opensearch-project/dashboards-observability/blame/main/server/routes/notebooks/vizRouter.ts#L15 , when multi data source is enabled, the route handler try to work with visualizations in the OSD metadata index in that particular data source, instead of working with the visualizations in the saved object metadata index with local OpenSearch Dashboards server.

What is the expected behavior?
use savedobjectclient to get visualzations instead of querying metadata index directly

What is your host/environment?

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?
Add any other context about the problem.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions