Exam SPLK-1002 All QuestionsBrowse all questions from this exam
Question 98

When defining a macro, what are the required elements?

    Correct Answer: D

    When defining a macro, the required elements are the name and definition. The name identifies the macro, and the definition specifies what the macro does. Other elements such as arguments or validation error messages are optional.

Discussion
KL4123Option: D

Answer should be D, Arguments & Validation is optional as per mentioned in: https://docs.splunk.com/Documentation/Splunk/9.0.1/Knowledge/Definesearchmacros

asaraliOption: D

Answer is D - https://docs.splunk.com/Documentation/SplunkCloud/9.0.2303/Knowledge/Definesearchmacros Name & Definition are mandatory and others are options.

a9f89d1

Name, definition and arguments no?

Dree_DoggOption: D

definitely D

shergarOption: D

The link mentioned describes it.