Skip to content

Instantly share code, notes, and snippets.

@dky
Created December 16, 2014 22:10
Show Gist options
  • Save dky/06ebe08d763c5e77c319 to your computer and use it in GitHub Desktop.
Save dky/06ebe08d763c5e77c319 to your computer and use it in GitHub Desktop.
Splunk rename forwarder
/opt/splunkforwarder/bin/splunk stop
rm /opt/splunkforwarder/etc/system/local/server.conf
rm /opt/splunkforwarder/etc/system/local/inputs.conf
rm /opt/splunkforwarder/etc/myinstall/splunkd.xml
touch /opt/splunkforwarder/ftr
/opt/splunkforwarder/bin/splunk start --accept-license
@dky
Copy link
Author

dky commented Dec 16, 2014

Use this to rename a UF with incorrect hostname.

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