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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...