Is there any way to stop the RDS proxy logs

1

Is there any way to stop the RDS proxy logs?

Here are the RDS info Engine family MariaDB and MySQL (supports Aurora MySQL, RDS for MariaDB, and RDS for MySQL)

My cost for Cloudwatch is going up. I followed link, https://www.linkedin.com/pulse/why-my-aws-cloudwatch-service-bill-so-high-harinder-seera/, and found out that its because of Logs write of RDS proxy.

I tried to find a setting in the console to stop this logs. But, I can't find a way.

Please help.

Thanks! Mahendra

4 Risposte
0

Hi,
You can contact the AWS tech support team to confirm this issue. The lack of proxy log settings does not seem reasonable.
Maybe you can try to set the LogRetention to 24h in this case now[1].

[1]https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html#SettingLogRetention

profile picture
con risposta 4 mesi fa
0

Hi, Could you do as below? Proxy logging all their behavior including info level.

  1. First choose your Proxy on RDS > proxy section, you need to stop logging.
  2. Click Action > Modify
  3. Scroll down to the Advanced configuration on Enhanced loggingInfo With enhanced logging, details of queries processed by the proxy are logged and published to CloudWatch Logs. Uncheck - "Activate enhanced logging" Because enhanced logging can slow down performance, it's automatically disabled after 24 hours. please refer to this page[1] [1] https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-proxy-managing.html
AWS
Regina
con risposta 4 mesi fa
0

Hi,

@CharlesZHANG @Regina Thanks for your reply.

I have already set the LogRetention to 24h. And the "Activate enhanced logging" is already Unchecked.

I want to stop the logs altogether. But can't find any settings.

In my current cost, Cloudwatch cost is 18 to 20 %. And of Cloudwatch total cost, 60% is because of PutLogEvents for RDS proxy. In the RDS logs its only

  • A new client connected from 172...*:50080.
  • The client connection is closed.

I want to stop logs like we can do for ElasticBeanstalk and other services.

Thanks!

mst
con risposta 4 mesi fa
0

Hi, did you find a way to stop the logs of RDS proxy? I have the same problem that my Cloudwatch costs run up because of these logs..

PP
con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande