Describe the bug
The current regular expression used for parsing RFC5424 syslog messages
(RFC5424_WITHOUT_TIME_AND_PRI_REGEXP in lib/fluent/plugin/parser_syslog.rb)
contains an inefficient quantifier.
This is only observed on Ruby 3.2 and older.
To Reproduce
Receive RFC5424 formatted packet in in_syslog.
Expected behavior
Better performance.
Your Environment
- Fluentd version:
- Package version:
- Operating system:
- Kernel version:
Your Configuration
Your Error Log
Additional context
No response
Describe the bug
The current regular expression used for parsing RFC5424 syslog messages
(RFC5424_WITHOUT_TIME_AND_PRI_REGEXP in lib/fluent/plugin/parser_syslog.rb)
contains an inefficient quantifier.
This is only observed on Ruby 3.2 and older.
To Reproduce
Receive RFC5424 formatted packet in
in_syslog.Expected behavior
Better performance.
Your Environment
Your Configuration
Your Error Log
Additional context
No response