I search on internet that we have to unistall each of the ELK part one by one like unistall stand-alone kibana, elastic search, and logstash. Is there any command which no need to unistall all of them one by one but using only one single command ?

this is the package that i used in my source.list

deb https://artifacts.elastic.co/packages/6.x/apt stable main
  • how were the sources codes (or packages?) installed? – thrig Dec 16 '17 at 15:48
  • @thrig deb https://artifacts.elastic.co/packages/6.x/apt stable main – gagantous Dec 16 '17 at 16:04
  • @thrig i used this package, and i just install like common package, such apt-get update and then apt-get install elasticsearch, kibana, logstash etc – gagantous Dec 16 '17 at 16:11
  • does apt-get have an "uninstall" command that may be mentioned in its man page? – thrig Dec 16 '17 at 16:22
  • @thrig so the command will be apt-get unnistal ... ? – gagantous Dec 16 '17 at 16:23

Take a look at the configured data directories in the respective files under /etc/elasticsearch, logstash and kibana. Remember the data directories. /var/lib/elasticsearch and so on are the defaults.


apt-get remove --purge elasticsearch logstash kibana

This should remove the package contents and the config files. As for data and cache files, you need to check the directories configured in the config files and remove those with manually.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.