Developing for Splunk Enterprise

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
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!