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

Kibana 5.1.1 Histogram filter x-axis ordering #9838

Closed
wal05 opened this issue Jan 12, 2017 · 4 comments
Closed

Kibana 5.1.1 Histogram filter x-axis ordering #9838

wal05 opened this issue Jan 12, 2017 · 4 comments
Assignees
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:enhancement

Comments

@wal05
Copy link

wal05 commented Jan 12, 2017

Hi,

When using filters on the x-axis of the histogram, the order that is displayed on the x-axis uses the filter label value rather than the filter index.

eg
X-axis
filter 1 -> label = 100us
filter 2 -> label = 1 ms

Would display the first column as 1 ms rather than the filter index 100 us

Is there any way around this ?

I have attached the output difference between kibana 4.6.1 and kibana 5.1.1

screen shot 2017-01-13 at 9 30 07 am

screen shot 2017-01-13 at 9 29 01 am

@ppisljar ppisljar self-assigned this Jan 13, 2017
@ppisljar ppisljar 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 labels Jan 13, 2017
@ppisljar
Copy link
Member

it seems that elasticsearch will return filters by alphabetical order no matter how we send them in.

@ppisljar ppisljar added release_note:enhancement and removed bug Fixes for quality problems that affect the customer experience labels Jan 13, 2017
@ppisljar
Copy link
Member

It seems we never guaranteed the order of filters. Currently they are in fact sorted alphabetically. If we would want to preserve the order by which they are entered we would need to resort result on kibana side.

@pemontto
Copy link

pemontto commented Mar 1, 2017

I have a case where I'm trying to do an hourOfDay vs dayOfWeek heatmap and finding it very unintuitive having them mixed up when sorting by term.

Scripted fields are
doc['@timestamp'].date.dayOfWeek
doc['@timestamp'].date.hourOfDay

@ppisljar
Copy link
Member

duplicate of #10543

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:enhancement
Projects
None yet
Development

No branches or pull requests

3 participants