# What happens when logstash can't send data to Elastic

**URL:** <https://discuss.elastic.co/t/what-happens-when-logstash-cant-send-data-to-elastic/106078>\
**Category:** Logstash\
**Created:** [November 1, 2017, 6:37pm UTC](https://discuss.elastic.co/t/what-happens-when-logstash-cant-send-data-to-elastic/106078 "2017-11-01T18:37:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbade](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@sbade](https://discuss.elastic.co/u/sbade)\
**Post date:** [November 1, 2017, 6:37pm UTC](https://discuss.elastic.co/t/what-happens-when-logstash-cant-send-data-to-elastic/106078/1 "2017-11-01T18:37:07Z")

</div>

In a scenario where logstash is sending data, and there is a network problem where it can not send for some period of time, what happens to the data. Is it cached so that when connectivity is restored the data flows?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 2, 2017, 7:27am UTC](https://discuss.elastic.co/t/what-happens-when-logstash-cant-send-data-to-elastic/106078/2 "2017-11-02T07:27:13Z")

</div>

See the Retry Policy section in the elasticsearch output documentation.

---

<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:** [November 30, 2017, 7:27am UTC](https://discuss.elastic.co/t/what-happens-when-logstash-cant-send-data-to-elastic/106078/3 "2017-11-30T07:27:18Z")

</div>

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