All Apps and Add-ons

How to configure a custom alert on the basis of count of single unique field value?

schiwark
Explorer

I want to configure an alert where alert should trigger if any unique value from field A is 5 or more than 5 in last 10 minutes.

I was able to configure the above part but along with the field A I also want the values of field B in an inline table of an alert which are associated with field A.

Can someone suggest me on this?

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @schiwark,

did you tried something like this?

your_search earliest=-10m@m latest=now
| stats values(fieldB) AS fieldB count BY fieldA
| where count>10

Ciao.

Giuseppe

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,  ...