These are chat archives for Yelp/elastalert

11th
Aug 2017
chettu
@chettu
Aug 11 2017 13:27

Hi
I am trying to use the the "email_from_field" to fetch email addresses from the doc which triggers the alert. It works fine for a single email address but when i try a list of email address it doesnt seem to like it. The values in the doc are like below and the the rule file has this line ' email_from_field: "fields.email" '. Any suggestings / pointers welcome.

fields {
"email": [
"foo.bar@test.com",
"bar.foo@test.com"
]
}

chettu
@chettu
Aug 11 2017 15:50
Scratch my comment, got it working. I didnt have the latest code, this seem to have been introduced in the last two months.