On ubuntu menu bar click on System --> Preferences then navigate to Startup Applications.
On Start up Applications Preferences window click on Add.

Name it as Splunk Daemon then add the command to run splunk on startup which is /opt/splunk/bin splunk start

Splunk will now start automatically everytime the server is restarted. Splunk admin page can now be access using this link - http://server-ip-address:8000.
1 comment:
As an alternative, you can simply run ./splunk enable boot-start (as root, and from the $SPLUNK_HOME/bin account)
Post a Comment