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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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