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

[ILM] Index Lifecycle Policies show wrong unit in Kibana UI #36682

Closed
simitt opened this issue May 20, 2019 · 3 comments
Closed

[ILM] Index Lifecycle Policies show wrong unit in Kibana UI #36682

simitt opened this issue May 20, 2019 · 3 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:ILM Feature:Index Management Index and index templates UI Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@simitt
Copy link
Contributor

simitt commented May 20, 2019

Kibana version: 7.0.1

Elasticsearch version: 7.0.1

Describe the bug:
Setting up index policies with min_age, max_age or max_size using small time units or byte size units as described in the docs leads to unexpected behavior, when navigating to Index Lifecycle Policies in Kibana. It shows the configured values, but with different units, as the configured units are not available in the UI.

Steps to reproduce:

  1. Setup ILM policy with time unit second and byte size unit kb.
  2. Navigate to Kibana Management/Elasticsearch/Index Lifecycle Policies and click on the configured policy. This shows a wrong unit for the configured options.

Expected behavior:
See configured units.

Screenshots (if relevant):
Units shown in the UI:

Screen Shot 2019-05-20 at 14 24 10

Configuration in json:

Screen Shot 2019-05-20 at 14 24 45

@simitt simitt added bug Fixes for quality problems that affect the customer experience Feature:ILM labels May 20, 2019
@mistic mistic added Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels May 20, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui

@cjcenizal cjcenizal changed the title [ILM] Index Life Cycle Policies show wrong unit in Kibana UI [ILM] Index Lifecycle Policies show wrong unit in Kibana UI May 22, 2019
@eedugon
Copy link

eedugon commented Oct 23, 2019

Note also that when the described issue occurs, if the user updates the value (not the unit), Kibana will update the value of the policy but keeping the old unit, which creates a lot of confusion.
On the other hand, if the unit is changed to hours and then back to days (without needing to save) and then it's saved, then the internal policy changes the unit and all gets aligned.

@alisonelizabeth
Copy link
Contributor

Fixed via #55228

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:ILM Feature:Index Management Index and index templates UI Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

6 participants