elastalert icon indicating copy to clipboard operation
elastalert copied to clipboard

How to have customized Email Notification with HTML and CSS

Open singhrajneesh opened this issue 8 years ago • 1 comments

I want to get email notification with proper Table not like we get using summary_fields.

singhrajneesh avatar Aug 29 '18 10:08 singhrajneesh

Did you ever find a way to do this?

I've tried using HTML like the documentation says using "email_format: html" but the rule always fails to parse the rule file.

Feb 20 10:16:44 sls-elk-v3 python3[1424]: INFO:elastalert:Background alerts thread 0 pending alerts sent at 2020-02-20 10:16 CST Feb 20 10:16:44 sls-elk-v3 python3[1424]: ERROR:root:Could not load rule /root/env/elastalert/rules/ids_alert.yaml: Could not parse file /root/env/elastalert/rules/ids_alert.yaml: while scanning a simple key Feb 20 10:16:44 sls-elk-v3 python3[1424]: in "/root/env/elastalert/rules/ids_alert.yaml", line 29, column 1 Feb 20 10:16:44 sls-elk-v3 python3[1424]: could not find expected ':' Feb 20 10:16:44 sls-elk-v3 python3[1424]: in "/root/env/elastalert/rules/ids_alert.yaml", line 34, column 52

Mfisher925 avatar Feb 20 '20 16:02 Mfisher925