Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Global Index Pattern which should be visible to all Individual Tentants #1287

Closed
divyankm opened this issue Jan 5, 2023 · 3 comments
Labels
enhancement New feature or request triaged

Comments

@divyankm
Copy link

divyankm commented Jan 5, 2023

Is your feature request related to a problem?
Currently, we have multiple tenants for example: abc , xyz , ijk. We are using saved_object api to create index_pattern by importing ndson file. We observed that tenant which was first created (xyz) is showing index_pattern when below api import ndjson file.

Only xyz tenant and Global showing the index pattern. But we want to show particular index pattern at global level (to all individual tenants as well).

API Request:

curl -XPOST -u <>:<> --insecure "https://< 
 >:<>/api/saved_objects/_import" -H "osd-xsrf: true" --form file=@"a.ndjson"

If we go with curl request by keeping importing ndjson file to each individual tenant , we have to perform multiple API request & no straight forward way to select tenants in api request. Even when new tenant gets created we will need to run individual API request.

Ref Link: opensearch-project/OpenSearch-Dashboards#1723

What solution would you like?
I think just like Global Tenant, in security plugin if there is any way to make any particular index pattern which is currently present in xyz tenant, if we can make it Global as well for every tenants. same with Vizualizations & Dashboards. Some Viz & Dashboards may be used by all Tenants.

What alternatives have you considered?
Currently we are using saved_object api to import ndjson file to individual tenant, which is cumbersome.

Do you have any additional context?
Do let me know if Global Index pattern can be achieved in current version, may be I am missing some user roles configurations.

Ref link: https://forum.opensearch.org/t/create-global-index-pattern-accessible-to-all-tenants-in-opensearch/11971

@divyankm divyankm added enhancement New feature or request untriaged labels Jan 5, 2023
@stephen-crawford
Copy link
Contributor

stephen-crawford commented Jan 9, 2023

[Triage] @RyanL1997 if you could take a look at this issue alongside @shanilpa and @jimishs, that would be appreciated.

@jimishs
Copy link

jimishs commented Jan 10, 2023

Thanks for your feedback @divyankm . We have considered the ability to share objects between tenants. Once we support that, it will be available for index patterns, visualizations and all other saved objects.

Tagging a few other in case they have additional updates @ahopp @cliu123

@davidlago
Copy link

Linking to (and closing in favor of) the Workspaces effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triaged
Projects
None yet
Development

No branches or pull requests

4 participants