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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...