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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...