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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...