# Module Redis Authentication

**URL:** <https://discuss.elastic.co/t/module-redis-authentication/78676>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [March 15, 2017, 9:53am UTC](https://discuss.elastic.co/t/module-redis-authentication/78676 "2017-03-15T09:53:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RdrgPorto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rdrgporto/32/13278_2.png) [@RdrgPorto](https://discuss.elastic.co/u/RdrgPorto)\
**Post date:** [March 15, 2017, 9:53am UTC](https://discuss.elastic.co/t/module-redis-authentication/78676/1 "2017-03-15T09:53:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![giuseppe](https://avatars.discourse-cdn.com/v4/letter/g/48db29/32.png) [@giuseppe](https://discuss.elastic.co/u/giuseppe)\
**Post date:** [March 15, 2017, 6:38pm UTC](https://discuss.elastic.co/t/module-redis-authentication/78676/2 "2017-03-15T18:38:08Z")

</div>

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](https://www.elastic.co/guide/en/beats/filebeat/current/redis-output.html#_password_3)

---

<div class="post-metadata">

**Author:** ![RdrgPorto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rdrgporto/32/13278_2.png) [@RdrgPorto](https://discuss.elastic.co/u/RdrgPorto)\
**Post date:** [March 15, 2017, 9:55pm UTC](https://discuss.elastic.co/t/module-redis-authentication/78676/3 "2017-03-15T21:55:31Z")

</div>

Hi Giuseppe,

My aim is to carry out a monitoring on **Redis** by using **Redis Module** ([Link](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-redis.html)) , 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 😃

Regards

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [March 17, 2017, 9:23am UTC](https://discuss.elastic.co/t/module-redis-authentication/78676/4 "2017-03-17T09:23:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![RdrgPorto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rdrgporto/32/13278_2.png) [@RdrgPorto](https://discuss.elastic.co/u/RdrgPorto)\
**Post date:** [March 17, 2017, 12:05pm UTC](https://discuss.elastic.co/t/module-redis-authentication/78676/5 "2017-03-17T12:05:55Z")

</div>

Hi Ruflin,

Thank you very much, it works 🙂

Regards

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 14, 2017, 12:06pm UTC](https://discuss.elastic.co/t/module-redis-authentication/78676/6 "2017-04-14T12:06:21Z")

</div>

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