-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fields using wildcard
type should not specify ignore_above
param
#30096
Comments
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
This is caused by the following code in libbeat: beats/libbeat/template/processor.go Lines 320 to 326 in b6b4f1d
Which is treating a missing (zero) value as a request to use libbeat's default (1024). This behavior was copied from keyword fields. Also, I see that I wonder what the best approach would be here. Removing this behavior for wildcards only impacts one field outside ECS: But for keywords it will be much trickier as they are used everywhere and we have relied on the default being injected for a long time. This could also be fixed in ECS' Beats generator by forcing an /cc @kvch |
The A big benefit I only suggest we remove |
Modifies libbeat's template processor to stop hardcoding a default `ignore_above` limit of 1024 on wildcard fields. This behavior was inherited from keyword fields. Closes elastic#30096
Modifies libbeat's template processor to stop hardcoding a default `ignore_above` limit of 1024 on wildcard fields. This behavior was inherited from keyword fields. Closes #30096
#30708) Modifies libbeat's template processor to stop hardcoding a default `ignore_above` limit of 1024 on wildcard fields. This behavior was inherited from keyword fields. Closes #30096 (cherry picked from commit 677229f) Co-authored-by: Adrian Serrano <[email protected]>
Version: 8.0.0-rc1, 7.16.2
Operating System: Seen on Windows and MacOS
Description
Index templates created by Beats are still specifying an
ignore_above
setting forwildcard
fields.Example from the
winlogbeat-8.0.0-rc1
template on theprocess.command_line
field:Long field values are not being indexed as expected with
wildcard
. Kibana confirms:Keyword fields include an
ignore_above
param in their ECS field definitions, butwildcard
fields do not:https://github.com/elastic/beats/blob/8.0/libbeat/_meta/fields.ecs.yml#L4443-L4454
Steps to Reproduce:
8.0.0-rc1
with default settings and runsetup
to install default index templates.wildcard
fields.The text was updated successfully, but these errors were encountered: