Splunk Search

Query to check all apps in lookup that haven't had an event in the last 90 days.

Chris_Urman
Engager

I have a lookup that has saved all apps installed on our deployment server. I need a query that checks all apps in the lookup without an app event in the last 90 days. Thank you for any assistance. 

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Assuming your app name in the events is app and the app name in the lookup is also app, you could do something like this (over the past 90 days)

| stats count by app
| append
  [| inputlookup lookup]
| stats count by app
| where count == 1

View solution in original post

0 Karma

Chris_Urman
Engager

Made a couple minor adjustments but this is what I needed to solve my issue. Thank you.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Assuming your app name in the events is app and the app name in the lookup is also app, you could do something like this (over the past 90 days)

| stats count by app
| append
  [| inputlookup lookup]
| stats count by app
| where count == 1
0 Karma
Get Updates on the Splunk Community!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...