All Apps and Add-ons

Uninstall an app using CLI

splknb
Observer

Hello 

How does a user uninstall an app using CLI?

I entered the following in the terminal 

./splunk remove app [appname] -auth <username>:<password>

 
I got an error -parse error near `\n'

Thanks
Splunk Newbie
Labels (1)
Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

What are you using for [appname]?  It should be the app's subdirectory name rather than the pretty name.

If that doesn't work then there's always rm -r /opt/splunk/etc/app/appname; splunk restart

---
If this reply helps you, Karma would be appreciated.
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 ...