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!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...