# Monitoring the Redis using pacetbet

**URL:** <https://discuss.elastic.co/t/monitoring-the-redis-using-pacetbet/27652>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [August 19, 2015, 8:58am UTC](https://discuss.elastic.co/t/monitoring-the-redis-using-pacetbet/27652 "2015-08-19T08:58:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Augustin\_Chen](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Augustin\_Chen](https://discuss.elastic.co/u/Augustin_Chen)\
**Post date:** [August 19, 2015, 8:58am UTC](https://discuss.elastic.co/t/monitoring-the-redis-using-pacetbet/27652/1 "2015-08-19T08:58:33Z")

</div>

Hi,

We build the log system using the infrastructure redis+logstsh+kibana. And we plan to monitor the performance of the redis instance using the packetbeat. The configure files looks like the following.

protocols:  
redis:

```
# Configure the ports where to listen for Redis traffic. You can disable
# the Redis protocol by commenting out the list of ports.
ports: [6379]

```

output:  
redis:  
enabled: true  
host: "localhost"  
port: 6379  
db: 4  
index: packetbeat  
save\_topology: True

With the above config, the packetbeat sniffs the traffic that reaches the redis and push an event to the same redis instances. I believe the event is recursively pushed to redis.

Is there a way to filter out the events published by redis? Or I should set up another dedicated redis instance to store the packetbeat events.

---

<div class="post-metadata">

**Author:** ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)\
**Post date:** [August 19, 2015, 4:11pm UTC](https://discuss.elastic.co/t/monitoring-the-redis-using-pacetbet/27652/2 "2015-08-19T16:11:26Z")

</div>

Right, I'd recommend using a second instance running on a different port (e.g. 6380).

---

<div class="post-metadata">

**Author:** ![Augustin\_Chen](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Augustin\_Chen](https://discuss.elastic.co/u/Augustin_Chen)\
**Post date:** [August 20, 2015, 7:23am UTC](https://discuss.elastic.co/t/monitoring-the-redis-using-pacetbet/27652/3 "2015-08-20T07:23:30Z")

</div>

Thank you

---

<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:** [July 5, 2017, 9:58pm UTC](https://discuss.elastic.co/t/monitoring-the-redis-using-pacetbet/27652/4 "2017-07-05T21:58:56Z")

</div>


