-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
The parse_syslog
Remap function should produce an integer for procid
#5735
Comments
@binarylogic Intuitively it absolutely seems like it should be an integer, but according to RFC 5424 it can also be |
We could opt to parse |
That was going to be my suggestion, we should not preserve the |
The ProcId doesn't necessarily have to be the pid, it can also hold the process name. I can't find any examples in the wild where the name is used, but it is possible according to the RFC.
Current if it is a pid, this function is returning an integer:
If it in a process name, it returns a string. It doesn't do any special handling for
|
Didn't know that! Closing as a result. |
Process IDs, to my knowledge, are always integers. Therefore, the
parse_syslog
should produce an integer for theprocid
field.The text was updated successfully, but these errors were encountered: