Preface: I deployed the OpenSearch using Amazon OpenSearch Service.
I faced the issue of auto-redirecting from Global to Private tenant in OpenSearch Dashboards after some time (up to 10 minutes).
I saw in other answers (they were related to Kibana and ElasticSearch) how to proceed to directories with a configuration file (opensearch.yml, opensearch-dashboards.yml), but how to do it with OpenSearch on AWS? Can I connect via CLI to cluster directly, go through files, and create/edit a config file or maybe API which will update my config?
Asked
Active
Viewed 269 times
0

John Rotenstein
- 241,921
- 22
- 380
- 470

alex.miller
- 13
- 7
-
check https://aws.amazon.com/blogs/big-data/set-advanced-settings-with-the-amazon-opensearch-service-dashboards-api/ – Riz Sep 13 '22 at 23:09
-
@Riz thanks, I already checked this some time ago... it's about timezone settings, but what about updating tenant settings (disabling private tenant it's my case). Where can I check API or answer how to disable private tenant via API or config file I guess? – alex.miller Sep 14 '22 at 11:38
-
@Riz OpenSearch docs says: "To use the PUT and PATCH methods for the configuration APIs, add the following line to opensearch.yml:" How I can directly get access to the opensearch.yml file? How I can connect to my cluster on AWS and go through files? – alex.miller Sep 14 '22 at 11:56
-
You cannot access the yml file. Maybe you need to open a support ticket if you can. – Riz Sep 14 '22 at 12:13
-
@Riz so, I don't have the possibility to change the tenant settings (or even the rest of the settings) directly via configuration file? – alex.miller Sep 14 '22 at 12:39
-
You have only api available to make changes in aws managed opensearch. You can't connect to the cluster in anyway. So no, you won't be able to access the config file. – Riz Sep 14 '22 at 13:45