简体   繁体   English

如何查看已删除的RDS实例上的事件?

[英]How to see events on RDS instance which is deleted?

One of RDS instance running within our account is deleted. 我们帐户中运行的RDS实例之一将被删除。 We would like to find out who and when it is deleted. 我们想知道删除的人和时间。

Is there a way to find a log of that somewhere? 有没有办法找到某个地方的日志? How can I see the events on RDS instance which is deleted 如何查看已删除的RDS实例上的事件

The when can be checked form the Events of your RDS dashboard page: when可以检查表格RDS仪表板页面的活动

在此输入图像描述

You can retrieve events for your RDS resources through the AWS Management Console, which shows events from the past 24 hours 您可以通过AWS管理控制台检索RDS资源的事件,该管理控制台显示过去24小时内的事件

If it happened earlier, you can use the CLI which retrieves events up to 14 days 如果它发生得更早,您可以使用CLI来检索最多14天的事件

[xxx@xxxx ~]# aws rds describe-events --source-identifier test --source-type db-instance
{
    "Events": [
        {
            "Date": "2016-05-20T12:58:26.529Z",
            "Message": "DB instance deleted",
            "SourceIdentifier": "test",
            "EventCategories": [
                "deletion"
            ],
            "SourceType": "db-instance"
        }
    ]
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM