Splunk Core Certified Power User — Question 81

Given the following eval statement:

... | eval field1 = if(isnotnull(fieid1),field1,0), field2 = if(isnull
Which of the following is the equivalent using fillnull?

Answer options

Correct answer: C

Explanation

Option C is the correct answer because it effectively replaces null values for both field1 and field2, aligning with the original eval statement's intent. The other options either do not provide equivalent functionality or incorrectly format the fillnull command.