An admin created a macro `myfilter(host)` with definition: `host=$host$ | stats count`. When calling `myfilter(webserver)`, the search returns no results. What is the most likely cause?
Trap 1: The host field is case-sensitive.
Case sensitivity is not the issue.
Trap 2: The host field is not indexed.
The host field is typically indexed.
Trap 3: The macro is evaluated before the rest of the search.
Evaluation order is not the cause.
- A
The host field is case-sensitive.
Why wrong: Case sensitivity is not the issue.
- B
The macro argument is not being treated as a literal string.
Without quotes, the value is interpreted as a field value literal, but the correct syntax is `host="$host$"`.
- C
The host field is not indexed.
Why wrong: The host field is typically indexed.
- D
The macro is evaluated before the rest of the search.
Why wrong: Evaluation order is not the cause.