| Did this page help you? Yes No Tell us about it... |
Returns information about events related to your DB Instances, DB Security Groups or DB Parameter Groups.
rds-describe-events [--duration
value ] [--start-time
value ] [--end-time
value ] [--source-identifier
value ] [--source-type
value ] [--max-records
value ] [General Options]
| Name | Description | Required |
|---|---|---|
|
|
The number of minutes for which to retrieve events. Type: Integer Default: 60 Example: Retrieve the last 90 minutes worth of events:
|
No |
|
|
The beginning of the time interval to retrieve events, specified in ISO8601 format. For more information about ISO 8601, go to the ISO8601 format Wikipedia page. Type: Date Default: none Example: |
No |
|
|
The end of the time interval to retrieve events, specified in ISO8601 format. For more information about ISO 8601, go to the ISO8601 format Wikipedia page. Type: Date Default: none Example: |
No |
|
|
Specifies the event source for which to retrieve events. Type: String Valid values: Example: |
No |
|
|
Used with the Type: String Default: 60 Example: |
No |
The command returns the following information:
Source TypeType of event source
DateDatabase event date/time, in UTC
Source IdIdentifier of the event source
MessageEvent description
This example returns all events with column headers.
PROMPT>rds-describe-events --headersSource Type Date Source Id Message db-instance 2009-03-27 00:28:44 test002 Database instance test002 deleted db-instance 2009-03-27 00:30:08 test003 Database instance test003 deleted db-instance 2009-03-27 00:37:59 test001 Database instance test001 created db-instance 2009-03-27 00:39:05 test0010 Database instance test0010 created db-security-group 2009-03-27 00:39:12 Default Finished applying changes to security group db-security-group 2009-03-27 00:40:22 Default The security group mysourcegroup owned by XXXXXX does not exist; revoking authorization db-security-group 2009-03-27 00:44:44 Default Finished applying changes to security group db-instance 2009-03-27 01:07:53 test0010 Database instance test0010 deleted db-instance 2009-03-27 01:09:09 test02 Database instance test02 deleted db-instance 2009-03-27 01:09:22 test004 Database instance test004 deleted db-instance 2009-03-27 01:09:58 test001 Database instance test001 deleted db-parameter-group 2009-03-27 00:39:12 myconfig DBParameterGroup updated with parameter max_binlog_size to 4096 with apply method Immediate db-snapshot 2009-03-27 01:09:58 snapshotid Deleted user snapshot: snapshotid
This example returns only events for a specific DB Instance.
PROMPT>rds-describe-events --source-type db-instance --source-identifier test001Source Type Date Source Id Message db-instance 2009-03-27 00:37:59 test001 Database instance test001 created db-instance 2009-03-27 01:09:58 test001 Database instance test001 deleted
This example returns only events for a specific time interval.
PROMPT> rds-describe-events --start-time 2009-03-20T00:00:00-08:00 --end-time 2009-03-20T23:59:59-08:00