I'm trying to improve the content of my alert emails since they currently lack detail. Specifically, I want to include the log entry that triggered the alert. The log entry is in JSON format, so I'm hoping to extract certain attributes and include them in the email. However, my company restricts the use of Logic Apps, so I need alternative methods to achieve this. Any suggestions?
2 Answers
I’ve created a custom function that reads through the common alert schema and sends messages to Teams, but you could also set it up to email customized alerts. Just a heads up, though, to get detailed outputs from Azure Monitor, you typically need to use something like a Logic App, which I know isn't an option for you.
You can try using custom properties in your alert setup to add extra details from your query results. Make sure to check the configuration settings where you can define these properties—this could help improve the context of the alerts you receive.
Related Questions
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically
[Centos] Delete All Files And Folders That Contain a String