Splunk Search

Count also occurences that are not present for alerting

sbsbb
Builder

I've made some searchs for alerting, but my problem is when I make a | stats count, if some occurences are not present in the time frame I search, the count will no be 0, they won't be anything, how can I change this...

For exemple at the moment if messege 1 not present, I have this
Count
Messege 1 5
Messege 1 5

I would like this

          Count

Messege 1 5
Messege 1 5
Messege 0 5

Tags (3)
0 Karma

yannK
Splunk Employee
Splunk Employee
0 Karma

sbsbb
Builder

I'm not sure, but it seems this doesn't work if there is no event at all...

for exemple, if I'm counting the error by partner,
if I've got over the search time range 0 messages from that parner, there is no line for it in the results...

An fillnull doesn't help... or am I wrong ?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...