Splunk Core Certified Power User — Question 20

A user wants to convert numeric field values to strings and also to sort on those values.
Which command should be used first, the eval or the sort?

Answer options

Correct answer: C

Explanation

The correct answer is C because sorting must be performed before converting the numeric values to strings; otherwise, the sort operation may not work as intended. Options A and D provide incorrect information about the functionality of the commands, while B suggests the wrong sequence of operations.