View, edit, or delete vended logs dashboards
View vended logs dashboards in CloudWatch Logs or OpenSearch Service
To be able to view dashboards, you must be signed in to an IAM principal that has the CloudWatchOpenSearchDashboardAccess IAM policy.
To view vended log dashboards
Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/
. In the left navigation pane, choose Logs Insights and then choose the Analyze with OpenSearch tab.
Choose the dashboard in the OpenSearch dashboards box.
(Optional) In the upper right, choose View in OpenSearch.
The OpenSearch Service console opens and you see the same dashboard there. In the OpenSearch Service console, you can make changes to the dashboard and its widgets, and these changes will also be visible when you view the dashboard in CloudWatch Logs.
Grant dashboard viewing access to additional IAM roles or IAM users
To grant access to additional IAM principals after you've created the integration, take the following steps.
To grant vended log dashboard access to additional IAM roles or users
Edit the data access policy for the collection to add these roles or users. For more information, see Data access control for Amazon OpenSearch Service Serverless in the OpenSearch Service Developer Guide.
Grant the CloudWatchOpenSearchDashboardAccess to these users. For more information about the contents of this policy, see CloudWatchOpenSearchDashboardAccess.
Edit dashboard configuration
You can edit the name, description, and synchronization frequency of existing vended log dashboards.
To edit a vended log dashboard
Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/
. In the left navigation pane, choose Logs Insights and then choose the Analyze with OpenSearch tab.
Choose the dashboard in the OpenSearch dashboards box.
Choose Actions, Change dashboard details.
Make your changes, then choose Confirm changes.
Delete a vended log dashboard
You can delete a vended log dashboard. If you do so, the dashboard, the metrics, and indexes created in the OpenSearch Service collection are all deleted.
Note
After you delete a vended log dashboard, wait at least six hours before trying to re-create that same dashboard. If you don't wait, the re-created dashboard won't work correctly.
To delete a vended log dashboard
Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/
. In the left navigation pane, choose Logs Insights and then choose the Analyze with OpenSearch tab.
Choose the dashboard in the OpenSearch dashboards box.
Choose Actions, Delete.
Confirm your decision by entering
delete
, then choose Delete.
Delete all vended log dashboard integration with OpenSearch Service
You can delete your entire OpenSearch integration. If you do, all vended logs dashboards and the data that was displayed in them is deleted.
Important
To avoid ongoing costs, we strongly recommend that you manually delete the following resources before you delete the integration. Deleting the integration doesn't automatically delete these resources, and after you delete the integration you won't be able to access these resources to delete them. To find the names of the resources to delete, see the following procedure.
To delete your entire vended log dashboard integration with OpenSearch Service
Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/
. In the left navigation pane, choose Settings.
Choose the Logs tab.
In the OpenSearch integration section, choose Delete integration.
The next screen displays the names of the OpenSearch Service resources that you should delete before deleting the integration.
Confirm your decision by entering
delete
, then choose Delete integration.