Format email alert with HTML
I wondered if it could be possible to format the email alert with HTML, to make it more readable and less...ugly ?
If you speak python and are willing to test new code, we've been using this: https://github.com/datacratic/elastalert/blob/datacratic/elastalert/emailjinja.py for a few months now.
It uses jinja to generate the html part of the mail, so you can do pretty much anything you want in the template.
Consider the code beta quality, it fits our usecase, but may not work out of the box for yours.
@jraby could you please provide the html code used as a template?
@jraby
Could you please help me to understand how should I use the emailjinja.py to send email alert in proper summary table format. It would be great if you could send me the steps with rule example.