All Apps and Add-ons

Create an alert if the field values are null and mail it to specific person in dashboard??

chitreshakumar
Communicator

I have a new requirement.I need to add an alert if any of the field contains NULL value .Then the alert should automatically send a mail to the respective members ??Please help me complete this

0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi chitreshakumar,
did you already created a search to obtain the result you want?
something like this:

index=my_index 
| eval check=case(isnull(field1),1,isnull(field2),1,isnull(field3),1)
| search check=1

if there's any null field you'll have results.

So you can schedule an alert and use send email as action.

Bye.
Giuseppe

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi chitreshakumar,
did you already created a search to obtain the result you want?
something like this:

index=my_index 
| eval check=case(isnull(field1),1,isnull(field2),1,isnull(field3),1)
| search check=1

if there's any null field you'll have results.

So you can schedule an alert and use send email as action.

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