SplunkSplunk
SPLK-1002 · Question #128
SPLK-1002 Question #128: Real Exam Question with Answer & Explanation
Sign in or unlock SPLK-1002 to reveal the answer and full explanation for question #128. The question stem and answer options stay visible for context.
Creating Field Aliases and Calculated Fields
Question
In the following eval statement, what is the value of description if the status is 503? index=main | eval description=case(status==200, "OK", status==404, "Not found", status==500, "Internal Server Error")
Options
- AThe description field would contain no value.
- BThe description field would contain the value 0.
- CThe description field would contain the value "Internal Server Error".
- DThis statement would produce an error in Splunk because it is incomplete.
Unlock SPLK-1002 to see the answer
You've previewed enough free SPLK-1002 questions. Unlock SPLK-1002 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#eval command#case function#conditional logic#calculated fields