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

When I click the order by timestamp triangle not all entries are ordered #112510

Closed
garyjblackwell opened this issue Sep 17, 2021 · 10 comments
Closed
Labels
bug Fixes for quality problems that affect the customer experience :DataDiscovery/fix-it-week Feature:Discover Discover Application impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@garyjblackwell
Copy link

Kibana version:
7.14.1
Elasticsearch version:
I'm not sure. How do I tell?
Server OS version:
Do you mean the Elastic Server?
Browser version:
Chrome
Browser OS version:
It auto-updates.
Original install method (e.g. download page, yum, from source, etc.):
Cloud
Describe the bug:
I searched in the Kibana Discover search box for event.action:"New-InboxRule", then clicked the order by TimeStamp trianlge. The events do not properly order by TimeStamp.
Steps to reproduce:

  1. Click Discover and select the Index, in this case I have selected all indexes.
  2. Run a search looking for new inbox rules using event.action:"New-InboxRule".
  3. click the triangle to sort by timestamp

Expected behavior:
Properly order the events by their timestamp.
Screenshots (if relevant):
image

Errors in browser console (if relevant):

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

Any additional context:

@garyjblackwell garyjblackwell added the bug Fixes for quality problems that affect the customer experience label Sep 17, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 17, 2021
@stratoula stratoula added Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. labels Sep 20, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 20, 2021
@stratoula stratoula added needs-team Issues missing a team label triage_needed labels Sep 20, 2021
@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 20, 2021
@kertal
Copy link
Member

kertal commented Sep 20, 2021

For me this looks like your document table is sorted by more than one columns which was implemented in:
#41918

Could you check if there's another column with the sorting icon visible? Then you would need to de-sort by it (Clicking on it again 1-2 times).

If that doesn't work, could you share the part of Discover's URL that contains the sort state:
Bildschirmfoto 2021-09-20 um 11 09 01

thx!

@garyjblackwell
Copy link
Author

I don't see a sort icon on the other columns, nor have I clicked any other columns to sort them. I have clicked the sort button several times.
sort:!(!('@timestamp',asc)))

@timroes
Copy link
Contributor

timroes commented Sep 20, 2021

Hi,

Could you maybe go to the Inspect button on the top in the menu and copy us the request that has been send for Documents?

Thanks a lot
Tim

@garyjblackwell
Copy link
Author

garyjblackwell commented Sep 30, 2021

Please see attached
request_Elastic.txt

@kertal
Copy link
Member

kertal commented Oct 1, 2021

I see what's happening, it's just sorting by _score ... this is odd. Is this an index pattern with timefield? could you share the saved object of the saved search "New-InboxRule". many thx!

@garyjblackwell
Copy link
Author

You'll have to give me some details on getting the "saved object of the saved search". In my mind, that is the same thing as the query I posted above.

@timroes
Copy link
Contributor

timroes commented Oct 4, 2021

@garyjblackwell You can export saved objects, by going in the menu to Stack Management > Saved Objects and look for the saved object (in this case the saved Discover search). When selecting it you'll find an Export button on the top right, to export that saved object as ndjson.

@garyjblackwell
Copy link
Author

savedobject_export.txt
See attached

@timductive timductive added the impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. label Apr 27, 2022
@kertal
Copy link
Member

kertal commented Sep 22, 2022

I gave it another try, but couldn't reproduce. There have been lots of versions released since 7.14.1, and lots of changes in this area. soon 8.5 will be released. In case you've upgraded and still encounter the problem, feel free to reopen the issue. Thx for reporting, and sorry I couldn't help

@kertal kertal closed this as completed Sep 22, 2022
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 :DataDiscovery/fix-it-week Feature:Discover Discover Application impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

No branches or pull requests

6 participants