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!

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...

Explore the Latest Educational Offerings from Splunk [January 2025 Updates]

At Splunk Education, we are committed to providing a robust learning experience for all users, regardless of ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...