How can I set up my Azure KQL query to email results every 15 minutes?

0
17
Asked By TechWhiz72 On

I've been on the hunt for a solution and could really use some help. I have a KQL query that shows me alerts in a Fired state, and I want to receive these results in my email every 15 minutes. My support team relies on this information since our applications often experience slowness, and having these alerts handy would help me see if the slowness is related to any active alerts. Any advice on how to set this up?

1 Answer

Answered By CloudGuru93 On

I run KQL queries frequently that get emailed out. If you're familiar with PowerShell, you should check out the Automation Account in Azure. It can automatically run your query every 15 minutes. You can write your KQL query in PowerShell to capture the results, and then use the Graph API to send that data via email in various formats like HTML or CSV. If PowerShell isn't your thing, you might consider using Python as an alternative in the Automation Account.

CuriousCat22 -

Nice! I’ll definitely give this a try tomorrow!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.