I need to call a 3rd party Rest API in alert action python script. I am looking for a way to store and retrieve user name and password for the 3rd party APIs. The app setup seems to work for script data inputs only - I tried and could not get it work for alerts. What is the best option here?
George covers this pretty well at http://www.georgestarcher.com/splunk-alert-scripts-automating-control
George covers this pretty well at http://www.georgestarcher.com/splunk-alert-scripts-automating-control
Is it possible to share working link for guidance?or any other reference would be much appreciated.
Thanks. I've updated the code to handle that now.
Not so fast! with Splunk 6.1.1, sessionKey must be urldecoded.
Did not realize the "sessionKey=" was a part of the sessionKey. Once removed the first 11 characters all worked. Thanks!
Thanks. Good to know someone already made it work. I followed the same script input doc. I will try to figure out what my problem is and update this.