Skip to content

Commit 65b551b

Browse files
authored
[9.1] fix: enable date_detection for all apm data streams (elastic#130910)
* Update [email protected] * Update resources.yaml * fix: explicitly map system.process.cpu.start_time to date * Update [email protected] * Update [email protected] * Update [email protected]
1 parent 7798f6c commit 65b551b

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

x-pack/plugin/apm-data/src/main/resources/component-templates/[email protected]

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ _meta:
44
managed: true
55
template:
66
mappings:
7+
date_detection: false
78
dynamic: true
89
dynamic_templates:
910
- numeric_labels:

x-pack/plugin/apm-data/src/main/resources/component-templates/[email protected]

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ _meta:
66
template:
77
mappings:
88
properties:
9+
system.process.cpu.start_time:
10+
type: date
911
processor.event:
1012
type: constant_keyword
1113
value: metric

x-pack/plugin/apm-data/src/main/resources/resources.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# "version" holds the version of the templates and ingest pipelines installed
22
# by xpack-plugin apm-data. This must be increased whenever an existing template or
33
# pipeline is changed, in order for it to be updated on Elasticsearch upgrade.
4-
version: 100
4+
version: 101
55

66
component-templates:
77
# Data lifecycle.

0 commit comments

Comments
 (0)