Skip to content

Instantly share code, notes, and snippets.



Last active Oct 18, 2018
What would you like to do?
Remove Splunk /etc/system/local configs - Linux
[ -d "/opt/splunk" ] && SPLUNKPATH="/opt/splunk"
[ -d "/opt/splunkforwarder" ] && SPLUNKPATH="/opt/splunkforwarder"
[ -f "$SPLUNKPATH/etc/system/local/inputs.conf" ] && rm -f $SPLUNKPATH/etc/system/local/inputs.conf
[ -f "$SPLUNKPATH/etc/system/local/outputs.conf" ] && rm -f $SPLUNKPATH/etc/system/local/outputs.conf
[ -f "$SPLUNKPATH/etc/system/local/deploymentclient.conf" ] && rm -f $SPLUNKPATH/etc/system/local/deploymentclient.conf

This comment has been minimized.

Copy link
Owner Author

@automine automine commented Oct 16, 2018

Use at your own risk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment