Monitoring Splunk

Stop splunk gracefully during system shutdown or reboot - RESOLVED

vikram_m
Path Finder

As the indexers and search heads are in cluster and on Unix OS, whenever there is a proper shutdown or reboot of servers is there any command or script which can tell Unix to use bin/splunk stop command.

For now I think Unix uses kill -9 before kernel is shutdown so I think there might be some alternative to stop Splunk gracefully.

0 Karma
1 Solution

jpalacian
Path Finder
0 Karma

jpalacian
Path Finder
0 Karma

vikram_m
Path Finder

Thanks for your reply J. I found in the docs that firing the reboot or shutdown command Splunk stops itself gracefully.

Also I found command to stop and start it with particular user name. Thanks for the link and clearing my doubts.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...