How to remove _id, _index, _type, num_matches, num_hits and @timestamp from elastialert rules #189
-
Hi All, Below is the content which im getting in my gmail inbox. I want to remove _id, _index, _type, num_matches, num_hits and @timestamp all this only i want message to be include in my email triggering everytime. Below is getting into my gmail inbox
and Here is the rules.yaml file which i used to trigger email for issue
How to do it, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 24 replies
-
look |
Beta Was this translation helpful? Give feedback.
-
Here is the email screenshot...yellow highlighted should not show in email....ONLY MESSAGES should show in email Here is the rules.yml file store in kibana of elasteralert
If anything goes wrong do let know i have add include: ["message"] in my rules after that it showing above one screenshot high listed in yellow |
Beta Was this translation helpful? Give feedback.
-
Where to add and How to add it I want to remove this all fields (remove _id, _index, _type, num_matches, num_hits and @timestamp ) all this should not shown in email triggering |
Beta Was this translation helpful? Give feedback.
look
https://elastalert2.readthedocs.io/en/latest/ruletypes.html#alert-subject