Skip to content

Commit 6b6592e

Browse files
authored
Stop using _source.mode attribute in traces-otel builtin template (#117487) (#117492)
The traces-otel@mappings component template is configured to use logsdb. No need to configure source mode separately.
1 parent 20a78a1 commit 6b6592e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ template:
1010
sort:
1111
field: [ "resource.attributes.host.name", "@timestamp" ]
1212
mappings:
13-
_source:
14-
mode: synthetic
1513
properties:
1614
trace_id:
1715
type: keyword

x-pack/plugin/otel-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 otel-data. This must be increased whenever an existing template is
33
# changed, in order for it to be updated on Elasticsearch upgrade.
4-
version: 6
4+
version: 7
55

66
component-templates:
77
- otel@mappings

0 commit comments

Comments
 (0)