Splunk Search

How to check since how long the field is having null value?

493600
Explorer

I want to check for how long my field TPP_ID is empty. I want to check date and time. Is it possible using splunk query?

Tags (1)
0 Karma
1 Solution

manjunathmeti
Champion

Try this:

index=<index_name> NOT TPP_ID=* | stats earliest(_time) as et latest(_time) as lt | eval time_diff = lt - et

View solution in original post

manjunathmeti
Champion

Try this:

index=<index_name> NOT TPP_ID=* | stats earliest(_time) as et latest(_time) as lt | eval time_diff = lt - et
Get Updates on the Splunk Community!

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, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...