A search contains example(100,200). What is the name of the macro?
A.
example(2)
B.
example(var1,var2)
C.
example($,$)
D.
example[2]
The Answer Is:
B
This question includes an explanation.
Explanation:
In Splunk, macros that accept arguments are defined with placeholders for those arguments in the format example(var1, var2). In the search example(100,200), "100" and "200" are the values passed for var1 and var2 respectively.
[References:, , Splunk Docs – Macros, , , ]
SPLK-1002 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"