All Apps and Add-ons

How to trigger alerts on value of a custom field

joydeep741
Path Finder

My results are like :-

200 423405 757168 846810 OK

201 5704 15009 11408 HIGH COUNT

206 17 14 34 OK

301 20646 31255 41292 OK

302 11509 26836 23018 HIGH COUNT

I want to trigger the alert if the last column has even one occurrence value as "HIGH COUNT" ?Any suggestions

0 Karma

dineshraj9
Builder

Extract it into a field and then add a filter for the value -

index=A sourcetype=B | rex "(\w+\s+){4}(?<COUNT_STATUS>.+)" | search COUNT_STATUS="HIGH COUNT"

If the number of events returned for the query is more than 0 would be the condition.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...