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

Discover does not use tiebreaker sort order #32221

Closed
wylieconlon opened this issue Feb 28, 2019 · 5 comments
Closed

Discover does not use tiebreaker sort order #32221

wylieconlon opened this issue Feb 28, 2019 · 5 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@wylieconlon
Copy link
Contributor

This is a bug with the discover view. In this screenshot, the expected behavior is that the offset field would be sorted, because the context:tieBreakerFields is set to offset,_doc in advanced settings.

screenshot 2019-02-28 12 14 04

The "view surrounding documents" view, or context view, uses the tiebreaker fields to determine sort order. The Discover view should also use the same sort order.

There are some related issues with the context view: #12937 #18647

@wylieconlon wylieconlon added bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Feb 28, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@thethomp
Copy link

I can confirm this is still an issue in Kibana 7.1.1 in the Discover App view.

@wylieconlon
Copy link
Contributor Author

This issue has been fixed by #41918

@Beeez
Copy link

Beeez commented May 27, 2020

On 7.7.0 I feel like i am still seeing this problem? I am needing to add the log.offset field, then sort by descending to get anything to show up in the right order

@mfriess2
Copy link

mfriess2 commented Oct 15, 2020

I have installed ELK 7.9.2 and can confirm that this does not seem to work anymore in the "Discover" view!
I added a numeric field in logstash which adds nanoseconds and is sortable and configured this new field as "tie breaker" field.

It only seems to work if I manually add my new nanoseconds-field to the discover view (as column) and then sort by it. But this is a) a manually needed step for each user and b) wastes display space because of the additional column.

Actually when I look at the comments of #41918: it describes multi-field-sorting directly in the discover view. This does work (as I described above). But this issue here describes imho another problem: the tie-breaker-configuration does not work as I would expect it from the documentation => thus this issue here might never have been fixed at all !?

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:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants