Creating Users in OpenSearch for ElastiFlow
Last updated
Was this helpful?
This guide describes how to create internal users and roles in OpenSearch that can read and search ElastiFlow data without full administrative privileges.
Log in as the admin user and navigate to Security → Internal Users.
Click Create User.
Fill out the form:
Username
Password (and confirmation)
Click Create to save the user.
Go to Security → Roles and click Create role.
Name the role, e.g. elastiflow-readonly.
In the Cluster Permissions section, add:
cluster_composite_ops_ro
In Index Permissions, use these patterns:
elastiflow-*
.kibana*
And apply the following permissions:
read
search
In the Tenant Permissions section:
Select global_tenant
Set to Read only access
Click Create to save the role.
From the elastiflow-readonly role page, open the Mapped users tab.
Click Manage mapping.
Select the newly created user.
Click Map.
Open a private browser window.
Log in with the new user.
Select the Global tenant when prompted (ElastiFlow dashboards are stored here).
If you're using an external provider (SAML, LDAP, RADIUS), map the backend role sent by the IdP to this internal role:
Go to Roles → elastiflow-readonly → Mapped backend roles
Add the backend role (e.g. elastiflow-readonly) sent by your IdP
Users will now be able to access ElastiFlow Dashboards and data with the appropriate read-only permissions.
Last updated
Was this helpful?
Was this helpful?
