Closed boris-de-groot closed 6 months ago
@Goggin, PR #1193 re-used an existing fields
property. Unfortunately this has broken new_term
rules. Can you submit a new PR to rename your new property to something that will not collide with the existing fields
property? Perhaps include_fields
since this is somewhat related to the include
property.
Fixed, and now available via the the latest
docker image tag.
Sorry, didn't mean to leave this. Thanks for making that change.
We recently upgraded our Elastalert version from 2.10.0 to 2.17.0 and since then we started receiving query errors on our alerts that are of type
new_term
. After testing intermediate versions this started from 2.12.0 and reviewing the changelog a newfields
parameter was introduced. however there already was afields
parameter to be used in conjunction with thenew_term
type rule: https://elastalert2.readthedocs.io/en/stable/ruletypes.html#new-termthe rule (simplified) which gives this error is:
I have tried dropping both the
_exists_
andquery_key
parts but the error remains:We currently running OpenSearch 2.7, but this rule has also ran without issue against ES7
please advice how to upgrade beyond 2.11.0