Developing for Splunk Enterprise

Python script to get splunk status

Contributor

Hi,

I need a python script to get the splunk status. Already we have a shell script for this one, but now I need python script for knowledge purpose.

Labels (1)
0 Karma

SplunkTrust
SplunkTrust

@vijaysri
then call shell command OR script from python script.. refer below link.

http://cmdlinetips.com/2014/03/how-to-run-a-shell-command-from-python-and-get-the-output/

0 Karma