Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

View alert summaries and insights

Focus mode
View alert summaries and insights - Amazon OpenSearch Service

You can configure OpenSearch Service to create an alert monitor when data from one or more indexes meets certain conditions. To help you quickly understand and troubleshoot an alert, you can view an alert summary by clicking the Amazon Q Developer icon beside an alert. A summary provides details about the underlying issue that triggered the alert and, when available, additional analysis to help you locate the root cause of the problem. The following screenshot shows an example of an alert summary created by Amazon Q.

An example of an Amazon Q Developer alert summary in OpenSearch Service.

If you connect a knowledge base to provide additional context about your environment, as described later in this topic, Amazon Q creates insights about an alert. Insights provide details and troubleshooting options to help you remedy the root cause of an alert. For the previously shown alert, Amazon Q also produced the following insights.

An example of an Amazon Q Developer alert insight in OpenSearch Service.
Note

Depending on the nature of the alert and the information available, Amazon Q can give you the option to view the alert data on the Discover page in the OpenSearch Dashboards. If you see the View in Discover button at the bottom of a Amazon Q alert summary, click the button to open the corresponding data set in Discover with an active filter for the alert data.

Before you begin

Complete the following steps to configure an Amazon Bedrock knowledge base so that Amazon Q can create insights for OpenSearch Service alerts.

Step 1: Create the LambdaInvokeOpenSearchMLCommonsRole IAM role

Create a new role named LambdaInvokeOpenSearchMLCommonsRole in AWS Identity and Access Management (IAM). OpenSearch Service uses this role to create an AI connector in OpenSearch that helps produce insights based on configured knowledge base articles. You must map this role to the OpenSearch Service ml_full_access role, as described in step 2.

When you create the new role, for Trusted entity type, choose AWS account. You don't need to specify a permission policy. On the Add permissions page, choose Next. For more information about creating a new role, see Creating a role for an AWS service (console).

Step 2: Map the LambdaInvokeOpenSearchMLCommonsRole role to the OpenSearch Service ml_full_access role

Use the following procedure to map the LambdaInvokeOpenSearchMLCommonsRole role to the OpenSearch Service ml_full_access role. This mapping also helps OpenSearch Service create the AI connector.

To map the required IAM role to the OpenSearch Service ml_full_access role
  1. Open the OpenSearch Service Dashboard Data administration page.

  2. Under Data access and user, choose Roles.

  3. Use the search box to locate the ml_full_access role.

  4. On the ml_full_access page, choose the Mapped users tab.

  5. Choose Map users.

  6. In the Backend roles field, paste the Amazon Resource Name (ARN) of the LambdaInvokeOpenSearchMLCommonsRole role, and then choose Map.

Step 3: Configure an OpenSearch Service knowledge base using AWS CloudFormation

Use the following procedure to configure an OpenSearch Service knowledge base using AWS CloudFormation so that Amazon Q can generate insights.

To configure a knowledge base for insights
  1. Sign in to the Amazon OpenSearch Service console https://console.aws.amazon.com/aos/home in a supported AWS Region. For more information, see Supported AWS Regions.

  2. In the navigation pane, choose Integrations.

  3. In the Integration templates section, choose the Integrate with knowledge base through Amazon Bedrock template. If you don't see this template, verify you're in a supported Region.

  4. In the Integrate with knowledge base through Amazon Bedrock tile, choose Configure domain, and then choose one of the available options. OpenSearch Service opens the AWS CloudFormation stack template with the required fields pre-populated. The AWS CloudFormation stack supports integration for public and VPC domains.

  5. Choose Create stack. After AWS CloudFormation creates the resources, the service displays the Amazon Bedrock agent AgentId, ConnectorId, and ModelId.

When applicable, Amazon Q now creates insights for OpenSearch Service alerts.

Viewing alert summaries and insights

Use the following procedure to view alert summaries and insights in OpenSearch Service.

Viewing alert summaries and insights
  1. Verify that you've set up Amazon Q for OpenSearch Service.

  2. Verify that you've set up alerts for OpenSearch Service.

  3. In the OpenSearch Dashboards main menu, choose Alerting, and then choose Alerts.

  4. Choose the Amazon Q icon beside an alert. Amazon Q can take up to 10 seconds to generate the summary.

  5. If present in the alert summary, choose View insights to view more details about the alert based on your configured knowledge base.

  6. If present in the alert summary, choose View in Discover to view the alert data on the Discover page in the OpenSearch Dashboards.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.