[Stack Management] Component Template edit adds settings which were not originally present #192609
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Index Management
Index and index templates UI
Team:Kibana Management
Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Kibana version: 8.14, 8.15 but also previous versions are affected
Describe the bug:
When editing a
component_template
, themapping
gets updated with some settings which were not originally present.This is made worse by the fact some of those settings are not visible to the user through the wizard as they're hidden behind some tabs.
Example:
Date formats
underAdvanced settings
This flow is particularly used by people using Fleet Integrations when they want to customize the
@custom
component templates.We also see options like
_source
set toenabled
which can generate "big" problems on the next rollover if the data stream using the component template is supposed to be LogsDB or TSDB (as they might usesynthetic
source).Steps to reproduce:
I'm using
logs-apm.app@custom
as an example.GET /_component_template/logs-apm.app@custom
. You'll get:/app/management/data/index_management/indices
.Component Templates
and picklogs-apm.app@custom
Manage > Edit
Next
through the wizard, thenSave
GET /_component_template/logs-apm.app@custom
. You'll get:Expected behavior:
_source
change behind the scenesThe text was updated successfully, but these errors were encountered: