Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template editor adds all default settings for mapping when editing. #106151

Open
PhaedrusTheGreek opened this issue Jul 19, 2021 · 5 comments
Open
Labels
bug Fixes for quality problems that affect the customer experience Feature:Index Management Index and index templates UI Feature:Mappings Editor Index mappings editor UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@PhaedrusTheGreek
Copy link
Contributor

Kibana version: 7.11.2

Elasticsearch version: 7.11.2

Server OS version: Elastic Cloud

Browser version: Chrome

Browser OS version: Mac OS

Describe the bug:

When editing an index template, I changed the name of one of the fields from path to tags and all default values were inserted:

"commentable": {
      "type": "object",
      "properties": {
        "namespace": {
          "type": "keyword"
        },
        "tags": {
          "eager_global_ordinals": false,
          "norms": false,
          "index": true,
          "store": false,
          "type": "keyword",
          "split_queries_on_whitespace": false,
          "index_options": "docs",
          "doc_values": true
        }
      }
    },

This will be hazardous and unexpected, moving forward across major versions. Settings will be deprecated, and/or default behaviours may be modified.

@PhaedrusTheGreek PhaedrusTheGreek added the bug Fixes for quality problems that affect the customer experience label Jul 19, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Jul 19, 2021
@timroes timroes added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label Jul 21, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-stack-management (Team:Stack Management)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jul 21, 2021
@alisonelizabeth alisonelizabeth added Feature:Index Management Index and index templates UI Feature:Mappings Editor Index mappings editor UI labels Jul 26, 2021
@cjcenizal cjcenizal self-assigned this Aug 4, 2021
@alisonelizabeth
Copy link
Contributor

Possibly related to #52708.

@cjcenizal
Copy link
Contributor

I agree with Alison, this is caused by the issue she linked above. I was able to reproduce this on 7.14.

@ElenaStoeva
Copy link
Contributor

A short term-solution proposed in #52708 (comment) was implemented in #152730. We decided to defer the implementation of a long-term solution until later as this is not of highest priority at the moment.

@Oddly
Copy link

Oddly commented Jul 19, 2024

I think this should get a + on a priority scale, this is breaking people's ECS and introducing conflicts, which should be avoided at all costs.

See related issue:
#150395

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Index Management Index and index templates UI Feature:Mappings Editor Index mappings editor UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

7 participants