Using saved queries in Tile & View Designer

%3CLINGO-SUB%20id%3D%22lingo-sub-304818%22%20slang%3D%22en-US%22%3EUsing%20saved%20queries%20in%20Tile%20%26amp%3B%20View%20Designer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-304818%22%20slang%3D%22en-US%22%3E%3CP%3EAm%20I%20missing%20something%20or%20is%20there%20no%20intuitive%20way%20to%20re-use%20the%20queries%20saved%20in%20the%20'Queries%20Explorer'%20from%20the%20View%20Designer%20%3F%26nbsp%3B%20Do%20we%20have%20to%20type%20the%20query%20manually%20in%20the%26nbsp%3Bsmall%20text%20box%20each%20time%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-304818%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECustom%20Logs%20and%20Custom%20Fields%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EView%20Designer%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-309568%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20saved%20queries%20in%20Tile%20%26amp%3B%20View%20Designer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-309568%22%20slang%3D%22en-US%22%3E%3CP%3ENoa%20is%20right.%20If%20you%20want%20to%20avoid%20the%20UI%20it%20is%20best%20to%20use%20ARM%20templates%20to%20deploy%20the%20Log%20Analytics%20views.%20That%20way%20your%20views%20will%20be%20saved%20as%20code%20and%20easier%20to%20transfer%20and%20maintain.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-307053%22%20slang%3D%22en-US%22%3ERE%3A%20Using%20saved%20queries%20in%20Tile%20%26amp%3Bamp%3B%20View%20Designer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-307053%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20As%20far%20as%20I%20know%20the%20View%20Designer%20does%20not%20consume%20saved%20searches%2C%20so%20I'd%20suggest%20copy-pasting%20instead%20(please%20take%20my%20answer%20with%20a%20grain%20of%20salt%2C%20as%20I'm%20not%20an%20expert%20of%20the%20View%20Designer).%20Another%20option%20may%20be%20to%20run%20the%20saved%20query%20in%20Log%20Analytics%20(%22Logs%22)%20and%20pin%20it%20to%20a%20dashboard.%20while%20not%20an%20equivalent%2C%20it%20may%20best%20if%20meets%20your%20needs.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Am I missing something or is there no intuitive way to re-use the queries saved in the 'Queries Explorer' from the View Designer ?  Do we have to type the query manually in the small text box each time ?

 

 

2 Replies

Hi, As far as I know the View Designer does not consume saved searches, so I'd suggest copy-pasting instead (please take my answer with a grain of salt, as I'm not an expert of the View Designer). Another option may be to run the saved query in Log Analytics ("Logs") and pin it to a dashboard. while not an equivalent, it may best if meets your needs.

Noa is right. If you want to avoid the UI it is best to use ARM templates to deploy the Log Analytics views. That way your views will be saved as code and easier to transfer and maintain.