-
Notifications
You must be signed in to change notification settings - Fork 11
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
issues with reading systemd v237 on Ubuntu Bionic #6
Comments
Thanks for your report. So what's happening is that there might be some unexpected input in your journal - which get skipped when you pass Unfortunately I recently simplified processing of the journal making it harder to trace the source in the running application - but you can definitely help me fix this. For the first error, please run this and tell me what the output is:
I'd expect only numeric values, but apparently there can be more. If you could find the complete line that would be great (after finding a non-numeric value, grep for that and past the json line here) The second one I just fixed |
I'm running Systemd v241 (v241-8.git9ef65cb.fc30) on Fedora 30.
Running it yields
In the format "<number of messages> <facility>" If you want a sample message with a non-numeric facility:
|
Thanks for the information @justin-gerhardt . Since I'm using SYSLOG_IDENTIFIER for the Facility field I've decided to drop other / unused fields for now. This should complete fix above errors |
Trying this for the first time:
1
2
It looks like that only the
--follow
works well:Probably people are configuring journald write to files and feed them to filebeats, since filebeats isn't reading the systemd journald directly yet elastic/beats#7955
The text was updated successfully, but these errors were encountered: