小组使用ElastAlert 做报警系统,由于默认的邮件报警格式不是我们想要的,我们想更改其中的内容,自定义
发现github上有相关内容 https://github.com/Yelp/elastalert/issues/1473
到官方文档中也未找到https://elastalert.readthedocs.io/en/latest/ruletypes.html?highlight=alert_text#alert-content
但是发现并不能满足需求,故而clone了源码,简单看了一下,也没有发现我们想要的 field。https://github.com/qhh0205/elastalert/blob/master/alerts.py