# How to delete data complete?

**URL:** <https://discuss.elastic.co/t/how-to-delete-data-complete/50123>\
**Category:** Logstash\
**Created:** [May 16, 2016, 1:40pm UTC](https://discuss.elastic.co/t/how-to-delete-data-complete/50123 "2016-05-16T13:40:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefansaye](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@stefansaye](https://discuss.elastic.co/u/stefansaye)\
**Post date:** [May 16, 2016, 1:40pm UTC](https://discuss.elastic.co/t/how-to-delete-data-complete/50123/1 "2016-05-16T13:40:49Z")

</div>

hi all,  
i have using  
curl -XDELETE to delete indices and delete (logstash-log-_) index from kibana ,  
but when i create the index (logstash-log-_) again , why the old field for the index (logstash-log-\*) is still exist ? and have \*.raw fields ?  
how to delete data and field from kibana complete ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 16, 2016, 5:05pm UTC](https://discuss.elastic.co/t/how-to-delete-data-complete/50123/2 "2016-05-16T17:05:41Z")

</div>

If they are showing up after you delete the data and then recreate the index with new data, then those fields exist because they need to. ie the data has those fields.

---

<div class="post-metadata">

**Author:** ![stefansaye](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@stefansaye](https://discuss.elastic.co/u/stefansaye)\
**Post date:** [May 17, 2016, 12:48am UTC](https://discuss.elastic.co/t/how-to-delete-data-complete/50123/3 "2016-05-17T00:48:18Z")

</div>

> [@stefansaye](#):
>
> \*.raw fields

but the same field have \*.raw fields too ?  
for example ,

afield and afield.raw

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 17, 2016, 5:55am UTC](https://discuss.elastic.co/t/how-to-delete-data-complete/50123/4 "2016-05-17T05:55:29Z")

</div>

Yes, the template that LS uses does this/

---

<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 6, 2017, 4:57am UTC](https://discuss.elastic.co/t/how-to-delete-data-complete/50123/5 "2017-07-06T04:57:28Z")

</div>


