Feb 19 2020
06:17 AM
- last edited on
Apr 08 2022
10:18 AM
by
TechCommunityAP
Feb 19 2020
06:17 AM
- last edited on
Apr 08 2022
10:18 AM
by
TechCommunityAP
Hi,
As the title states... Is this possible with Log analytics now? I found this documentation: https://docs.microsoft.com/en-us/azure/kusto/management/create-alter-function
But when I try to run the command in Kusto it doesn't work and gives me this error:
Query could not be parsed at '.' on line [1,0] Token: . Line: 1 Position: 0
Do I need to create Azure data explorer resource and run it from there? Or is this a bug in Log analytics?
Thanks! :)
Feb 20 2020 04:44 AM
Solution@oOMelon this feature isn't supported in Log Analytics yet, but is planned to be implemented in the coming months.
Generally speaking, control commands (listed under the management section of the kusto documentation tree) are not supported in Log Analytics, it will be done in another way.
Feb 20 2020 04:50 AM
@Noa Kuperberg Thank you very much for the answer! Much appreciated :)
Jun 10 2020 08:20 PM
Hi @Noa,
Is this feature - saving function with parameter support - avaiable now?
If not, could you please share expected timeline?
Thanks.
Aug 25 2020 01:48 AM
Sep 29 2020 06:36 AM
@Noa Kuperberg
Functions with parameter can be called in the query editor in the portal as expected with function_name(param1,param2)
Currently the portal offers the possibility to copy the link to the query. Is it possible to pass the parameters in the query link (similar to what you have today for the timespan when you specify the time range - e.g. <link to query>/timespan/P1D). If not - are there any plans to support this in the future ? This would be very helpful for directly filtering the log results with the given parameters.
Thank you in advance,
bye //emil.