Clearing index pattern fields

I want to clear around 2000 unused fields in a kibana index pattern and I was wondering wich of the following two approaches should I take:

  • deleting all of the fields and then only the used fields will be recreated by the index pattern

  • going over all the 9000 fields and looking for the unused ones and delete them afterwards

the first approach is a lot more easier however I'm not very sure since I'm new to ELK and thanks for the help

Welcome to our community! :smiley:

If the fields are still in the mapping, in Elasticsearch, then they will still show up in Kibana. If they really are unused then you will need to reindex the data to remove those fields.

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