Because the log file was rather large, here's the output from the current hour only. Right before grabbing the output, I changed the $SPLUNK_DB variable and tried (unsuccessfully again) to start splunk using the same command I referenced above.
I was going to attach the file but the forums only allow jpg, gif, and png. Uggh. So then I tried pasting but was denied because it exceeded 20,000 characters. It seems it's just not my day.
So here's the partial log, as a Dropbox link.
Thanks!
So it looks like there are several restarts of Splunk in that log. Just one would have made for smaller pasting.
There are very few errors in the log and none of them seem related to Splunk not staying up. However, these lines start a very relevant section:
06-26-2020 16:18:19.951 +0000 INFO IndexProcessor - handleSignal : Disabling streaming searches.
06-26-2020 16:18:19.951 +0000 INFO IndexProcessor - request state change from=RUN to=SHUTDOWN_SIGNALED
06-26-2020 16:18:19.951 +0000 INFO UiHttpListener - Shutting down webui
06-26-2020 16:18:19.951 +0000 INFO UiHttpListener - Shutting down webui completed
06-26-2020 16:18:24.958 +0000 INFO loader - Shutdown HTTPDispatchThread
06-26-2020 16:18:24.959 +0000 INFO ShutdownHandler - Shutting down splunkd
It seems that Splunk is receiving a signal to shutdown and so it does so. I suspect this signal is coming from systemd. Check the systemctl log (run journalctl).
I've seen a case where systemd would shutdown Splunk because an external drive was not ready, yet. IIRC, the fix involved using the "After" option to make sure the drive was mounted before starting Splunk as well as an ExecStartPre option to force a mount of the external drive, just to make sure it's there. I'll see if I can find the details.