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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...