Installation

How do I know if my Splunk uninstall was successful on CentOS?

cebo_myeza
Path Finder

I am asking this because i did the uninstall using the following commands on centos

Run the following command to find the correct package name.
rpm -q -a | grep -i splunk

Pass the result to the rpm -e command
"rpm -e splunk-6.2.2-255606"

but after the uninstall, I still see the /opt/splunk/ directory on my system.

thanks please help

Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

If a subsequent rpm -q -a command does not show Splunk, then it is uninstalled. You can then clean up the Splunk directory using rm -rf /opt/splunk. If your Splunk DB is not under /opt/splunk then you will have to delete it with a separate command.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

If a subsequent rpm -q -a command does not show Splunk, then it is uninstalled. You can then clean up the Splunk directory using rm -rf /opt/splunk. If your Splunk DB is not under /opt/splunk then you will have to delete it with a separate command.

---
If this reply helps you, Karma would be appreciated.

cebo_myeza
Path Finder

thank you richgalloway

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...