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

EQL: Introduce repeatable queries (#75082) #78450

Merged
merged 2 commits into from
Sep 29, 2021
Merged

Conversation

costin
Copy link
Member

@costin costin commented Sep 29, 2021

Allow individual queries within a sequence to be ran multiple times
through using the [runs=number] construct as a suffix without
having to redeclare the query.

sequence
queryA [runs=2]
queryB
queryC [runs=3]
queryD

is the same as:

sequence
queryA
queryA
queryB
queryC
queryC
queryC
queryD

but more concise.

(cherry picked from commit c7ef3a6)

Allow individual queries within a sequence to be ran multiple times
through using the [runs=number] construct as a suffix without
having to redeclare the query.

sequence
  queryA [runs=2]
  queryB
  queryC [runs=3]
  queryD

is the same as:

sequence
  queryA
  queryA
  queryB
  queryC
  queryC
  queryC
  queryD

but more concise.

(cherry picked from commit c7ef3a6)
@costin costin added >feature release highlight backport :Analytics/EQL EQL querying auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v7.16.0 labels Sep 29, 2021
@costin
Copy link
Member Author

costin commented Sep 29, 2021

@elasticmachine run elasticsearch-ci/part1

@costin
Copy link
Member Author

costin commented Sep 29, 2021

Unrelated CI builds - seem to be addressed by #78452

@costin costin removed the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Sep 29, 2021
@costin
Copy link
Member Author

costin commented Sep 29, 2021

@elasticmachine update branch

@costin
Copy link
Member Author

costin commented Sep 29, 2021

Backport for #75082

@costin costin merged commit 26ec45a into elastic:7.x Sep 29, 2021
@costin costin deleted the 7x/75082 branch September 29, 2021 16:01
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