D is correct.
For example
macro(1) -> `macro` => index=web sourcetype=access_combine `macro2($field$)`
macro2(1) -> `macro2` | stats count by $field$
see that the first macro (outer macro) is receiving the $field$ argument and passing to the second macro (inner macro)
Correct answer is D.
option A, it is not the correct answer to the question about passing an argument value to an inner macro. Option A suggests that the argument value may be passed to the outer macro, but the question asks about passing the argument value to the inner macro.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
emlch
1 month, 2 weeks agoDerag
2 months, 1 week ago