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

Fields formatted as Bytes do not display units in range agg anymore #58115

Closed
jakommo opened this issue Feb 20, 2020 · 1 comment · Fixed by #58651
Closed

Fields formatted as Bytes do not display units in range agg anymore #58115

jakommo opened this issue Feb 20, 2020 · 1 comment · Fixed by #58651
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) regression Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@jakommo
Copy link
Contributor

jakommo commented Feb 20, 2020

Kibana version: 7.6.0

Elasticsearch version: 7.6.0

Server OS version: ECE 2.4.3

Browser version: Firefox 73.0.1

Describe the bug:
If a numeric field is formatted as Bytes in the index pattern, it shows up correctly with the unit in discover and other aggregations (i.e. it works for terms agg).

DeepinScreenshot_select-area_20200220130322

DeepinScreenshot_select-area_20200220131610

But when using a range agg, it's not displaying the units anymore

DeepinScreenshot_select-area_20200220130946

But this worked in 6.x. I.e. below screen is from 6.8.3:
DeepinScreenshot_select-area_20200220130933

This feels like a regression.

Steps to reproduce:
1.Index test doc

PUT test/_doc/1
{"my_bytes_field": 1024,"@timestamp": "2020-02-20T11:56:41.965Z"}
  1. Create index pattern and configure this field as Bytes
  2. Create a range agg on the field
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@markov00 markov00 added Feature:Data Table Data table visualization feature regression Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Feb 20, 2020
@alexh97 alexh97 added the bug Fixes for quality problems that affect the customer experience label Feb 20, 2020
@wylieconlon wylieconlon self-assigned this Feb 24, 2020
@wylieconlon wylieconlon added Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) and removed Feature:Data Table Data table visualization feature labels Feb 26, 2020
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:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) regression Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants