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

Number formatting issues in Metric visualization in 5.5.0 #12795

Closed
krische opened this issue Jul 12, 2017 · 1 comment
Closed

Number formatting issues in Metric visualization in 5.5.0 #12795

krische opened this issue Jul 12, 2017 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Visualizations Generic visualization features (in case no more specific feature label is available) regression v5.5.1

Comments

@krische
Copy link

krische commented Jul 12, 2017

Kibana version: 5.5.0

Elasticsearch version: 5.5.0

Server OS version: CentOS 7

Browser version: Firefox 54, Chrome 59

Browser OS version: Windows 7, Windows 10

Original install method (e.g. download page, yum, from source, etc.): yum

Description of the problem including expected versus actual behavior:

I have a number field whose value is a number of seconds. I assigned the format pattern 00:00:00 to the field so that it is displayed as hours, minutes, and seconds.

Under certain situations, the Metric visualization displays some odd behavior with number formatting.

Steps to reproduce:

  1. Assign the Number Format 00:00:00 to a number field.
  2. Create a new Metric visualization.
  3. Make the first metric a Count aggregation.
  4. Add a second metric to the same visualization, make this second metric an Average aggregation.
  5. Notice that both metrics are displayed as integers or decimals.
  6. Swap the order of the metrics, make the Average aggregation first and the Count aggregation second.
  7. Notice that both metrics are now displayed in the time format (xx:xx:xx).
  8. In previous versions of Kibana, each metric would use the correct formatting. That means an integer for Count and time format for Average.

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

  • Count metric first, Average metric second:
    image
  • Average metric first, Count metric second:
    image
@thomasneirynck thomasneirynck added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience regression v5.5.1 labels Jul 12, 2017
@ppisljar
Copy link
Member

fixed by #12913

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:Visualizations Generic visualization features (in case no more specific feature label is available) regression v5.5.1
Projects
None yet
Development

No branches or pull requests

3 participants