Reputation: 5
We are setting up Azure alert based on a certain key word in application insights. For example, the log has 'Error occurred for ID: 111' and alert rule search 'Error occurred'. All good. But I would like to send ID: 111 as well in the alert message. How to achieve this?
Couldn't find any configurations.
Upvotes: 0
Views: 189
Reputation: 11383
Changing Azure alert payload (content) How to achieve this?Couldn't find any configurations.
Using Alerts you cannot send custom payload or messages. But Alternatively you can use Logic apps to send custom message with it like using below design:
Then use condition what is threshold and like that:
Here, you can send sms also and do all the things you do in alerts. Also refer SO-Thread.
Upvotes: 0