Splunk Dev

java sdk shutdown

ghostd0g
Engager

Hi,

can the JAva API for splunk used to shutdown or start/restart the splunk server?
thanks

0 Karma

satishachary199
New Member

Yes, we can restart the splunk service , using Service instance. There is a function public ResponseMessage restart() by calling this fucntion we can doit.

0 Karma
Get Updates on the Splunk Community!

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...

Hunt Smarter, Not Harder: Discover New SPL “Recipes” in Our Threat Hunting Webinar

Are you ready to take your threat hunting skills to the next level? As Splunk community members, you know the ...