Getting Data In

How would we extract only certain cookies from cs_cookies at indexing so we don't save all cookies?

ryaker
New Member

We are trying to decrease the amount of data we are indexing from iis.
We have turned on adding the cookie to the iis log for specific cookies we wish to monitor and analyze, and do not need other cookie data that is just churning through our data quota.
What would the transform be to only extract certain cookies, and not index all of cs_cookie with each iis entry?

Tags (1)
0 Karma

tiagofbmm
Influencer
0 Karma

ryaker
New Member

We don't want to discard events. We want to reduce the size of an event by only capturing some data from a given field within an event. reducing the size of the field.

0 Karma

tiagofbmm
Influencer

Ok so I believe you can do a SEDCMD to replace what you don't need by nothing

https://docs.splunk.com/Documentation/Splunk/7.0.2/Data/Anonymizedata#Define_the_sed_script_in_props...

0 Karma

tiagofbmm
Influencer

Please let me know if the answer was useful for you. If it was, accept it and upvote. If not, give us more input so we can help you with that

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...