Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Splunk Exam SPLK-1002 Topic 3 Question 106 Discussion

Actual exam question for Splunk's SPLK-1002 exam
Question #: 106
Topic #: 3
[All SPLK-1002 Questions]

Given the following eval statement:

... | eval field1 = if(isnotnull(field1),field1,0), field2 = if(isnull(field2), "NO-VALUE", field2)

Which of the following is the equivalent using fillnull?

Show Suggested Answer Hide Answer
Suggested Answer: D

The fillnull command can be used to replace null values in specific fields. The correct equivalent expression for the given eval statement would involve using fillnull twice, once for field1 to replace null values with 0, and once for field2 to replace null values with 'NO-VALUE'.


Splunk Docs - fillnull command

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel