Using the OpenSearch user interface in Amazon OpenSearch Service
The OpenSearch user interface (UI) is a web-based application for Amazon OpenSearch Service that lets you visualize and interact with data stored in more than one OpenSearch resources. It contains customizable dashboards, advanced data exploration, and support for multiple query languages. You can use the OpenSearch UI to manage multiple OpenSearch clusters, OpenSearch Serverless collections, and other integrated data sources from a unified interface.
Unlike OpenSearch Dashboards, which runs within individual domains or collections and supports only one data source, the OpenSearch UI runs in the AWS Cloud. It connects to multiple data sources to provide a unified view of your data. For information about OpenSearch Dashboards, see Using OpenSearch Dashboards with Amazon OpenSearch Service.
The OpenSearch UI has the following features:
-
Discover – Unified log exploration with support for SQL, PPL, DQL, and Lucene.
-
Centralized management – View all OpenSearch applications in the AWS console.
-
Collaboration – Each application has a unique endpoint URL for easy sharing.
-
Access control – Supports authentication through IAM credentials or IAM Identity Center.
After you create an OpenSearch UI application, associate it with data sources to analyze, query, and visualize data across your infrastructure. Then, configure workspaces within the application, which provide tailored experiences for observability, security analytics, and team collaboration. Each workspace has its own data sources, collaborators, and access controls, which makes it easy to manage permissions.
Topics
Creating an OpenSearch UI application
Create an application by providing a name, authentication method, and administrators.
To create a UI application in the console
-
Sign in to the Amazon OpenSearch Service console at https://console.aws.amazon.com/aos/home
. -
In the left navigation pane, choose OpenSearch UI (Dashboards).
-
Choose Create application.
-
For Application name, enter a name for the application.
-
(Optional) Configure single sign-on by enabling Authentication with IAM Identity Center. For more information, see Configuring single sign-on authentication.
-
If needed, add additional application administrators. The OpenSearch application administrator role grants permissions to edit and delete an OpenSearch application. By default, the creator of an OpenSearch application becomes the first administrator. You can add additional administrators, or grant administrator permission to all users.
You can remove extra administrators, but at least one must remain for each application.
-
(Optional) Add tags to describe the application.
-
Choose Create.
To create an application using the AWS CLI, use the create-application command with the following options:
-
--name– The name of the application. -
--iam-identity-center-options– (Optional) The IAM Identity Center instance and the IAM role that OpenSearch will use for authentication and access control.
aws opensearchservice create-application \ --name myapplication \ --iam-identity-center-options '{ "enabled": true, "iamIdentityCenterInstanceArn": "arn:aws:sso:::instance/ssoins-xxxxxxxxx", "iamRoleForIdentityCenterApplicationArn": "arn:aws:iam::123456789012:role/xxxxxxxx" }'
Configuring single sign-on authentication
You can control access to an OpenSearch application using AWS Identity and Access Management (IAM) or IAM Identity Center.
-
IAM (Default) – Manage access by assigning IAM roles or users.
-
IAM Identity Center (Optional) – Allows users to log in using existing identity providers.
Note
OpenSearch UI doesn't support IAM Identity Center instances in a different AWS Region. To use IAM Identity Center, create the application in the same Region.
To enable IAM Identity Center, select Authenticate with IAM Identity Center when you create an application, and choose an IAM role.
The role must have the following permissions:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "IdentityStoreOpenSearchDomainConnectivity", "Effect": "Allow", "Action": [ "identitystore:DescribeUser", "identitystore:ListGroupMembershipsForMember", "identitystore:DescribeGroup" ], "Resource": "*", "Condition": { "ForAnyValue:StringEquals": { "aws:CalledViaLast": "es.amazonaws.com" } } }, { "Sid": "OpenSearchDomain", "Effect": "Allow", "Action": [ "es:ESHttp*" ], "Resource": "*" }, { "Sid": "OpenSearchServerless", // If users need to access OpenSearch Serverless collections "Effect": "Allow", "Action": [ "aoss:APIAccessAll" ], "Resource": "*" } ] }
The role must have the following trust policy:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": "application.opensearchservice.amazonaws.com" }, "Action": [ "sts:AssumeRole", "sts:SetContext" ], "Condition": { "ForAllValues:ArnEquals": { "sts:RequestContextProviders": "arn:aws:iam::aws:contextProvider/IdentityCenter" } } } ] }
Associating data sources with your application
After you create an OpenSearch application, associate it with one or more data sources to analyze, query and visualize data across your infrastructure. An application can connect to multiple data sources, including OpenSearch Service domains and OpenSearch Serverless collections. It also supports external sources like Amazon Security Lake and Amazon CloudWatch Logs.
To connect a data source in the console
-
Select an application to open its details.
-
Under Associated data sources, choose Manage data sources.
-
Choose one or more domains or collections to associate with the application. Alternatively, choose Create data connection to connect other AWS sources.
-
OpenSearch Service notifies you if any of the resources you selected require additional enablement for VPC access. To grant access, select the resource and choose Enable access to VPC.
Alternatively, you can configure access directly within the domain or collection. For more information, see the following:
-
Choose Next.
-
Review the selected data sources and choose Save.
To connect a data source using the AWS CLI, use the update-application command with the following options:
-
--name– The name of the application. -
--data-sources– The ARN of the domain, collection, or external resource to connect to the application.
aws opensearch update-application \ --name myapplication \ --data-sources "[{\"dataSourceArn\": \"arn:aws:es:us-east-1:123456789012:domain/domain-name\"}]"
Integrating applications with OpenSearch domains in a VPC
To use a VPC-based domain as a data source for a UI application, you must first grant access to the domain.
To grant access to a VPC domain in the console
-
Sign in to the Amazon OpenSearch Service console at https://console.aws.amazon.com/aos/home
. -
Select Domains on the left navigation pane, then open the domain that you want to authorize access for.
-
Under VPC endpoints, choose Authorize principal.
-
Choose Authorized principals from other AWS Services, then select OpenSearch applications (Dashboard) from the menu.
-
Choose Authorize.
To grant access to a VPC domain using the AWS CLI, use the authorize-vpc-endpoint-access command with the following options:
-
--domain-name– The name of the domain to authorize access to. -
--service– The service principal of the OpenSearch user interface,application.opensearchservice.amazonaws.com.
aws opensearch authorize-vpc-endpoint-access \ --domain-namedomain-name\ --service application.opensearchservice.amazonaws.com
Integrating applications with OpenSearch Serverless collections in a VPC
To use an OpenSearch Serverless collection within a VPC as a data source for an application, you must first grant access to the collection by creating and attaching a network policy to it.
To grant access to a VPC collection in the console
-
Sign in to the Amazon OpenSearch Service console at https://console.aws.amazon.com/aos/home
. -
Under Serverless in the left navigation pane, choose Network policies.
-
Choose Create network policy, or select an existing policy and choose Edit.
-
Under Access type, select Private, then choose AWS service private access.
-
From the search bar, select
Service = application.opensearchservice.amazonaws.com. -
For Resource type, select Enable access to OpenSearch endpoint.
-
In the search bar, enter or select the name of the collection to attach the policy to.
-
Create or save the network policy.
If you no longer need the association, choose Revoke access under Authorized principals.
To grant access to a VPC collection using the AWS CLI, use the update-security-policy command and specify the following
--policy file:
[{ "Description" : "Network policy statement", "Rules": [{ "ResourceType" : "collection", "Resource" : ["collection/collection-name"] }], "SourceServices" : [ "application.opensearchservice.amazonaws.com" ], "AllowFromPublic" : false }]
Setting up workspaces
After you create an OpenSearch application with associated data sources and user permissions, the next step is to launch the application and create workspaces. Choose Launch application or use the application URL. The homepage displays all existing workspaces, categorized by use case.
For instructions to create a workspace, see Create a workspace
You can choose from the following workspace types, each taylored to specific use cases.
-
Observability – Provides insights into system health, performance, and reliability by monitoring logs, metrics, and traces.
-
Security Analytics – Helps detect and investigate security threats and vulnerabilities across your systems and data.
-
Search – Enables fast and efficient searching across your organization’s data sources.
-
Essentials – Designed for OpenSearch Serverless as a data source, allowing users to analyze data, identify patterns, and make data-driven decisions.
-
Analytics – A comprehensive workspace that supports all features available in OpenSearch Service UI, making it suitable for multi-purpose use cases.

