How to access redis logs on AWS ElastiCache

Viewed 7967

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?

2 Answers

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

Related