Splunk Search

Compare results from yesterday to today

rjfv8205
Path Finder

Hello Splunkers.

Yesterday I don't have events but today I have it.

For example:

Event aaa today exists 100 times but yesterday didn't exist
Event bbb today exists 80 times but yesterday didn't exist
Event ccc today exists 60 times but yesterday did exist 30 times
Event ddd today exists 40 times but yesterday didn't exist

I want make a search that alert all events that today exists but yesterday didn't exist I tried with subsearch and outter join but I didn't have results.

index = "ems" SS_ID =* EVENT_NBR=* | where _time <= relative_time(now(), "-2d@d") | stats count by SS_ID EVENT_NBR | join type=outter SS_ID EVENT_NBR [ index = "ems" | table SS_ID EVENT_NBR ]

Additionally alert events that exists more than 60 times (Event aaa, event bbb in this case).

0 Karma
Get Updates on the Splunk Community!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...