# Redis : packetbeat key not recreated is redis server restart

**URL:** <https://discuss.elastic.co/t/redis-packetbeat-key-not-recreated-is-redis-server-restart/27296>\
**Category:** Beats\
**Created:** [August 13, 2015, 4:58am UTC](https://discuss.elastic.co/t/redis-packetbeat-key-not-recreated-is-redis-server-restart/27296 "2015-08-13T04:58:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandre\_Derumier](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@Alexandre\_Derumier](https://discuss.elastic.co/u/Alexandre_Derumier)\
**Post date:** [August 13, 2015, 4:58am UTC](https://discuss.elastic.co/t/redis-packetbeat-key-not-recreated-is-redis-server-restart/27296/1 "2015-08-13T04:58:18Z")

</div>

Hi,

I have noticed that packetbeat key in redis (if we use redis output), is not recreated if the redis server restart.

restarting packetbeat after redis restart , recreate correctly the key.

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [August 18, 2015, 4:27am UTC](https://discuss.elastic.co/t/redis-packetbeat-key-not-recreated-is-redis-server-restart/27296/2 "2015-08-18T04:27:20Z")

</div>

Hi,

have you logstash configured to read from redis? What happens if logstash is off and you restart redis? Have you checked the connections between packetbeat and redis via netstat (before and after redis restart)? packetbeat should reconnect to redis on failure.

---

<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/redis-packetbeat-key-not-recreated-is-redis-server-restart/27296/3 "2017-07-05T21:58:58Z")

</div>


