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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...