After experimenting with Elasticsearch I'm searching for a way to completely remove everything concerning Elasticsearch on my server. I made quite a few mistakes and want to start completely new with a new installation.
Simply find the Java process that Elasticsearch is in and kill, or use curl -XPOST /*Your Ip*/:9200/_shutdown
.
Then remove Elasticsearch from your system by simply deleting the ES files/folder.
Various different setups could require different deletion methods (linux use rm -rf
ES dirs, windows the good ol' delete button will work, logstash may require additional steps) but as a general rule it's quite simply to remove.
If you wish to remove only the data you can delete the data dir, or wipe all your indexes and reindex.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With