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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...