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, an upvote would be appreciated.
0 Karma
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!