I have a question regarding the deletion of indices in an ELK (Elasticsearch, Logstash, Kibana) Docker-compose stack. Specifically, I would like to know the recommended procedure for deleting indices, and whether it is necessary to pause or stop the containers before executing the curl -XDELETE command.
Currently, I am using the following command to delete indices:
curl -XDELETE http://localhost:9200/logs-2023*
Questions:
1] Is this the correct approach, and should I stop or pause the containers before running this command to avoid any potential issues?
2] Then in addition, I would like to verify if the logs from 2023 will no longer appear in Kibana. Can anyone confirm this?
Any insights or best practices would be greatly appreciated.
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.