-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Better default mappings for logs #88777
Copy link
Copy link
Closed
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types>enhancementTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearch
Description
There are several pitfalls when using the default mappings for logs (the logs-*-* index template):
- Data loss
- Mapping issues due to object vs scalar conflicts (
"host": "foo", "host.name": "foo") - Mapping issues due to conflicting types (
"foo": 42, "foo": "bar") - Mapping explosions
- Mapping issues due to object vs scalar conflicts (
- Ingestion and disk overhead because all fields are indexed by default, even for fields that are never or rarely searched by (for example
process.argv)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types>enhancementTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearch
Type
Fields
Give feedbackNo fields configured for issues without a type.