# Redis Module: Redis Cluster in Metricbeat

**URL:** <https://discuss.elastic.co/t/redis-module-redis-cluster-in-metricbeat/228836>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [April 20, 2020, 10:30am UTC](https://discuss.elastic.co/t/redis-module-redis-cluster-in-metricbeat/228836 "2020-04-20T10:30:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Md\_Saidur\_Rahman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/md_saidur_rahman/32/66673_2.png) [@Md\_Saidur\_Rahman](https://discuss.elastic.co/u/Md_Saidur_Rahman)\
**Post date:** [April 20, 2020, 10:30am UTC](https://discuss.elastic.co/t/redis-module-redis-cluster-in-metricbeat/228836/1 "2020-04-20T10:30:49Z")

</div>

How to add Redis cluster for monitoring in the host section of /etc/metricbeat/modules.d/redis.yml file?

Please be informed that I'm using single-node Redis cluster in different ports.

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [April 20, 2020, 3:02pm UTC](https://discuss.elastic.co/t/redis-module-redis-cluster-in-metricbeat/228836/2 "2020-04-20T15:02:59Z")

</div>

Hi @Md_Saidur_Rahman, welcome to the Elastic community forums!

Have you tried setting the host and port for your Redis node in the `hosts` setting in `modules.d/redis.yml`? You can see documentation and examples about this here: [https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-redis.html](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-redis.html).

Shaunak

---

<div class="post-metadata">

**Author:** ![Md\_Saidur\_Rahman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/md_saidur_rahman/32/66673_2.png) [@Md\_Saidur\_Rahman](https://discuss.elastic.co/u/Md_Saidur_Rahman)\
**Post date:** [April 20, 2020, 8:32pm UTC](https://discuss.elastic.co/t/redis-module-redis-cluster-in-metricbeat/228836/3 "2020-04-20T20:32:39Z")

</div>

Hi @shaunak Thank you for your response. Yes, I've updated hosts section in modules.d/redis.yml file and getting log for single node redis but didn't get any log from redis cluster. I've configured for redis cluster like this way.

For Cluster:  
hosts: ["IP:Port", "IP:Port", " IP:Port"]

---

<div class="post-metadata">

**Author:** ![Md\_Saidur\_Rahman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/md_saidur_rahman/32/66673_2.png) [@Md\_Saidur\_Rahman](https://discuss.elastic.co/u/Md_Saidur_Rahman)\
**Post date:** [May 6, 2020, 8:32pm UTC](https://discuss.elastic.co/t/redis-module-redis-cluster-in-metricbeat/228836/4 "2020-05-06T20:32:58Z")

</div>

Redis module is working properly after deleting dashboard and creating new one.

---

<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:** [June 3, 2020, 8:33pm UTC](https://discuss.elastic.co/t/redis-module-redis-cluster-in-metricbeat/228836/5 "2020-06-03T20:33:01Z")

</div>

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