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

update regex of pid field for conformance to RFC5424 spec #2051

Merged
merged 1 commit into from
Jul 4, 2018

Conversation

mdalley
Copy link
Contributor

@mdalley mdalley commented Jul 3, 2018

Per RFC5424, the field for PROCID is either a NILVALUE (-) or ASCII field from 1 to 128 characters.
https://tools.ietf.org/html/rfc5424#section-6

Valid RFC5424 formatted log using alphanumeric PROCID(PID) value of 'proc1':
<16>1 2013-02-28T12:00:00.003Z 192.168.0.1 fluentd proc1 ID24224 [exampleSDID@20224 iut="3" eventSource="Application" eventID="11211"] Hi, from Fluentd!

The regex in this PR commit will properly match the example above.

Replacing PR #2049

@repeatedly
Copy link
Member

Merged. Thanks!

Next, please update commits with push -f. No need to create new PR for update.

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

Successfully merging this pull request may close these issues.

2 participants