aws-rds-logs
Scan specified RDS DB log file.
aws-rds-logs [profile=PROFILE] region=REGION instance=INSTANCE [path=PATH]
- profile=PROFILE
- The identifier of AWS connect profile
- region=REGION
- AWS region
- instance=INSTANCE
- Target RDS instance name
- path=PATH
- Target log file path
AWS IAM Policy
To use this command, you must allow the below permissions in your AWS IAM policy:
- rds:DownloadDBLogFilePortion
Output Fields
Field | Type | Name | Description |
---|---|---|---|
_time | Date | Time | |
aws_profile | String | Connect profile | The identifier of AWS connect profile |
region | String | Region | e.g. ap-northeast-2 |
instance | String | RDS instance | |
file_path | String | File path | |
line | String | Message |