Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Help understanding standard deviation alert for entries that have a count of 0?

$
0
0
I have seen several similar questions asked, but they are often answered in different ways so I'm hoping whoever answers this can explain why they created the search string the way they did. I have multiple hosts and I want to create an alert if the count of events reduces by more than 2 standard deviations on a per hour basis for the last four weeks for each host. I have seen many examples that used buckets while others used timechart. My understanding is that bucket will not include entries that have a count of 0 so timechart should be used, is this correct? index=is1 | timechart span=1h count by host | stats stdev(count) AS Stdev | eval thresh=Stdev*2 | where count < thresh | table host count

Viewing all articles
Browse latest Browse all 47296

Trending Articles