Toby Yoo
Toby Yoo

Reputation: 5

Changing Azure alert payload (content)

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

Answers (1)

RithwikBojja
RithwikBojja

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:

enter image description here

Then use condition what is threshold and like that:

enter image description here

Here, you can send sms also and do all the things you do in alerts. Also refer SO-Thread.

Upvotes: 0

Related Questions