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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...