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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...