All Apps and Add-ons

REST Modular inputs - how to pass session token from one rest inputs to another rest inputs

kachoy
Engager

Hi

I am using REST modular inputs to get my HP storage data.

I need to get the session token from http://xxx.xxx.xxx.xxx/pa/REST/api/auth then use the token as the header for https://xxx.xxx.xxx.xxx/pa/REST/api/data/arrayDetails

I understand that authhandler.py can do the trick, but i really weak in python.

Appreciate that anyone can advise me the details step.

Thanks

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...