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
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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...