# All indexes deleted (including .kibana)

**URL:** <https://discuss.elastic.co/t/all-indexes-deleted-including-kibana/140292>\
**Category:** Elasticsearch\
**Created:** [July 17, 2018, 9:26am UTC](https://discuss.elastic.co/t/all-indexes-deleted-including-kibana/140292 "2018-07-17T09:26:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerzy\_Stopa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jerzy_stopa/32/31842_2.png) [@Jerzy\_Stopa](https://discuss.elastic.co/u/Jerzy_Stopa)\
**Post date:** [July 17, 2018, 9:26am UTC](https://discuss.elastic.co/t/all-indexes-deleted-including-kibana/140292/1 "2018-07-17T09:26:01Z")

</div>

Hi,

I suddenly lost all data in elasticsearch. It is single node system.  
Log shows following:  
[2018-07-17T07:44:52,833][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-kibana-6-2018.07.17/cY3e38j6Toq4eNhf-Yegzw] deleting index  
[2018-07-17T07:44:52,833][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [sym\_edge/0LtRrh-QSh-XJ\_KeG1iqWA] deleting index  
[2018-07-17T07:44:52,833][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.watches/1OGO3lR9S8uex\_owhm7vOQ] deleting index  
[2018-07-17T07:44:52,833][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [sym\_edge\_nlschraard\_cwc\_5/lVHnX8jsS8eYo9aBZTT38A] deleting index  
[2018-07-17T07:44:52,833][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [sym\_status/k4GWZrCrTKaJzONmekpggA] deleting index  
[2018-07-17T07:44:52,833][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-kibana-6-2018.07.15/b9GmgidcT\_-gpZMLuKX2oA] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [delaval\_last\_cwc/U1WfmScHQ0W2CmXDWW81RA] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-alerts-6/RVCsytE0RqGZykZa4rQTJA] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.ml-anomalies-shared/fEzHIMa8Rl-581th-4gTLA] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.ml-state/CGUy1zw1QqeHfFlzauLh1w] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [sym\_edge\_plwrsymnfo\_2/sAONFc1yTUK9sXF366pLCA] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [delaval\_cwc\_names/PT-xqdU9SleKD540rB\_eHQ] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-es-6-2018.07.17/JwHPt6sLRkifZishIrKEnw] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-kibana-6-2018.07.16/TQ1rH\_3kRNiHKx2d8ROX3A] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-kibana-6-2018.07.14/4-yA3QSRQRueiGAx8Su7Mw] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.reporting-2018.05.20/onHOQtdpRQO725kD-C8O7g] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [delaval\_cwc/rW9oY1PQSBOY4TzbujY1kw] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.kibana/y2pQ5J3kSfytHDKvefrkiQ] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-kibana-6-2018.07.12/cZGgrd85TDuqn8fCT6\_eOw] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [sym\_other/rYn5oY9\_TaazhWNY1vjYQA] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-es-6-2018.07.12/EWhAK6VlQhqNDRyZlF6SUw] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [delaval\_mqa/OyCqUwF9SfigMePcj9Oiiw] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.ml-notifications/wo2\_hR0IT7ObfazbRl9GDA] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-es-6-2018.07.13/5WADOFiVRvCaCQiVPgIN7Q] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-kibana-6-2018.07.13/58AZohfhQRCOdaATVRd08w] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-es-6-2018.07.11/ROdbcefuQaKtlHeC\_bfXWQ] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-es-6-2018.07.16/n0dCegnyQy22dH\_DP3oOZA] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-es-6-2018.07.15/W1cTX0h\_T-ewbtsY2\_vxwQ] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-es-6-2018.07.14/\_T4Qu7P0RfWfrpzyxaAhwg] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.triggered\_watches/0du0cL2pS5qs9keblfbJ-w] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.monitoring-kibana-6-2018.07.11/3Moi-Jq3Q7SJBr-fZsMQCA] deleting index  
[2018-07-17T07:44:52,834][INFO][o.e.c.m.MetaDataDeleteIndexService] [n524Xf9] [.security-6/HoobTo-YT3ON4vdmWr2OBw] deleting index

No idea what triggered the delete. Any help appreciated.  
It is development system and we can get the data back but all kibana visualisations are lost.

