# Data gets wiped out automatically

**URL:** <https://discuss.elastic.co/t/data-gets-wiped-out-automatically/102570>\
**Category:** Elasticsearch\
**Created:** [October 3, 2017, 2:15pm UTC](https://discuss.elastic.co/t/data-gets-wiped-out-automatically/102570 "2017-10-03T14:15:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajay\_Deekonda](https://avatars.discourse-cdn.com/v4/letter/a/8e8cbc/32.png) [@Ajay\_Deekonda](https://discuss.elastic.co/u/Ajay_Deekonda)\
**Post date:** [October 3, 2017, 2:15pm UTC](https://discuss.elastic.co/t/data-gets-wiped-out-automatically/102570/1 "2017-10-03T14:15:45Z")

</div>

We are using ES 5.5.0. I have created indexes and loaded data into it. Data gets deleted after regular interval. Again i need to load the data. Is there any issue from our side or it is the bug in elastic search?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 3, 2017, 2:32pm UTC](https://discuss.elastic.co/t/data-gets-wiped-out-automatically/102570/2 "2017-10-03T14:32:42Z")

</div>

Can you see something in logs? Can you share your logs when this is happening?

There is no such automatic deletion. It often happens:

- By end user mistake like running `DELETE *` instead of `DELETE log*`
- By lack of security and people with bad intention removing your data (do not expose your cluster on internet 🙂 )

---

<div class="post-metadata">

**Author:** ![Ajay\_Deekonda](https://avatars.discourse-cdn.com/v4/letter/a/8e8cbc/32.png) [@Ajay\_Deekonda](https://discuss.elastic.co/u/Ajay_Deekonda)\
**Post date:** [October 5, 2017, 11:59am UTC](https://discuss.elastic.co/t/data-gets-wiped-out-automatically/102570/3 "2017-10-05T11:59:32Z")

</div>

- We do not expose our cluster to any IP address, we only access the cluster using our application.
- And there is no delete specific commands running.

Is there any hardware requirement that we need to maintain? Does elastic server restart after long time delete the data? Is there any limitation of api calls?

If we keep for data long time without update or even retrieve then does it gets deleted?

Once we load the data we leave the cluster and don't even update it, we just retrieves the data in our search boxes.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 5, 2017, 12:13pm UTC](https://discuss.elastic.co/t/data-gets-wiped-out-automatically/102570/4 "2017-10-05T12:13:05Z")

</div>

> Is there any hardware requirement that we need to maintain?

No.

> Does elastic server restart after long time delete the data?

No.

> Is there any limitation of api calls?

No.

> If we keep for data long time without update or even retrieve then does it gets deleted?

No.

Can you share your logs when this is happening?

---

<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 2, 2017, 12:13pm UTC](https://discuss.elastic.co/t/data-gets-wiped-out-automatically/102570/5 "2017-11-02T12:13:34Z")

</div>

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