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!

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

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...