-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
resolves #58518 Changes the object properties in the eventLog mappings to use `dynamic: false` instead of `dynamic: strict`. This provides a bit of a safety net for cases where the mappings change during development, or potentially in production cases. Rather than completely lose entire events and see errors in logs, we'll silently drop properties from events. While researching the `dynamic` property, I remember there's also a `meta` property available, which is a convenient place to drop our meta-data about a field being an array value, for internal processing. Bonus, it can live in the generated mappings as well. references: - https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-field-meta.html - https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic.html Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information
1 parent
530cb88
commit b3a7b74
Showing
2 changed files
with
24 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters