Hello,
I have setup a Splunk app that has Custom REST Endpoints which make Splunk API calls, currently via the python requests module. I am authenticating to the API by grabbing the session key via the the Custom REST Endpoint's handler. This works but I am wondering if either the SDK or Splunk python libraries can handle this a little more gracefully or not? I noticed when building the dashboards that I can just call service.METHOD in SplunkJS to hit the Custom REST Endpoints so wondering if there is a python class/method that handles the authentication, etc such as this.
Thanks
... View more