How to monitor the RDS log usage?

0

Hi all,

Currently we are trying to enable pgAudit extensions on our cluster. However, this extension will increase the log sent to the CloudWatch drastically (we set our cluster to send the log to CloudWatch).

Is there a way that we can monitor the log usage on our cluster? We want to see the increase in the DB Log size after we enable pgAudit over time, so we can actively disable the pgAudit for some of our DB.

Thanks.

1 Answer
2
Accepted Answer

Hi,

I am not sure if you speak about pg WAL logs or CloudWatch logs.

If you speak about WAL logs, this article tells you how to monitor the WAL activity and size: https://pgdash.io/blog/postgres-monitor-wal-files.html

If you speak about CloudWatch, there are standard ways to do it: https://repost.aws/knowledge-center/cloudwatch-log-group-size

Best,

Didier

profile pictureAWS
EXPERT
answered 6 months ago
profile picture
EXPERT
reviewed 6 months ago
profile picture
EXPERT
reviewed 6 months ago
profile picture
EXPERT
reviewed 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions