# Metricbeat error on Redis module

**URL:** <https://discuss.elastic.co/t/metricbeat-error-on-redis-module/167124>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [February 5, 2019, 12:51pm UTC](https://discuss.elastic.co/t/metricbeat-error-on-redis-module/167124 "2019-02-05T12:51:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nelson\_Ferreira\_Juni](https://avatars.discourse-cdn.com/v4/letter/n/5e9695/32.png) [@Nelson\_Ferreira\_Juni](https://discuss.elastic.co/u/Nelson_Ferreira_Juni)\
**Post date:** [February 5, 2019, 12:51pm UTC](https://discuss.elastic.co/t/metricbeat-error-on-redis-module/167124/1 "2019-02-05T12:51:19Z")

</div>

I'm running a master and a slave instance of redis on a local and remote server.  
When I try to start metricbeat I'm getting this error:

ERROR redis/redis.go:72 Error retrieving slowlog len: ERR unknown command `SLOWLOG`, with args beginning with: `len`,

My Redis yml module file:

```auto
# Module: redis
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/6.x/metricbeat-module-redis.html

- module: redis
  metricsets:
    - info
    - keyspace
  period: 10s

  # Redis hosts
  hosts: ["remote_server:16302"]

  # Network type to be used for redis connection. Default: tcp
  #network: tcp

  # Max number of concurrent connections. Default: 10
  #maxconn: 10

  # Redis AUTH password. Empty by default.
  #password: foobared

```

Does anyone know what it might be?

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [February 6, 2019, 11:58am UTC](https://discuss.elastic.co/t/metricbeat-error-on-redis-module/167124/2 "2019-02-06T11:58:15Z")

</div>

Hi @Nelson_Ferreira_Juni

Can you also tell us which version of Redis you are using so we can try to reproduce the error? Also the version of Metricbeat, please.

`SLOWLOG LEN` command is pretty straighforward. With the information you are providing us I might think that your Redis version is maybe too old.

---

<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:** [March 6, 2019, 11:58am UTC](https://discuss.elastic.co/t/metricbeat-error-on-redis-module/167124/3 "2019-03-06T11:58:25Z")

</div>

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