Deleting fields in Elasticsearch

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

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