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.
-
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