All Apps and Add-ons

How are cookies populated for the REST API Modular Input?

splunkDude2015
Explorer

When I manually create a rest api stazna in resta_ta/local/inputs.conf and added the cookies = stanza, I see that it is not populated. How is that entry populated and what am I doing wrong?

0 Karma

Damien_Dallimor
Ultra Champion

Cookies can get written in 2 ways :

1) you can declare any cookies in the format key=value,key2=value2.....

2) Cookies are dynamically persisted to the cookies parameter in inputs.conf by the modular input's script upon receiving them in an HTTP response.

0 Karma
Get Updates on the Splunk Community!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...