Forum Discussion
Justin_Smith_FLYSWOOP
Jan 11, 2019Copper Contributor
Trying to create Custom Log Alert for 5xx errors on Azure App Service Application Insight
I've got an Application Insight set up for one of our App Services, and what I'm trying to do is get alerted when more than a certain percentage of requests fail. We're not looking to hardcode value...
TravisRoberts
Jan 12, 2019Iron Contributor
I did a post a while ago that may help. Different scenario, but similar idea. I did a lookback average from 30 minutes ago to 5 minutes ago, and compared that to the last 5 minute average. If the 5 minute average was above a threshold, create an alert.
https://www.ciraltos.com/alerts-based-on-rolling-averages-in-log-analytics/
Hope this helps.