# Can I restart logstash while beats and ES are running?

**URL:** <https://discuss.elastic.co/t/can-i-restart-logstash-while-beats-and-es-are-running/138137>\
**Category:** Logstash\
**Created:** [July 2, 2018, 7:45am UTC](https://discuss.elastic.co/t/can-i-restart-logstash-while-beats-and-es-are-running/138137 "2018-07-02T07:45:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fRzzy](https://avatars.discourse-cdn.com/v4/letter/f/e47c2d/32.png) [@fRzzy](https://discuss.elastic.co/u/fRzzy)\
**Post date:** [July 2, 2018, 7:45am UTC](https://discuss.elastic.co/t/can-i-restart-logstash-while-beats-and-es-are-running/138137/1 "2018-07-02T07:45:35Z")

</div>

Currently Beats are pushing logs to LS then LS push processed data to ES, can I safely restart LS while both of them are running and everything will be re-connected without losing any log event?

---

<div class="post-metadata">

**Author:** ![kskubala](https://avatars.discourse-cdn.com/v4/letter/k/c5a1d2/32.png) [@kskubala](https://discuss.elastic.co/u/kskubala)\
**Post date:** [July 2, 2018, 8:24am UTC](https://discuss.elastic.co/t/can-i-restart-logstash-while-beats-and-es-are-running/138137/2 "2018-07-02T08:24:13Z")

</div>

Yes, you don't have to worry about anything. Beats will continue as soon it gets back connection to LS.

---

<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 30, 2018, 8:28am UTC](https://discuss.elastic.co/t/can-i-restart-logstash-while-beats-and-es-are-running/138137/3 "2018-07-30T08:28:39Z")

</div>

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