Getting Data In

find absence of data in splunk - iis

benj851
Explorer

Hello; 

 

We ingest IIS logs. Recently some of our iis calls lately haven't included the required username, causing the call to fail. I am trying to find a way in splunk to query the absence of the cs_username field. But, because the field doesn't populate in the iis call when there's no username present, I'm stuck. So searching for a null value does nothing.

 

I would greatly appreciate any assistance.  

Labels (1)
Tags (1)
0 Karma
1 Solution

scelikok
SplunkTrust
SplunkTrust

Hi @benj851,

Did you try below?

| where isnull(cs_username)
If this reply helps you an upvote and "Accept as Solution" is appreciated.

View solution in original post

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @benj851,

Did you try below?

| where isnull(cs_username)
If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...