I have a form dashboard that has several input fields. How do I only use a token if it has a value? Mean I may want to leave the input blank and not pass anything to the search. So the input is optional.
The reason is my results don't always include some fields in every log. So if pass * as the default and it ends up being field=* this will exclude logs which don't have the field present. How do I get around this?
I only want my search to become field=$input$ if the user actually filled out the input. Otherwise I want the entire line removed.