Skip to content

EQL: Introduce repeatable queries (#75082)#78450

Merged
costin merged 2 commits intoelastic:7.xfrom
costin:7x/75082
Sep 29, 2021
Merged

EQL: Introduce repeatable queries (#75082)#78450
costin merged 2 commits intoelastic:7.xfrom
costin:7x/75082

Conversation

@costin
Copy link
Copy Markdown
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
Copy Markdown
Member Author

costin commented Sep 29, 2021

@elasticmachine run elasticsearch-ci/part1

@costin
Copy link
Copy Markdown
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
Copy Markdown
Member Author

costin commented Sep 29, 2021

@elasticmachine update branch

@costin
Copy link
Copy Markdown
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