Dec 17 2019
08:30 AM
- last edited on
Apr 08 2022
10:14 AM
by
TechCommunityAP
Dec 17 2019
08:30 AM
- last edited on
Apr 08 2022
10:14 AM
by
TechCommunityAP
Hello,
I am looking for some help on the Email alert set up using LogAnalytics. I have set up Queries in LgAnalytics and it sends email when the condition is met - I have no issues with it. Azure sends out the email with 3 categories
1) "Essentials" contain your Query name, Description, Severity Resource, search interval & Duration.
2) Search Query - Gives you the Query you wrote for in LogAnalytics
3) Insights - Top 10 result(s) - gives information on ActivityStatus,SubscriptionId, CorrelationId, Category, Authorization ,ResourceId, HTTPRequest and 30 other things which are not required and makes the email so long and unrelated.
My question is, can we remove the "Insights " portion of this email? please suggest, thank you!
Dec 18 2019 06:07 AM
SolutionThere is no way to modify the e-mail template that is send. you are free for example to use Logic App, Azure Function or Automation runbook as action group integration instead of e-mail. Those services can receive the alert information in common alert schema, process it and send e-mail to format that you prefer. Of course that means you will have to have your own e-mail provider from which you can send e-mails.