简体   繁体   中英

How to see events on RDS instance which is deleted?

One of RDS instance running within our account is deleted. 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

The when can be checked form the Events of your RDS dashboard page:

在此输入图像描述

You can retrieve events for your RDS resources through the AWS Management Console, which shows events from the past 24 hours

If it happened earlier, you can use the CLI which retrieves events up to 14 days

[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"
        }
    ]
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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