Here's an automated way to do it from an icon in your GUI, assuming you put Splunk in its default location in the Applications folder, change the script if you did not put it in Applications .
Open up Script Editor, paste this in, save it to something that makes sense to you, may want to save as "File Format" "Application" so that all you need to do is double click your icon to get it up and running. To shut down Splunk, the 'do shell script' line below can be used, and just substitute the word "stop" for "start"
Happy Splunking!
# Start Splunk Script using AppleScript
# Editor: Chuck Hauge - 5/21/17
do shell script "'Applications/Splunk/bin/splunk' start"
tell application "Safari"
tell window 1
set current tab to (make new tab with properties {URL:"http://localhost:8000"})
end tell
end tell
... View more