ExamGecko
Question list
Search
Search

Question 291 - SPLK-1002 discussion

Report
Export

A search contains example(100,200). What is the name of the macro?

A.

example(2)

Answers
A.

example(2)

B.

example(var1,var2)

Answers
B.

example(var1,var2)

C.

example($,$)

Answers
C.

example($,$)

D.

example[2]

Answers
D.

example[2]

Suggested answer: B

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.

Splunk Docs -- Macros

asked 18/10/2024
Mithun E
50 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first