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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...