ExamGecko
Home Home / Splunk / SPLK-1002

Splunk SPLK-1002 Practice Test - Questions Answers, Page 30

Question list
Search
Search

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

A.

example(2)

A.

example(2)

Answers
B.

example(var1,var2)

B.

example(var1,var2)

Answers
C.

example($,$)

C.

example($,$)

Answers
D.

example[2]

D.

example[2]

Answers
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

Total 291 questions
Go to page: of 30