Just installed the pagerduty splunk app and have configured it, but it fails to work. The splunk python.log shows the pagerduty.py script is being executed, but nothing is showing up in pagerduty (API key is set). When attempting to run the script by hand with the exact same arguments that are in the python.log (and after setting the splunk env vars), it fails with:
Traceback (most recent call last):
File "/opt/splunk/bin/scripts/pagerduty.py", line 157, in <module> main()
File "/opt/splunk/bin/scripts/pagerduty.py", line 152, in main description = details['events'][0]['_raw']
IndexError: list index out of range
I am not certain this is the reason the app isn't working when executed by splunk though. But I couldn't find any errors from the app anywhere. This is with splunk 5.0 on ubuntu 12.04
Just installed the pagerduty splunk app and have configured it, but it fails to work. The splunk
python.log
shows thepagerduty.py
script is being executed, but nothing is showing up in pagerduty (API key is set). When attempting to run the script by hand with the exact same arguments that are in thepython.log
(and after setting the splunk env vars), it fails with:I am not certain this is the reason the app isn't working when executed by splunk though. But I couldn't find any errors from the app anywhere. This is with splunk 5.0 on ubuntu 12.04