QuestionQ26Verified/Creating and Using MacrosCopy linkReport a problemAsk AstroTutorSave questionWhich of the following statements about macros is true?Choose twoAArguments are defined at execution time.BArguments are defined when the macro is created.CArgument values are used to resolve the search string at execution time.DArgument values are used to resolve the search string when the macro is created.Show AnswerAnswerExplanationA Splunk search macro stores its argument definitions when it is created. When the macro is inserted into a search, supplied argument values are substituted into the macro definition to expand the search string for that invocation.Learn moreDefine search macros in SettingsUse search macros in searchesShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion