Log Analytics Legacy Queries save/edit experience upgrade

Published Aug 23 2021 05:49 AM 915 Views
Microsoft

Intro

Following the upgrade of the Legacy Queries discovery experiences announced in this blog post, we are happy to announce that the Legacy Query save and edit experiences have also been upgraded with a new, modern, improved experience. 

 

Saving a query

To save a query, select 'save' from Log Analytics' top action bar:

Save entry point.pngChoose 'save' to save your query.

Please note, we recommend saving your query to a Query Pack. Learn more about Query packs in this blog post.

However, If you need to save your query as a Legacy Query - you can check the 'save as Legacy Query' checkbox in the save screen:

Save Legacy Query.png

Note: As Legacy Queries don't support rich metadata the screen will update and only allow metadata supported in Legacy Queries.

Update your query name and category, and click 'save'. 
Your Legacy Query will be saved to the workspace.

Note: Legacy Queries are only supported in Log Analytics workspaces and Application insights Components. Other Log Analytics instances will not have the option to save as Legacy Queries.

 

Editing a query 

To edit a Legacy Query load it to a new tab.
Update the query as needed and click the 'save' button in the Log Analytics top action bar:
Edit Query details.pngClick the 'Edit Query Details' button and update the query as needed.

Note: You may save a Legacy Query to a Query Pack using the 'save' button, this will create a copy of the query with updated metadata in a Query Pack. To learn more about saving a query to a Query Pack click here.

 

Feedback

We appreciate your feedback! comment on this blog post and let us know what you think of the this feature.

You may also use our in app feedback feature to provide us with additional feedbacks:

Log Analytics feedback.png

%3CLINGO-SUB%20id%3D%22lingo-sub-2655125%22%20slang%3D%22en-US%22%3ELog%20Analytics%20Legacy%20Queries%20save%2Fedit%20experience%20upgrade%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2655125%22%20slang%3D%22en-US%22%3E%3CH2%20id%3D%22toc-hId--381049360%22%20id%3D%22toc-hId--379200429%22%3EIntro%3C%2FH2%3E%0A%3CP%3EFollowing%20the%20upgrade%20of%20the%20Legacy%20Queries%20discovery%20experiences%20announced%20in%20this%20%3CA%20title%3D%22Log%20Analytics%20Legacy%20Queries%20now%20available%20in%20the%20new%20Query%20UI%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-monitor%2Flog-analytics-legacy-queries-now-available-in-the-new-query-ui%2Fba-p%2F2624234%22%20target%3D%22_blank%22%3Eblog%20post%3C%2FA%3E%2C%20we%20are%20happy%20to%20announce%20that%20the%20Legacy%20Query%20save%20and%20edit%20experiences%20have%20also%20been%20upgraded%20with%20a%20new%2C%20modern%2C%20improved%20experience.%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-2106463473%22%20id%3D%22toc-hId-2108312404%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-299009010%22%20id%3D%22toc-hId-300857941%22%3ESaving%20a%20query%3C%2FH2%3E%0A%3CP%3ETo%20save%20a%20query%2C%20select%20'save'%20from%20Log%20Analytics'%20top%20action%20bar%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Save%20entry%20point.png%22%20style%3D%22width%3A%20605px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F303675iED6B147FEB6E5380%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Save%20entry%20point.png%22%20alt%3D%22Save%20entry%20point.png%22%20%2F%3E%3C%2FSPAN%3EChoose%20'save'%20to%20save%20your%20query.%3C%2FP%3E%0A%3CP%3EPlease%20note%2C%20we%20recommend%20saving%20your%20query%20to%20a%20Query%20Pack.%20Learn%20more%20about%20Query%20packs%20in%20this%20%3CA%20title%3D%22Log%20Analytics%20Query%20Packs%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-monitor%2Flog-analytics-query-packs%2Fba-p%2F2314721%22%20target%3D%22_blank%22%3Eblog%20post.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EHowever%2C%20If%20you%20need%20to%20save%20your%20query%20as%20a%20Legacy%20Query%20-%20you%20can%20check%20the%20'save%20as%20Legacy%20Query'%20checkbox%20in%20the%20save%20screen%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Save%20Legacy%20Query.png%22%20style%3D%22width%3A%20316px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F303676iDD2CD745EDB1E369%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Save%20Legacy%20Query.png%22%20alt%3D%22Save%20Legacy%20Query.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%26nbsp%3BAs%20Legacy%20Queries%20don't%20support%20rich%20metadata%20the%20screen%20will%20update%20and%20only%20allow%20metadata%20supported%20in%20Legacy%20Queries.%3C%2FP%3E%0A%3CP%3EUpdate%20your%20query%20name%20and%20category%2C%20and%20click%20'save'.%26nbsp%3B%3CBR%20%2F%3EYour%20Legacy%20Query%20will%20be%20saved%20to%20the%20workspace.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%20Legacy%20Queries%20are%20only%20supported%20in%20Log%20Analytics%20workspaces%20and%20Application%20insights%20Components.%20Other%20Log%20Analytics%20instances%20will%20not%20have%20the%20option%20to%20save%20as%20Legacy%20Queries.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1508445453%22%20id%3D%22toc-hId--1506596522%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-979067380%22%20id%3D%22toc-hId-980916311%22%3EEditing%20a%20query%26nbsp%3B%3C%2FH2%3E%0A%3CP%3ETo%20edit%20a%20Legacy%20Query%20load%20it%20to%20a%20new%20tab.%3CBR%20%2F%3EUpdate%20the%20query%20as%20needed%20and%20click%20the%20'save'%20button%20in%20the%20Log%20Analytics%20top%20action%20bar%3A%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Edit%20Query%20details.png%22%20style%3D%22width%3A%20652px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F303677i6AB22E444375E275%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Edit%20Query%20details.png%22%20alt%3D%22Edit%20Query%20details.png%22%20%2F%3E%3C%2FSPAN%3EClick%20the%20'Edit%20Query%20Details'%20button%20and%20update%20the%20query%20as%20needed.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%20You%20may%20save%20a%20Legacy%20Query%20to%20a%20Query%20Pack%20using%20the%20'save'%20button%2C%20this%20will%20create%20a%20copy%20of%20the%20query%20with%20updated%20metadata%20in%20a%20Query%20Pack.%20To%20learn%20more%20about%20saving%20a%20query%20to%20a%20Query%20Pack%20click%20%3CA%20title%3D%22Save%20a%20query%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Flogs%2Fsave-query%23save-a-query%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--828387083%22%20id%3D%22toc-hId--826538152%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-1659125750%22%20id%3D%22toc-hId-1660974681%22%3EFeedback%3C%2FH2%3E%0A%3CP%3EWe%20appreciate%20your%20feedback!%20comment%20on%20this%20blog%20post%20and%20let%20us%20know%20what%20you%20think%20of%20the%20this%20feature.%3C%2FP%3E%0A%3CP%3EYou%20may%20also%20use%20our%20in%20app%20feedback%20feature%20to%20provide%20us%20with%20additional%20feedbacks%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Log%20Analytics%20feedback.png%22%20style%3D%22width%3A%2095px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F303673iC8C1082AC79CB6F1%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Log%20Analytics%20feedback.png%22%20alt%3D%22Log%20Analytics%20feedback.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2655125%22%20slang%3D%22en-US%22%3E%3CP%3ELog%20Analytics%20Legacy%20Queries%20(formerly%20Query%20Explorer%20Queries)%20save%20and%20edit%20experiences%20were%20upgraded%20to%20a%20new%20modern%20look%20and%20feel.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2655125%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EUpdates%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Aug 17 2021 02:00 AM
Updated by: