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

 

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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

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