# How to make writing on ElasticSearch safe?

**URL:** <https://discuss.elastic.co/t/how-to-make-writing-on-elasticsearch-safe/300018>\
**Category:** Elasticsearch\
**Created:** [March 18, 2022, 9:18am UTC](https://discuss.elastic.co/t/how-to-make-writing-on-elasticsearch-safe/300018 "2022-03-18T09:18:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TonyAgosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tonyagosta/32/103202_2.png) [@TonyAgosta](https://discuss.elastic.co/u/TonyAgosta)\
**Post date:** [March 18, 2022, 9:18am UTC](https://discuss.elastic.co/t/how-to-make-writing-on-elasticsearch-safe/300018/1 "2022-03-18T09:18:34Z")

</div>

Hi to all, I'm new on this community.  
My application write on Elasticsearch index using Apache Camel routes. Sometimes it happens that my Elasticsearch is not reachable and therefore the data that should be written at that time is lost. Is there a way to make it safe to write to Elasticsearch in order to retrieve data that was not stored during the down period?

---

<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:** [April 15, 2022, 9:18am UTC](https://discuss.elastic.co/t/how-to-make-writing-on-elasticsearch-safe/300018/2 "2022-04-15T09:18:35Z")

</div>

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