AWS

Download 186
Last updated Feb 21, 2024

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

FieldTypeNameDescription
_timeDateTime
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
instanceStringRDS instance
file_pathStringFile path
lineStringMessage