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

[DOCS] EQL: Add wildcard support to : operator #65237

Merged
merged 1 commit into from
Nov 19, 2020
Merged

[DOCS] EQL: Add wildcard support to : operator #65237

merged 1 commit into from
Nov 19, 2020

Conversation

jrodewig
Copy link
Contributor

@jrodewig jrodewig commented Nov 18, 2020

@jrodewig jrodewig added :Analytics/EQL EQL querying >docs General docs changes v7.11.0 v8.0.0 labels Nov 18, 2020
@jrodewig jrodewig requested a review from costin November 18, 2020 19:33
@jrodewig jrodewig marked this pull request as ready for review November 18, 2020 19:33
@elasticmachine elasticmachine added Team:QL (Deprecated) Meta label for query languages team Team:Docs Meta label for docs team labels Nov 18, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ql (Team:QL)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

Comment on lines +375 to +387
[discrete]
[[eql-syntax-wildcards]]
===== Wildcards

For string comparisons using the `:` operator, you can use wildcards (`*`) to
match specific patterns:

[source,eql]
----
field : "example*wildcard"
field : "*example-wildcard"
field : "example-wildcard*"
----
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@costin Is there an escape sequence for strings containing a literal asterisk (*)? I tested \*, but that didn't seem to work.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, not at the moment. It's something we need to discuss.

Copy link
Member

@costin costin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jrodewig
Copy link
Contributor Author

Thanks @costin.

@jrodewig jrodewig merged commit ce64490 into elastic:master Nov 19, 2020
@jrodewig jrodewig deleted the docs__eql-colon-wildcards branch November 19, 2020 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/EQL EQL querying >docs General docs changes Team:Docs Meta label for docs team Team:QL (Deprecated) Meta label for query languages team v7.11.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants