Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OR/AND/NOT in the condition associated with the processors #1983

Merged
merged 1 commit into from
Jul 11, 2016

Conversation

monicasarbu
Copy link
Contributor

@monicasarbu monicasarbu commented Jul 7, 2016

The signature for or, and and not is:

processors:
  - <processor>:
     when:
       or/and/not:
         - <condition>
         - <condition>
         - <condition>

As an example, the condition a1 or a2 and a3 translates to:

processors:
   - <processor>:
     when:
        or:
          - a1
          - and:
             - a2
             - a3

@monicasarbu monicasarbu added in progress Pull request is currently in progress. :Processors labels Jul 7, 2016
@monicasarbu monicasarbu mentioned this pull request Jul 7, 2016
17 tasks
@monicasarbu monicasarbu force-pushed the add_or_and_not_in_condition branch 2 times, most recently from 7ab9b60 to 1167a5a Compare July 8, 2016 11:17
@monicasarbu monicasarbu added review and removed in progress Pull request is currently in progress. labels Jul 8, 2016
@tsg
Copy link
Contributor

tsg commented Jul 8, 2016

LGTM.

@monicasarbu monicasarbu force-pushed the add_or_and_not_in_condition branch 2 times, most recently from 2e3e081 to a78a2b4 Compare July 8, 2016 13:42
@tsg
Copy link
Contributor

tsg commented Jul 8, 2016

@monicasarbu this needs a rebase now :(

@monicasarbu
Copy link
Contributor Author

rebase is done

@tsg tsg merged commit 2d35d50 into elastic:master Jul 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants