Skip to content

Commit

Permalink
Stop using _source.mode attribute in traces-otel builtin template (#1…
Browse files Browse the repository at this point in the history
…17487) (#117492)

The traces-otel@mappings component template is configured to use logsdb. No need to configure source mode separately.
  • Loading branch information
martijnvg authored Nov 25, 2024
1 parent 20a78a1 commit 6b6592e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ template:
sort:
field: [ "resource.attributes.host.name", "@timestamp" ]
mappings:
_source:
mode: synthetic
properties:
trace_id:
type: keyword
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugin/otel-data/src/main/resources/resources.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# "version" holds the version of the templates and ingest pipelines installed
# by xpack-plugin otel-data. This must be increased whenever an existing template is
# changed, in order for it to be updated on Elasticsearch upgrade.
version: 6
version: 7

component-templates:
- otel@mappings
Expand Down

0 comments on commit 6b6592e

Please sign in to comment.