Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.01 KB

opensearch_security.md

File metadata and controls

34 lines (22 loc) · 1.01 KB

OpenSearch

The OpenSearch sink can send trace data to an OpenSearch cluster by administrative credentials as follows:

sink:
  - opensearch:
      ...
      username: "admin"
      password: "<admin password>"

or by using user credential assigned with a role that has the below required permissions.

Cluster permissions

  • cluster_all
  • indices:admin/template/get
  • indices:admin/template/put

Note that indices:admin/template/* need to be in cluster permissions.

Index permissions

  • Index: otel-v1*; Index permissions: indices_all
  • Index: .opendistro-ism-config; Index permissions: indices_all
  • Index: *; Index permission: manage_aliases

Field level security and Anonymization should be left with default values.


With administrative privilege, one can create an internal user, a role and map the user to the role by following the OpenSearch Users and roles documentation.