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

[7.17] (backport elastic-agent#710) Allow - in eql variable names #32350

Merged
merged 4 commits into from Jul 25, 2022

Conversation

michel-laterman
Copy link
Contributor

Backport elastic/elastic-agent#710

  • fix to allow dashes in variable names in EQL expressions

extend eql to allow the '-' char to appear in variable names, i.e.,
${data.some-var} and additional test cases to eql, the transpiler, and
the k8s provider to verify this works. Note that the bug was caused by
the EQL limitation, the otehr test cases were added when attempting to
find it.

  • Regenerate grammer with antlr 4.7.1, add CHANGELOG

  • Fix linter issue

  • Fix typo

* fix to allow dashes in variable names in EQL expressions

extend eql to allow the '-' char to appear in variable names, i.e.,
${data.some-var} and additional test cases to eql, the transpiler, and
the k8s provider to verify this works. Note that the bug was caused by
the EQL limitation, the otehr test cases were added when attempting to
find it.

* Regenerate grammer with antlr 4.7.1, add CHANGELOG

* Fix linter issue

* Fix typo
@michel-laterman michel-laterman added bug backport Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Jul 13, 2022
@michel-laterman michel-laterman requested a review from a team as a code owner July 13, 2022 19:35
@michel-laterman michel-laterman requested review from aleksmaus and narph and removed request for a team July 13, 2022 19:35
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Jul 13, 2022
@elasticmachine
Copy link
Collaborator

elasticmachine commented Jul 13, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-07-22T16:55:09.291+0000

  • Duration: 163 min 24 sec

Test stats 🧪

Test Results
Failed 0
Passed 8536
Skipped 592
Total 9128

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@michel-laterman
Copy link
Contributor Author

/package

@michel-laterman
Copy link
Contributor Author

/test

@michel-laterman michel-laterman requested a review from a team as a code owner July 22, 2022 16:54
@michel-laterman michel-laterman requested review from rdner and cmacknz and removed request for a team July 22, 2022 16:54
@michel-laterman
Copy link
Contributor Author

@michel-laterman michel-laterman merged commit 1e6f031 into elastic:7.17 Jul 25, 2022
@michel-laterman michel-laterman deleted the backport-agent-710 branch July 25, 2022 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport bug Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants