Skip to content

Commit

Permalink
for cluster manager term update (#691)
Browse files Browse the repository at this point in the history
* for cluster manager term update

Signed-off-by: alicejw <[email protected]>

* for small fix

Signed-off-by: alicejw <[email protected]>

* to change  to

Signed-off-by: alicejw <[email protected]>
  • Loading branch information
alicejw1 authored Jun 20, 2022
1 parent 2e6f384 commit 8909564
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions _opensearch/rest-api/cat/cat-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ In addition to the [common URL parameters]({{site.url}}{{site.baseurl}}/opensear

Parameter | Type | Description
:--- | :--- | :---
local | Boolean | Whether to return information from the local node only instead of from the master node. Default is false.
master_timeout | Time | The amount of time to wait for a connection to the master node. Default is 30 seconds.
local | Boolean | Whether to return information from the local node only instead of from the cluster manager node. Default is false.
cluster_manager_timeout | Time | The amount of time to wait for a connection to the cluster manager node. Default is 30 seconds.


## Response

```
name | index_patterns order version composed_of
tenant_template | [kibana*] | 0 |
tenant_template | [opensearch-dashboards*] | 0 |
```

To learn more about index templates, see [Index templates]({{site.url}}{{site.baseurl}}/opensearch/index-templates).
12 changes: 6 additions & 6 deletions _security-plugin/access-control/multi-tenancy.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,23 @@ config:
dynamic:
opensearch-dashboards:
multitenancy_enabled: true
server_username: kibanaserver
server_username: opensearch
index: '.opensearch-dashboards'
do_not_fail_on_forbidden: false
```
Setting | Description
:--- | :---
`multitenancy_enabled` | Enable or disable multi-tenancy. Default is true.
`server_username` | Must match the name of the OpenSearch Dashboards server user from `opensearch_dashboards.yml`. Default is `kibanaserver`.
`server_username` | Must match the name of the OpenSearch Dashboards server user from `opensearch_dashboards.yml`. Default is `dashboardserver`.
`index` | Must match the name of the OpenSearch Dashboards index from `opensearch_dashboards.yml`. Default is `.opensearch-dashboards`.
`do_not_fail_on_forbidden` | If true, the security plugin removes any content that a user is not allowed to see from search results. If false, the plugin returns a security exception. Default is false.

`opensearch_dashboards.yml` has some additional settings:

```yml
opensearch.username: kibanaserver
opensearch.password: kibanaserver
opensearch.username: dashboardserver
opensearch.password: dashboardserver
opensearch.requestHeadersAllowlist: ["securitytenant","Authorization"]
opensearch_security.multitenancy.enabled: true
opensearch_security.multitenancy.tenants.enable_global: true
Expand Down Expand Up @@ -158,8 +158,8 @@ _meta:
The open source version of OpenSearch Dashboards saves all objects to a single index: `.opensearch-dashboards`. The security plugin uses this index for the global tenant, but separate indices for every other tenant. Each user also has a private tenant, so you might see a large number of indices that follow two patterns:

```
.kibana_<hash>_<tenant_name>
.kibana_<hash>_<username>
.opensearch-dashboards_<hash>_<tenant_name>
.opensearch-dashboards_<hash>_<username>
```

The security plugin scrubs these index names of special characters, so they might not be a perfect match of tenant names and usernames.
Expand Down

0 comments on commit 8909564

Please sign in to comment.