Module Redis Authentication

Hi everyone,

I would like to know it there is some way to configure Redis Module when we have authentication in Redis like in MySQL Module.

metricbeat.modules:
- module: redis
  metricsets: ["info"]
  enabled: true
  period: 10s

  # Redis hosts
  hosts: ["127.0.0.1:6379"]

In MySQL with authentication:

hosts: ["root:secret@tcp(127.0.0.1:3306)/"]

Thanks in advance,

Regards

Hi Rodrigo,

Sounds like you're looking for password-based authentication?

https://www.elastic.co/guide/en/beats/filebeat/current/redis-output.html#_password_3

1 Like

Hi Giuseppe,

My aim is to carry out a monitoring on Redis by using Redis Module (Link) , not send the Metricbeat's documents/metrics to a Redis which it has a password-based authentication. However, if one use Metricbeat in order to monitoring a Redis where there is a authentication password, in the log. it gives back an error.

Thanks in advance :smiley:

Regards

The password option is there, it is/was just not documented. @giuseppe just fixed that: https://github.com/elastic/beats/pull/3756

1 Like

Hi Ruflin,

Thank you very much, it works :slight_smile:

Regards

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.