-
Notifications
You must be signed in to change notification settings - Fork 1.7k
in_kmsg: align fields with syslog input plugin #10544
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
base: master
Are you sure you want to change the base?
Conversation
WalkthroughA syslog-style timestamp string is generated from the kernel message timestamp and system boot time, converted to local time, and formatted. The log event encoder output now replaces the original "msg" field with three fields: "ident" set to "kernel", "message" containing the original log message, and "time" containing the formatted timestamp. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (28)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
- a syslog like timestamp can be very human friendly for kernel messages, instead of only having monotonic timestamp - if we want to write both the kernel logs and system logs to /var/log/messages then we don't have to use separate templates Signed-off-by: Mohd Husaam Mehdi <[email protected]>
if we want to write both the kernel logs and system logs to
/var/log/messages then we don't have to use separate templates
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.
Summary by CodeRabbit