How to access redis logs on AWS ElastiCache
Asked Answered
A

2

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?

Admission answered 7/6, 2019 at 6:58 Comment(1)
You can check AWS Console -> ElastiCache Dashboard -> Events. The backup events can be found there.Glycine
G
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

Geer answered 19/8, 2019 at 18:42 Comment(0)
M
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

Madonnamadora answered 2/8, 2021 at 11:55 Comment(1)
More details related to the Log Delivery feature can be found here: docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/…Mudd

© 2022 - 2024 — McMap. All rights reserved.