Splunk Search

is there a way to find if a field itself is not being sent

xvxt006
Contributor

Hi,

we have a cookie that we pass in the web logs. Sometimes some of the requests are not sending the cookie itself. Is there a way to find this using splunk?

Tags (1)

jtrucks
Splunk Employee
Splunk Employee

Is there a field like cookie= available? if so, look for "cookie=*" to get all answers with "cookie=" in the event. Then you can check " ...| eval isnull(cookie)" to see what entries have nothing set for cookie.

Also read:

http://splunk-base.splunk.com/answers/28197/how-do-i-search-for-event-with-null-values-in-fields

If there is NOT a field defined in such a way, you will have to do " ... NOT cookie=*" in order to negate the entries that already contain data in the extracted cookie field.

--
Jesse Trucks
Minister of Magic

xvxt006
Contributor

Thank you. One question, even though we don't see the key in the logs (we only see the values), should i be able to search by key=* . Also another question is, say the cookie name is xxx but if we extract and named it as yyy. So should i search by xxx=* or yyy=*?

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...

Get Early Access to AI Playbook Authoring: Apply for the Alpha Private Preview ...

Passionate about security automation? Apply now to our AI Playbook Authoring Alpha private preview ...

Reduce and Transform Your Firewall Data with Splunk Data Management

Managing high-volume firewall data has always been a challenge. Noisy events and verbose traffic logs often ...