7

We have been facing latency issues with our redis lately.

We are trying to debug what's going on, I came across this post and it mentioned going over the redis logs to investigate how often the db is saved in the background (ie using bgsave)

I did some research on how to access the redis logs file but couldn't find anything on how to find it on AWS ElastiCache. I also tried running the monitor command from the redis cli but it's not giving me information about stuff like backing up the database etc.

How can I access such logs?

LeoMurillo
  • 6,048
  • 1
  • 19
  • 34
abbood
  • 23,101
  • 16
  • 132
  • 246
  • 1
    You can check AWS Console -> ElastiCache Dashboard -> Events. The backup events can be found there. – Yann Jun 07 '19 at 17:36

2 Answers2

5

Apparently, there is no way to access to the Redis server-side logs ('yet').

src: https://forums.aws.amazon.com/thread.jspa?threadID=219210

M. Gleria
  • 468
  • 5
  • 14
2

This feature is available starting with version 6 Redis.

You can now publish logs from your Amazon ElastiCache for Redis clusters to CloudWatch and Kinesis Data Firehose, by enabling slow logs in ElastiCache Console.

You can read more details here

daniel
  • 174
  • 2
  • 10
  • More details related to the Log Delivery feature can be found here: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Log_Delivery.html – Gourav Roy Aug 07 '21 at 04:21