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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...