Azure Monitor log: How to add parameters to a function

%3CLINGO-SUB%20id%3D%22lingo-sub-2706321%22%20slang%3D%22en-US%22%3EAzure%20Monitor%20log%3A%20How%20to%20add%20parameters%20to%20a%20function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2706321%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20create%20my%20first%20function%20in%20Logs%20(Azure%20Monitor)%3CBR%20%2F%3EThe%20tutorial%20of%20Microsoft%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Flogs%2Ffunctions%23create-a-function%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20is%20pretty%20simple%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22David_Elsner_1-1630487454495.png%22%20style%3D%22width%3A%20542px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307245i5CEFBC6909586EB2%2Fimage-dimensions%2F542x358%3Fv%3Dv2%22%20width%3D%22542%22%20height%3D%22358%22%20role%3D%22button%22%20title%3D%22David_Elsner_1-1630487454495.png%22%20alt%3D%22David_Elsner_1-1630487454495.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20I%20have%20trouble%20with%20adding%20parameters%20to%20my%20own%20function.%20You%20can%20see%20in%20the%20tutorials%20screen%20how%20it%20should%20look%20like%20to%20store%20a%20function%20with%20paremters%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EBut%20the%20parameters%20are%20missing%20for%20me%20if%20I%20want%20to%20save%20my%20own%20function.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22David_Elsner_2-1630487487569.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307246i558B403AD2044941%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22David_Elsner_2-1630487487569.png%22%20alt%3D%22David_Elsner_2-1630487487569.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMhh...%20what%20am%20I%20doing%20wrong%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2706321%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EActivity%20Logs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELog%20Analytics%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EQuery%20Language%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWorkbooks%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2707847%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Monitor%20log%3A%20How%20to%20add%20parameters%20to%20a%20function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2707847%22%20slang%3D%22en-US%22%3EThe%20first%20screen%20shot%20is%20for%20Log%20Analytics%2C%20yours%20is%20Application%20Insights.%20so%20its%20slightly%20different%20experience.%3C%2FLINGO-BODY%3E
Contributor

I want to create my first function in Logs (Azure Monitor)
The tutorial of Microsoft here is pretty simple:

David_Elsner_1-1630487454495.png

 

But I have trouble with adding parameters to my own function. You can see in the tutorials screen how it should look like to store a function with paremters


But the parameters are missing for me if I want to save my own function.

 

David_Elsner_2-1630487487569.png

I should mention that the scope I selected is targeting Application Insights (not classic, but using an analytics workspace). If I target something else I can create functions with parameters, but I need Application insights. Is that not supported?

Or... what am I doing wrong?

 

2 Replies
The first screen shot is for Log Analytics, yours is Application Insights. so its slightly different experience.
Yeah - if I target something else I get the parameters. But I need to analyze Application Insights data. What could I try instead? Or are functions not supported there?