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

Adopting Wildcard Fields #1163

Closed
10 tasks done
jamiehynds opened this issue Jun 22, 2021 · 2 comments
Closed
10 tasks done

Adopting Wildcard Fields #1163

jamiehynds opened this issue Jun 22, 2021 · 2 comments
Assignees

Comments

@jamiehynds
Copy link

jamiehynds commented Jun 22, 2021

Wildcard is a data type for Elasticsearch string fields introduced in Elasticsearch 7.9. Wildcard optimizes performance for queries using wildcards (*) and regex, allowing users to perform grep-like searches without the limitations of the existing text and keyword types.

ECS is supporting wildcards (RFC here) for the following fields:

Field Set Field(s)
error error.stack_trace
http http.request.body.content
http.response.body.content
process process.command_line
registry registry.data.strings
url url.full
url.original
url.path

There is an impact on indexing throughput (5% decrease on average) and storage (5% increase on average) based on our performance testing of wildcard fields.

With a set of security integrations GA'ing in 7.14, we will update these integrations to change keyword fields to wildcard in 7.14. Beats modules will not be updated to ensure existing Beats users are not impacted.

Integrations to be updated for 7.14

@elasticmachine
Copy link

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@mtojek
Copy link
Contributor

mtojek commented Jun 22, 2021

While working on the elastic/package-spec#63 I introduced a simple dependency management to import ECS field definitions (name, type, description) directly from ECS repository. I will try to enable this feature for some packages in elastic/integrations.

For reference: https://github.com/elastic/elastic-package/blob/master/test/packages/nginx/data_stream/access/fields/ecs.yml#L6

Sample PR: #1171

Is it something that will be useful here?

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

4 participants