This question follows a best practice and it isn't true for all. But if the macro starts with a generating command (or any command) you have to put | before calling the macro
Example:
`macro` = stats count by something
| `macro`
There could be confusion between pipe and square brackets; just to be apparent, it is a pipe.
sourcetype=access_* | `mymacro`
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
emlch
1 month, 2 weeks agoDerag
2 months, 2 weeks ago