Hi everyone,
I have succeeded to create a function using the Query Explorer tool and call it from another query tab:

But I want this function will accept arguments.
I found a guide which explains how to create a function but without arguments.
https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/azure-monitor/log-query/functions.m...
Thanks