Getting Data In

Nested if

Madhusri
Engager

Hi,

In a field status contains two values one is failure and another is success.

Where in failure it contains some description values also an null value.

Also in success it contain description as null value.

As I am confused how to check null condition as it contains in both failure and success descriptions.

 

Regards,

Madhusri R

 

Labels (1)
Tags (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

isnull() and isnotnull() are the two functions you should look at e.g.

| eval status=if(isnotnull(description),"not empty","null")
| eval status=if(isnull(description),"null","not empty")
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...