-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Journalctl #26
Journalctl #26
Conversation
Signed-off-by: Goutham Veeramachaneni <[email protected]>
Signed-off-by: Goutham Veeramachaneni <[email protected]>
@gouthamve @tomwilkie awesome work, thanks ! |
@multun I have build a small PoC for shipping journald logs to loki. (https://github.com/hikhvar/journaldtail) However my current problem is, that I get |
loki/pkg/chunkenc/dumb_chunk.go Line 40 in c0a6644
Then your logs must must somehow be out of order ;-) It may be that 1) the logs appears out of order inside journald in the first place 2) logs aren't fetched in order 3) some conversion is needed 4) ? |
I did a bit more debugging. I did not clean the loki instance between my test runs. Since I start at the top of the journal in each run, I tried to ingest duplicate logs. |
I've been playing with @hikhvar 's journaldtail - and I can get the out of order error basically at will by doing a
loki onthe other hand is missing the I presume this is really a bug in dockerd's logging, given that some times have milliseconds, and some don't :( upgrading from Docker 18.06 to 18.09 may also have stopped this - possibly because the containerd shim entries aren't logged - I'll circle back to this on Monday |
TODO:
cp -r
'ed required deps.