Hi
I want to create a macro with at least 1 argument and maximum 20 arguments.
So I created 20 macros. (See example below. I only displayed 3 of them and leaved out some other statements.)
Is there a other way to do this?
Example of my current macros.conf file:
[get_type(3)]
args = field_1, field_2, field_3
definition = ... | where (my_field=$field_1$ OR my_field=$field_2$ OR my_field=$field_3$) | ...
[get_type(2)]
args = field_1, field_2
definition = ... | where (my_field=$field_1$ OR my_field=$field_2$) | ...
[get_type(1)]
args = field_1
definition = ...| where my_field=$field_1$ | ...
... View more