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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...