Kibana: Discover does not use tiebreaker sort order

Created on 28 Feb 2019  路  5Comments  路  Source: elastic/kibana

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

Discover KibanaApp bug

Most helpful comment

This issue has been fixed by https://github.com/elastic/kibana/pull/41918

All 5 comments

Pinging @elastic/kibana-app

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

This issue has been fixed by https://github.com/elastic/kibana/pull/41918

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

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 !?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hvisage picture hvisage  路  170Comments

pkubat picture pkubat  路  75Comments

AlexIoannides picture AlexIoannides  路  138Comments

tbragin picture tbragin  路  81Comments

stigdescamps picture stigdescamps  路  88Comments