Exam SPLK-1002 All QuestionsBrowse all questions from this exam
Question 132

If a calculated field has the same name as an extracted field, what happens to the extracted field?

    Correct Answer: A

    If a calculated field has the same name as an extracted field, the calculated field will override the extracted field. This means the value of the extracted field will be replaced by the value of the calculated field, even if the calculated field results in a null value.

Discussion
Asheel1Option: A

https://docs.splunk.com/Documentation/Splunk/9.2.0/Knowledge/definecalcfields

Alexi2415

https://docs.splunk.com/Documentation/Splunk/9.1.3/Knowledge/definecalcfields

Alexi2415Option: A

A correct Preventing overrides of existing fields If a calculated field has the same name as a field that has been extracted by normal means, the calculated field will override the extracted field, even if the eval statement evaluates to null. You can cancel this override with the coalesce function for eval in conjunction with the eval expression. Coalesce takes an arbitrary number of arguments and returns the first value that is not null.