How to edit stored functions in app insights log analytics

%3CLINGO-SUB%20id%3D%22lingo-sub-823071%22%20slang%3D%22en-US%22%3EHow%20to%20edit%20stored%20functions%20in%20app%20insights%20log%20analytics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-823071%22%20slang%3D%22en-US%22%3E%3CP%3EI%20understood%20how%20to%20save%20a%20query%20as%20a%20function%20and%20use%20it.%20But%20I'm%20wondering%20how%20i%20can%20edit%20it%20after%20saving.%20I%20see%20no%20UX%20to%20edit%20the%20saved%20function%3F%20Can%20someone%20help%20pls.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-823071%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EApplication%20Insights%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-823642%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20edit%20stored%20functions%20in%20app%20insights%20log%20analytics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-823642%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F398591%22%20target%3D%22_blank%22%3E%40sivakkb%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOpen%20the%20QUERY%20EXPLORER%20(top%20right%20of%20the%20Logs%20(Analytics)%20Window)%20and%20search%20for%20the%20function%20you%20previously%20named.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3EFunctions%3C%2FEM%3EI%20think%20by%20default%20are%20in%20the%20%22shared%20queries%22%20folder.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-823821%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20edit%20stored%20functions%20in%20app%20insights%20log%20analytics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-823821%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F239477%22%20target%3D%22_blank%22%3E%40Clive%20Watson%3C%2FA%3E%26nbsp%3B%2C%20Thanks%20for%20the%20response.%20But%2C%20search%20doesnt%20fetch%20my%20function.%20I%20can%20see%20my%20function%20in%20the%20left%20under%20%22functions%22%20but%20have%20no%20way%20to%20open%20it%20up%20and%20edit.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-824107%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20edit%20stored%20functions%20in%20app%20insights%20log%20analytics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-824107%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F398591%22%20target%3D%22_blank%22%3E%40sivakkb%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20you%20saved%20the%20function%20there%20is%20a%20name%20and%20a%20function%20alias.%26nbsp%3B%20The%20alias%20appears%20under%20%3CEM%3Efunctions%3C%2FEM%3E%2C%20but%20Query%20Explorer%20uses%20the%20full%20name.%26nbsp%3B%20Do%20you%20have%20any%20files%20listed%20in%20Query%20Explorer%20(don't%20filter%20on%20anything)%2C%20or%20is%20just%20this%20one%20missing%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F128670i1C28057C4CB59260%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Annotation%202019-08-27%20085239.jpg%22%20title%3D%22Annotation%202019-08-27%20085239.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Microsoft

I understood how to save a query as a function and use it. But I'm wondering how i can edit it after saving. I see no UX to edit the saved function? Can someone help pls. 

3 Replies
Highlighted

Hi @sivakkb 

 

Open the QUERY EXPLORER (top right of the Logs (Analytics) Window) and search for the function you previously named.

 

Functions I think by default are in the "shared queries" folder.

 

Thanks 

Highlighted

@Clive Watson , Thanks for the response. But, search doesnt fetch my function. I can see my function in the left under "functions" but have no way to open it up and edit. 

Highlighted

@sivakkb 

 

When you saved the function there is a name and a function alias.  The alias appears under functions, but Query Explorer uses the full name.  Do you have any files listed in Query Explorer (don't filter on anything), or is just this one missing?  

 

Annotation 2019-08-27 085239.jpg