How to pass urlparam value to KQL

Hi, Wylie. Do yo mean removing the whole line on line 3 or just the pipe |?

I am afraid I don't really understand how var_set and var works according to the documentation below.

I also found examples of them here - How to create a new line on a kibana canvas table - #6 by wylie .