I want to delete index that I don't use and keep just what I need, how can I do this ?

I want to delete index that I don't use and keep just what I need, how can I do this ?

You can delete an index using the delete api, take a look at : https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-delete-index.html
If you want to delete fields inside an index there is no good way to do that in ES. You need to create a new index with just the necessary fields and reindex from the old index.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.