BR,  
Jerzy

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 17, 2018, 9:27am UTC](https://discuss.elastic.co/t/all-indexes-deleted-including-kibana/140292/2 "2018-07-17T09:27:19Z")

</div>

Is it by any chance not secured and open to the internet?

If not, is there anything in the logs?

---

<div class="post-metadata">

**Author:** ![Jerzy\_Stopa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jerzy_stopa/32/31842_2.png) [@Jerzy\_Stopa](https://discuss.elastic.co/u/Jerzy_Stopa)\
**Post date:** [July 17, 2018, 9:32am UTC](https://discuss.elastic.co/t/all-indexes-deleted-including-kibana/140292/3 "2018-07-17T09:32:26Z")

</div>

It is not secured node. Or since we upgraded to 6.3 couple of weeks ago it become open and the we didn't address the issue.  
You believe it may be intentional?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 17, 2018, 9:34am UTC](https://discuss.elastic.co/t/all-indexes-deleted-including-kibana/140292/4 "2018-07-17T09:34:19Z")

</div>

There have been reports about unsecured clusters that are open to the internet having been targeted, so that is a possibility. Is there anything in the logs around index deletion?

---

<div class="post-metadata">

**Author:** ![Jerzy\_Stopa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jerzy_stopa/32/31842_2.png) [@Jerzy\_Stopa](https://discuss.elastic.co/u/Jerzy_Stopa)\
**Post date:** [July 17, 2018, 9:59am UTC](https://discuss.elastic.co/t/all-indexes-deleted-including-kibana/140292/5 "2018-07-17T09:59:59Z")

</div>

about 1.5h before:  
[2018-07-17T06:04:23,606][INFO][o.e.c.m.MetaDataIndexTemplateService] [n524Xf9] adding template [kibana\_index\_template:.kibana] for index patterns [.kibana]  
[2018-07-17T06:04:26,147][INFO][o.e.c.m.MetaDataIndexTemplateService] [n524Xf9] adding template [kibana\_index\_template:.kibana] for index patterns [.kibana]  
[2018-07-17T07:13:35,379][DEBUG][o.e.a.b.TransportShardBulkAction] [sym\_edge][3] failed to execute bulk item (index) BulkShardRequest [[sym\_edge][3]] containing [index {[sym\_edge][machinedata][L9wWp2QBqBZpXlaZUjiS], source[{"timestamp":"2018-07-17T07:13:33","nodeId":"02017968d00a","elapsedTime":0.7,"time":1531811613,"applicationId":"PLWRSYMELIWELL","payload":{"414":"error","412\_value\_max":3276.8,"412\_value\_average":3276.8,"412":3276.8,"412\_value\_min":3276.8}}]}]  
org.elasticsearch.index.mapper.MapperParsingException: failed to parse [payload.414]

then few parsing errors and then delete index actions.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 17, 2018, 10:52am UTC](https://discuss.elastic.co/t/all-indexes-deleted-including-kibana/140292/6 "2018-07-17T10:52:07Z")

</div>

It does indeed look like someone has deleted the indices. Do you have any snapshot to restore from?

---

<div class="post-metadata">

**Author:** ![Jerzy\_Stopa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jerzy_stopa/32/31842_2.png) [@Jerzy\_Stopa](https://discuss.elastic.co/u/Jerzy_Stopa)\
**Post date:** [July 17, 2018, 11:18am UTC](https://discuss.elastic.co/t/all-indexes-deleted-including-kibana/140292/7 "2018-07-17T11:18:11Z")

</div>

Is it possible that system initiated deletion? As response to lack of disk space (we had plenty though) or other event?

I do not have snapshot not any backup. Once again good lesson received.  
Luckelly it was mostly leraning system with some visualisation development so nothing crucial is lost.  
Some work to re-create visualisations.

Can I get any security with basic X-pack (we use version 6.3).  
I plan to go for hosted version for production but for next few months we need to stick to what is available.

I will configure snapshots and some extra backup....

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 17, 2018, 11:21am UTC](https://discuss.elastic.co/t/all-indexes-deleted-including-kibana/140292/8 "2018-07-17T11:21:34Z")

</div>

Elasticsearch does not delete data, even if there is a lack of disk space.

> [@Jerzy\_Stopa](#):
>
> Can I get any security with basic X-pack (we use version 6.3).

The basic license does not include security.

---

<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:** [August 14, 2018, 11:21am UTC](https://discuss.elastic.co/t/all-indexes-deleted-including-kibana/140292/9 "2018-08-14T11:21:38Z")

</div>

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