SQL Managed Instance maintenance events

%3CLINGO-SUB%20id%3D%22lingo-sub-963114%22%20slang%3D%22en-US%22%3ESQL%20Managed%20Instance%20maintenance%20events%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-963114%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20looking%20at%20how%20best%20to%20pull%20maintenance%20events%20from%20Log%20Analytics%20for%20our%20SQL%20Managed%20Instances.%20I%20am%20aware%20that%20these%20events%20occur%2C%20but%20would%20like%20to%20be%20able%20to%20map%20them%20so%20we%20can%20align%20to%20some%20issues%20we're%20having%20with%20a%20consuming%20application.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20pushing%20all%20log%20output%20to%20Log%20Analytics%2C%20but%20I'm%20not%20sure%20if%20there%20is%20something%20specific%20I%20can%20query.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%20for%20any%20help%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%26nbsp%3B%3C%2FP%3E%3CP%3ECampbell%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-963114%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EQuery%20Language%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESQL%20Managed%20Instance%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-965634%22%20slang%3D%22en-US%22%3ERe%3A%20SQL%20Managed%20Instance%20maintenance%20events%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-965634%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F430883%22%20target%3D%22_blank%22%3E%40CampbellT%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20alert%20on%20them%2C%20then%20you%20can%20look%20in%20the%20%3CSTRONG%3EAzureActivity%3C%2FSTRONG%3E%20table%20for%20those%20alerts.%26nbsp%3B%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%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F151964i452E1F1AD369E3E1%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%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
New Contributor

Hi all, 

 

I'm looking at how best to pull maintenance events from Log Analytics for our SQL Managed Instances. I am aware that these events occur, but would like to be able to map them so we can align to some issues we're having with a consuming application. 

 

I'm pushing all log output to Log Analytics, but I'm not sure if there is something specific I can query. 

 

Thanks in advance for any help, 

 

Regards, 

Campbell

1 Reply

@CampbellT 

 

You can alert on them, then you can look in the AzureActivity table for those alerts.  

clipboard_image_0.png