Splunk Infrastructure Overview — Question 50
How can the erex and rex commands be used in conjunction to extract fields?
Answer options
- A. The regex generated by the erex command can be edited and used with the regex command in a subsequent search.
- B. The regex generated by the rex command can be edited and used with the erex command in a subsequent search.
- C. The regex generated by the erex command can be edited and used with the rex command in a subsequent search.
- D. The erex and rex commands cannot be used in conjunction under any circumstances.
Correct answer: C
Explanation
The correct answer is C because the regex generated by the erex command is specifically designed to be compatible with the rex command for further field extraction. Options A and B incorrectly suggest the opposite relationships, while D states that the commands cannot be used together, which is false.