Open ristov opened 4 years ago
Looks like nobody cares about unusable state of syslog output plugin. Calculation based on facility and severity is broken: https://github.com/logstash-plugins/logstash-output-syslog/issues/39 And priority is being straigh up ignored, so there is no way to get correct output.
when testing syslog output plugin of logstash-7.5.1, I noticed that setting "priority" parameter has no effect. According to RFC3164, priority value is a numeral that is calculated as follows: 8*facility+level However, when setting priority to various values like 30 (corresponds to "daemon" facility and "info" level), 132 (corresponds to "local0" facility and "warning" level), etc., the messages are still generated with default priority of 13 ("user" facility and "notice" level). I have tried to define the priority in various ways, including priority => 30 priority => "30" priority => "<30>" but without any effect. Please fix this bug and provide proper information in the documentation what are expected values for the "priority" parameter.