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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...