-
Notifications
You must be signed in to change notification settings - Fork 129
Labels
good first issueGood for newcomersGood for newcomers
Description
When creating a new data stream, with the mapping.subobject set to false, the generated manifest will cause an error building the package. There's no error when mappings.subobjects = true. Happens with (at least) elastic-package v0.114.0
Steps to reproduce:
- Create new datastream by running
elastic-package datastream createin a package dir. - In the wizard, create "logs" type data-stream and answer "N" to "Enable creation of subobjects for fields with dots in their names?" Give any answer to the other questions.
- Build the package with
elastic-package build. There will be this build error:
.../data_stream/new_data_stream/manifest.yml" is invalid: field elasticsearch.index_template.mappings: Additional property subobjects is not allowed
This is the manifest file that was created:
title: "New Data Stream"
type: logs
streams:
- input: logfile
title: Sample logs
description: Collect sample logs
vars:
- name: paths
type: text
title: Paths
multi: true
default:
- /var/log/*.log
elasticsearch:
index_template:
mappings:
subobjects: false
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers