Hi ,
I am trying to use metricbeat (version 7.12.1) module for Redis.
Redis cluster is managed AWS ElastiCache.
Here is config:
-
module: redis
metricsets: ["info", "keyspace"]
enabled: true
period: 2mRedis hosts
hosts: ["clustercfg.sandboxXXXXXX.amazonaws.com:6379"]
Redis AUTH password. Empty by default.
password: ${redispwd}
I am getting below errors:
2022-03-09T03:06:12.709Z ERROR redis/redis.go:70 Error retrieving INFO stats: read tcp 192.168.59.219:39884->192.168.168.181:6379: i/o timeout
2022-03-09T03:06:12.709Z INFO module/wrapper.go:259 Error fetching data for metricset redis.info: failed to fetch redis info: read tcp 192.168.59.219:39884->192.168.168.181:6379: i/o timeout
2022-03-09T03:06:12.710Z ERROR redis/redis.go:70 Error retrieving INFO stats: read tcp 192.168.59.219:39886->192.168.168.181:6379: i/o timeout
2022-03-09T03:06:12.710Z INFO module/wrapper.go:259 Error fetching data for metricset redis.keyspace: Failed to fetch redis info for keyspaces: read tcp 192.168.59.219:39886->192.168.168.181:6379: i/o timeout
However I can telnet from node where metricbeat is running to Redis clustercfg.sandboxXXXXXX.amazonaws.com 6379.
Any suggestion on what could be the reason?
Thanks!