Skip to content

[7.x] Composable templates: add a default mapping for @timestamp (#59244)#59510

Merged
andreidan merged 2 commits intoelastic:7.xfrom
andreidan:backport/7x-default-mapping
Jul 14, 2020
Merged

[7.x] Composable templates: add a default mapping for @timestamp (#59244)#59510
andreidan merged 2 commits intoelastic:7.xfrom
andreidan:backport/7x-default-mapping

Conversation

@andreidan
Copy link
Contributor

This adds a low precedece mapping for the @timestamp field with
type date.
This will aid with the bootstrapping of data streams as a timestamp
mapping can be omitted when nanos precision is not needed.

(cherry picked from commit 4e72f43)
Signed-off-by: Andrei Dan andrei.dan@elastic.co

Backport of #59244

…9244)

This adds a low precendece mapping for the `@timestamp` field with
type `date`.
This will aid with the bootstrapping of data streams as a timestamp
mapping can be omitted when nanos precision is not needed.

(cherry picked from commit 4e72f43)
Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
@andreidan andreidan added backport :StorageEngine/Data streams Data streams and their lifecycles v7.9.0 labels Jul 14, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Data streams)

@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Jul 14, 2020
@andreidan
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/2

@andreidan andreidan merged commit 4180333 into elastic:7.x Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :StorageEngine/Data streams Data streams and their lifecycles Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v7.9.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants