At my job, I am currently working on setting up application insight, with alert rules, so we can manage exceptions better in our applications. I created a “custom log search” signal, with the following query:
let targetOperationName = "TestWarning";
traces
| where operation_Name == targetOperationName
And configurated it to check every minute (For testing) if the number of received logs surpasses 10. When it does, i receive a mail. Though i am not satisfied with the information provided in the mail. I would like additional information for the alert, from the log columns, such as message, customDimensions and operation_Name.
Is this possible?
I’ve looked at the advanced options -> custom properties, but I am uncertain i can retrieve the information i wish from there.