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

Remove ignore_above setting when not indexing field #1481

Closed
ebeahan opened this issue Jun 28, 2021 · 1 comment · Fixed by #1483
Closed

Remove ignore_above setting when not indexing field #1481

ebeahan opened this issue Jun 28, 2021 · 1 comment · Fixed by #1483
Assignees
Labels
bug Something isn't working ready Issues we'd like to address in the future.

Comments

@ebeahan
Copy link
Member

ebeahan commented Jun 28, 2021

Certain ECS fields are type keyword but are also not:

  • searchable (index: false)
  • used in aggregations, sorting, or scripting (doc_values: false)

The ECS tooling's behavior is to set ignore_above: 1024 for all keyword fields.

However, ignore_above should not be present when index: false and doc_values: false are set on a field.

@ebeahan ebeahan added bug Something isn't working ready Issues we'd like to address in the future. labels Jun 28, 2021
@ebeahan
Copy link
Member Author

ebeahan commented Jun 28, 2021

Identified in elastic/kibana#101232 (comment) and discussed further in elastic/elasticsearch#74121 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready Issues we'd like to address in the future.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant