8000 LogsDB: Add synthetic_source_keep = none to arrays where order/duplicates do not matter · Issue #2376 · elastic/ecs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content < 8000 /span>
LogsDB: Add synthetic_source_keep = none to arrays where order/duplicates do not matter #2376
Open
@andrewkroh

Description

@andrewkroh

For array fields treated as unordered sets, we should add synthetic_source_keep: "none" to the mappings to optimize storage under LogsDB. Fields like host.ip and related.ip would be candidates because order and duplicates are irrelevant.

Adding this option prevents the array field from being stored in _source.

Support for this is in-progress in Elasticsearch and will be first available in 8.16.

References

Related

- [ ] https://github.com/elastic/ecs/pull/2422
- [ ] Update [ecs@mappings](https://github.com/elastic/elasticsearch/blob/main/x-pack/plugin/core/template-resources/src/main/resources/ecs%40mappings.json) dynamic template in elastic/elasticsearch
- [ ] https://github.com/elastic/package-spec/issues/861
- [ ] https://github.com/elastic/integrations/issues/12485

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0