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

[Index template] Data stream configuration is removed #87293

Closed
sebelga opened this issue Jan 5, 2021 · 1 comment · Fixed by #87666
Closed

[Index template] Data stream configuration is removed #87293

sebelga opened this issue Jan 5, 2021 · 1 comment · Fixed by #87666
Assignees
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 v7.11.0 v8.0.0

Comments

@sebelga
Copy link
Contributor

sebelga commented Jan 5, 2021

While testing #85028 I've realized that the index templates UI does not keep the information in the datastream object. There is now a new hidden parameter that can be provided.

The least we should do is forward the object as is while saving the template. I wonder if we shouln't also surface the hidden toggle.

Steps to reproduce

  1. Create a template in dev tools for a hidden data stream
PUT _index_template/test
{
  "template": {},
  "index_patterns": [
    "somepattern*"
  ],
  "data_stream": {
    "hidden": true   
  }
}
  1. Navigate to Index management -> Index template and edit the "test" template created
  2. Without making any changes, click on the "Review template" step
  3. Under the "Request" tab you can see that the hidden config has been stripped out
  4. Save the template.
  5. Back to console if you fetch the template the hidden config is now false
GET _index_template/test
@sebelga sebelga added 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 v7.11.0 v8.0.0 labels Jan 5, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

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 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants