Splunk Infrastructure Overview — Question 3
If a nested macro expands to a search string that begins with a generating command, what additional syntax is needed?
Answer options
- A. Double tick marks around the nested macro.
- B. A comma before the nested macro.
- C. Square brackets around the nested macro.
- D. A pipe character before the nested macro.
Correct answer: D
Explanation
The correct answer is D because adding a pipe character before the nested macro indicates that it should be treated as a separate command in the search string. The other options do not provide the necessary syntax for distinguishing the generating command from the nested macro's output.