# Deleting fields in Elasticsearch

**URL:** <https://discuss.elastic.co/t/deleting-fields-in-elasticsearch/139965>\
**Category:** Elasticsearch\
**Created:** [July 13, 2018, 2:47pm UTC](https://discuss.elastic.co/t/deleting-fields-in-elasticsearch/139965 "2018-07-13T14:47:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amruth](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@amruth](https://discuss.elastic.co/u/amruth)\
**Post date:** [July 13, 2018, 2:47pm UTC](https://discuss.elastic.co/t/deleting-fields-in-elasticsearch/139965/1 "2018-07-13T14:47:48Z")

</div>

Hi,

I am ingesting data to elasticsearch using logstash and my indexes are created every month(sample-%{+YYYY.MM}).

sample-2018.04 and sample-2018.05 indexes have unwanted fields(nearly 8000 fields). Now, I've corrected my mistake in sample-2018.06(only 120 fields). But when I search in Index Patterns in Kibana, it still shows 8000 fields. So can someone please say,

```
If there is a way to delete fields in elasticsearch?

If I delete the old indexes, then I would only see 120 fields?

```

Having 8000 fields would definitely effect elasticsearch index performance which I am already experiencing. Please shed some light on this issue.

Thanks

---

<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 10, 2018, 2:48pm UTC](https://discuss.elastic.co/t/deleting-fields-in-elasticsearch/139965/2 "2018-08-10T14:48:04Z")

</div>

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