Skip to content

Commit

Permalink
[8.x] 🌊 Streams: Set subobjects: false (elastic#203002) (elastic#203543)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.x`:
- [🌊 Streams: Set subobjects: false
(elastic#203002)](elastic#203002)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Joe
Reuter","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-10T11:28:13Z","message":"🌊
Streams: Set subobjects: false (elastic#203002)\n\nWith
elastic/elasticsearch#117544
fixed,\r\n`subobjects: false` can be set on wired streams.\r\n\r\nThis
allows to map fields as scalars even if they share the same
prefix,\r\ne.g.\r\n* `deeply.nested.path` as `keyword`\r\n*
`deeply.nested.path.and.more` as
`keyword`","sha":"7f3c642c0a3717a0f71275051fd35a48f88a1e0a","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","v8.18.0","Feature:Streams"],"title":"🌊
Streams: Set subobjects:
false","number":203002,"url":"https://github.com/elastic/kibana/pull/203002","mergeCommit":{"message":"🌊
Streams: Set subobjects: false (elastic#203002)\n\nWith
elastic/elasticsearch#117544
fixed,\r\n`subobjects: false` can be set on wired streams.\r\n\r\nThis
allows to map fields as scalars even if they share the same
prefix,\r\ne.g.\r\n* `deeply.nested.path` as `keyword`\r\n*
`deeply.nested.path.and.more` as
`keyword`","sha":"7f3c642c0a3717a0f71275051fd35a48f88a1e0a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203002","number":203002,"mergeCommit":{"message":"🌊
Streams: Set subobjects: false (elastic#203002)\n\nWith
elastic/elasticsearch#117544
fixed,\r\n`subobjects: false` can be set on wired streams.\r\n\r\nThis
allows to map fields as scalars even if they share the same
prefix,\r\ne.g.\r\n* `deeply.nested.path` as `keyword`\r\n*
`deeply.nested.path.and.more` as
`keyword`","sha":"7f3c642c0a3717a0f71275051fd35a48f88a1e0a"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Joe Reuter <[email protected]>
  • Loading branch information
kibanamachine and flash1293 authored Dec 10, 2024
1 parent e2c0e91 commit 5507d2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function generateLayer(
template: {
settings: isRoot(definition.id) ? logsSettings : {},
mappings: {
subobjects: true, // TODO set to false once this works on Elasticsearch side - right now fields are not properly indexed.
subobjects: false,
dynamic: false,
properties,
},
Expand Down

0 comments on commit 5507d2b

Please sign in to comment.