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

Table view does not sort by time correctly #5300

Closed
rul-hydro opened this issue Nov 7, 2023 · 1 comment
Closed

Table view does not sort by time correctly #5300

rul-hydro opened this issue Nov 7, 2023 · 1 comment
Assignees
Labels
bug Something isn't working vmui

Comments

@rul-hydro
Copy link

Describe the bug

When viewing log entries from more than one month in VictoriaLogs, the table view will sort the time column by its alphanumerical value, so Nov<Oct.

To Reproduce

  • Pick a log query that will return entries from October and November
  • Switch to Table view

The table will have the latest entries from October first, then earlier entries from October, and then entries from November

Version

victoria-logs-20231004-080357-tags-v0.4.1-victorialogs-0-g8fe44dadaa

Logs

No response

Screenshots

No response

Used command-line flags

No response

Additional information

No response

@rul-hydro rul-hydro added the bug Something isn't working label Nov 7, 2023
@tenmozes tenmozes added the TBD To Be Done label Nov 7, 2023
@Loori-R Loori-R added the vmui label Nov 7, 2023
Loori-R added a commit that referenced this issue Nov 12, 2023
valyala pushed a commit that referenced this issue Nov 13, 2023
* vmui/logs: fix time sorting #5300

* vmui/logs: add base query validation

* vmui/logs: add a message for empty results
valyala added a commit that referenced this issue Nov 13, 2023
valyala pushed a commit that referenced this issue Nov 13, 2023
* vmui/logs: fix time sorting #5300

* vmui/logs: add base query validation

* vmui/logs: add a message for empty results
valyala added a commit that referenced this issue Nov 13, 2023
AndrewChubatiuk pushed a commit to AndrewChubatiuk/VictoriaMetrics that referenced this issue Nov 15, 2023
* vmui/logs: fix time sorting VictoriaMetrics#5300

* vmui/logs: add base query validation

* vmui/logs: add a message for empty results
AndrewChubatiuk pushed a commit to AndrewChubatiuk/VictoriaMetrics that referenced this issue Nov 15, 2023
@valyala
Copy link
Collaborator

valyala commented Nov 15, 2023

@rul-hydro , thanks for filing the bugreport! The issue with improper sorting by time in web UI for VictoriaLogs has been fixed in v0.4.2-victorialogs release.

Closing the issue as fixed then.

@valyala valyala closed this as completed Nov 15, 2023
@valyala valyala removed the TBD To Be Done label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vmui
Projects
None yet
Development

No branches or pull requests

4 participants