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개 답변
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
답변함 4달 전
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
답변함 4달 전
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
답변함 4달 전
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
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인