Forum Discussion
Create stored function with parameter
- Feb 20, 2020
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.
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.
Hi @Noa,
Is this feature - saving function with parameter support - avaiable now?
If not, could you please share expected timeline?
Thanks.
- Noa KuperbergAug 25, 2020
Microsoft
Hi Vino55,
The feature is avaialbe, but there's no UI at this point. It be set through ARM and used in queries. See this for more details.
- emileerSep 29, 2020Copper Contributor
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.- John_Mann007Oct 20, 2023Copper Contributor
emileer I'm in Application Insights > Monitoring > Logs and I can't see any options to specify parameters when saving a function - does this feature need to be enabled in some way?