Navigation Menu

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

LogQL Json Parser sorting logs in random order with same TS #60997

Closed
suikast42 opened this issue Jan 4, 2023 · 1 comment
Closed

LogQL Json Parser sorting logs in random order with same TS #60997

suikast42 opened this issue Jan 4, 2023 · 1 comment

Comments

@suikast42
Copy link

I have serval logs with the same ts but ingestest one by one over NATS to loki over golang gRPC api.

The Query returns the logs in the right order

JournalD output on ingress is in order

image

The LogQl returns the right order
image

If I pipe the json parser to LogQl then the logs are in wrong order

image

@suikast42 suikast42 changed the title LogQl Json Parser reorders logs with same TS LogQl Json Parser sorting logs in random order with same TS Jan 5, 2023
@ivanahuckova ivanahuckova added the needs investigation for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating label Jan 10, 2023
@matyax matyax changed the title LogQl Json Parser sorting logs in random order with same TS LogQL Json Parser sorting logs in random order with same TS Jan 11, 2023
@svennergr
Copy link
Contributor

Hi @suikast42,

this seems like a duplicate of #56071.

Especially you might want to look at this comment: #56071 (comment)

@svennergr svennergr added type/duplicate and removed needs investigation for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating labels Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants