Search code examples
elasticsearchelasticsearch-5elastalert

Restrict the content in email notification from ElastAlert


Currently, I have setup email notification from elastalert. In the email body, it prints all the details of the particular document. I want to restrict it to print only specific term and values from the match.


Solution

  • Please refer to this question here: Customize the information in an alert received by elastalert plugin for elasticsearch

    Also from the ElastAlert documentation, you can use include: field to customize the alert message..