Hi ,
I am trying to use metricbeat (version 8.1.2) module for Redis.
Redis cluster is managed app.redislabs.com
Here is the config:
metricsets: ["info", "keyspace"]
hosts: ["redis-16058.internal.xxxxxxxxx.ec2.cloud.redislabs.com:16058"]
password: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
enabled: true
period: 10s
Redis hosts
hosts: ["redis-16058.xxxxxxxxx.ec2.cloud.redislabs.com:16058"]
Redis AUTH password. Empty by default.
password: (blank if no auth. Tried with password as well as without)
I am getting below errors in /var/log/metricbeat/metricbeat.log:
{"log.level":"error","@timestamp":"2022-06-03T04:43:29.941Z","log.origin":{"file.name":"metrics/metrics.go","file.line":306},"message":"error determining cgroups version: error reading /proc/89458/cgroup: open /proc/89458/cgroup: no such file or directory","service.name":"metricbeat","ecs.version":"1.6.0"}
Also If i try to connect to my local redis running on localhost I am able to see the metrics.
Using hosts: ["127.0.0.1:6379"]
Any suggestion on what could be the reason?
Thanks!
I see these logs:
"log.level":"warn","@timestamp":"2022-06-10T05:38:22.872Z","log.logger":"tls","log.origin":{"file.name":"tlscommon/tls_config.go","file.line":105},"message":"SSL/TLS verifications disabled.","service.name":"metricbeat","ecs.version":"1.6.0"}
{"log.level":"error","@timestamp":"2022-06-10T05:38:37.797Z","log.origin":{"file.name":"metrics/metrics.go","file.line":306},"message":"error determining cgroups version: error reading /proc/204819/cgroup: open /proc/204819/cgroup: no such file or directory","service.name":"metricbeat","ecs.version":"1.6.0"}
{"log.level":"error","@timestamp":"2022-06-10T05:38:44.141Z","log.origin":{"file.name":"redis/redis.go","file.line":70},"message":"Error retrieving INFO stats: read tcp 192.168.0.128:43712->20.29.71.103:6380: read: connection reset by peer","service.name":"metricbeat","ecs.version":"1.6.0"}
{"log.level":"error","@timestamp":"2022-06-10T05:38:44.141Z","log.origin":{"file.name":"module/wrapper.go","file.line":254},"message":"Error fetching data for metricset redis.info: failed to fetch redis info: read tcp 192.168.0.128:43712->20.29.71.103:6380: read: connection reset by peer","service.name":"metricbeat","ecs.version":"1.6.0"}
Anybody has any idea what the issue could be? Am i missing something?