QuestionQ28

VerifiedCreating and Using Macros

When using a nested search macro, how can an argument value be supplied to the inner macro?

Explanation

A nested Splunk search macro can receive an argument through the outer macro. The outer macro accepts the value and uses its argument substitution in the definition that invokes the inner macro. Search macro definitions support argument tokens and can invoke other macros.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!