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 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...