diff --git a/CHANGELOG.md b/CHANGELOG.md index f0eeeccb..91843e61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,7 @@ - Remove download_dashboard - [#740](https://github.com/jertel/elastalert2/pull/740) - @nsano-rururu - [Docs] Added documentation for metric|spike aggregation rule types for percentiles - [e682ea8](https://github.com/jertel/elastalert2/commit/e682ea8113bf9f413b6339e6803b5262881f2b30)- @jertel - [Jira] Add support for Jira authentication via Personal Access Token - [#750](https://github.com/jertel/elastalert2/pull/750) - @buzzdeee +- [Docs] Update docs Negation, and, or - [#754](https://github.com/jertel/elastalert2/pull/754) - @nsano-rururu # 2.3.0 diff --git a/docs/source/recipes/writing_filters.rst b/docs/source/recipes/writing_filters.rst index 0fe1ae20..eb4da6b7 100644 --- a/docs/source/recipes/writing_filters.rst +++ b/docs/source/recipes/writing_filters.rst @@ -100,22 +100,6 @@ For ranges on fields:: Negation, and, or ***************** -Any of the filters can be embedded in ``not``, ``and``, and ``or``:: - - filter: - - or: - - term: - field: "value" - - wildcard: - field: "foo*bar" - - and: - - not: - term: - field: "value" - - not: - term: - _type: "something" - Below is a more complex example for Elasticsearch 7.x, provided by a `community user. `_:: filter: