Yelp / elastalert

Easy & Flexible Alerting With ElasticSearch
https://elastalert.readthedocs.org
Apache License 2.0
7.99k stars 1.74k forks source link

Elastalert - PagerDuty Body HTML don't Work #3091

Open fr4nc1stein opened 3 years ago

fr4nc1stein commented 3 years ago

Hello,

I'm working with Email and PagerDuty notification options in elastalert, my body message contains HTML and it works properly on email but in the PagerDuty the HTML appears as plaintext.

There's any guide or tips, like condition to change the content if im sending on PagerDuty, or do I need to create 2 yaml exclusive for Email and PagerDuty?

Thanks

nsano-rururu commented 3 years ago

https://elastalert.readthedocs.io/en/latest/ruletypes.html#pagerduty

fr4nc1stein commented 3 years ago

@nsano-rururu I already check that, I don't see any documentation regarding on PagerDuty HTML content.

nsano-rururu commented 3 years ago

I don't think there is such a setting in the PagerDuty V2 API. Why not ask PagerDuty support if you can process it into html when you receive an alert?

PagerDuty V2 API https://developer.pagerduty.com/docs/events-api-v2/trigger-events/

Ghotrix commented 2 years ago

@fr4nc1stein have you been able to find a solution to this problem?