opensearch-project / OpenSearch-Dashboards

📊 Open source visualization dashboards for OpenSearch.
https://opensearch.org/docs/latest/dashboards/index/
Apache License 2.0
1.65k stars 858 forks source link

[Proposal] - Naming for data sources #6070

Open shanilpa opened 6 months ago

shanilpa commented 6 months ago

As OpenSearch evolves to support connections to other OpenSearch clusters, and federated data sources we need a unified way to represent data sources in the UI. The following is being proposed:

image (11)

kgcreative commented 6 months ago

Cross cluster should be "Follower cluster" not "Federated connection" -- for follower clusters, the convention already in the cross cluster spec is a single colon, not a dot. So while the first example makes sense, the second and third should be changed to: Data source connection::Cross-cluster connection:index/index pattern and Data source connection::Index or Index pattern

respectively

kgcreative commented 6 months ago

(Existing pattern is indexName.field; so dataSource.indexName is weird. This is why cross-cluster went with crossCluster:indexName; so, then the pattern would be dataSource::index.field or dataSource::crossCluster:index.field

paulstn commented 3 months ago

Do we already introduce the restriction that all of these various connections, clusters, federated connections, databases, tables, and indices all cannot include colons or periods within their names? I could see there being colons within a stray table.