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

Support for RFC 5424 time format in syslog messages #202

Open
mbiebl opened this issue Dec 19, 2021 · 1 comment
Open

Support for RFC 5424 time format in syslog messages #202

mbiebl opened this issue Dec 19, 2021 · 1 comment

Comments

@mbiebl
Copy link

mbiebl commented Dec 19, 2021

RFC 5424 [1], which is based on RFC 3339 [2], defines a new time stamp format for syslog messages and is the default in rsyslog [3]
The benefits of this timestamp format are:

  • sub-second precision
  • contains timezone information
  • is sortable
  • contains the full date, including the year

A log message looks like this:

2021-12-19T20:35:40.572463+01:00 pluto rtkit-daemon[582]: Supervising 9 threads of 5 processes of 1 users.

syslog messages like this are not properly colorized by grc. It would be great if support for RFC 5424 timestamps could be added to grc.

[1] https://datatracker.ietf.org/doc/html/rfc5424
[2] https://datatracker.ietf.org/doc/html/rfc3339
[3] https://www.rsyslog.com/doc/v8-stable/compatibility/v3compatibility.html#output-file-format

@mbiebl
Copy link
Author

mbiebl commented Oct 16, 2022

any news here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant