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

Is it possible to search for more than one user in a query? #83

Closed
thb5018 opened this issue Mar 26, 2020 · 2 comments
Closed

Is it possible to search for more than one user in a query? #83

thb5018 opened this issue Mar 26, 2020 · 2 comments

Comments

@thb5018
Copy link

thb5018 commented Mar 26, 2020

Is it possible to search for created by more than one user in a query?

Going off the following provided example:

rule = gen_rule_payload("from:jack",
                        from_date="2017-09-01", #UTC 2017-09-01 00:00
                        to_date="2017-10-30",#UTC 2017-10-30 00:00
                        results_per_call=500)

I tried the following variations with no success:

rule = gen_rule_payload("from:jack", "from:bill",
rule = gen_rule_payload('"from:jack" OR "from:bill"', 
rule = gen_rule_payload("('from:jack', 'from:bill')",
rule = gen_rule_payload("('from:jack' OR 'from:bill',
@thb5018 thb5018 closed this as completed Mar 26, 2020
@thb5018 thb5018 reopened this Mar 26, 2020
@thb5018 thb5018 closed this as completed Mar 26, 2020
@thb5018 thb5018 reopened this Mar 26, 2020
@thb5018 thb5018 closed this as completed Mar 26, 2020
@thb5018 thb5018 reopened this Mar 26, 2020
@jrmontag
Copy link
Collaborator

@thb5018 check out the docs here for more detailed information about the construction and syntax of rules. In your case, I believe "from:jack OR from:bill" should accomplish your goal.

@thb5018
Copy link
Author

thb5018 commented Mar 27, 2020

@jrmontag Thanks for getting back. I was able to get it to successfully execute with "(from:userID1 OR from:userID2)".

I appreciate your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants