Facility Filter Range
Hi, I thought I must have just messed up some syntax here, but nothing I do seems to work. The issue is with my attempts to specify filter facility function *ranges* - here's the error message (from "syslog-ng -s"): "Error parsing filter expression, syntax error, unexpected LL_DOTDOT, expecting ')' in /etc/syslog-ng.conf at line 69, column 35: filter f_namain { facility(local0 .. local7) and program(namain); }; ..." Filter function specifications like "facility(kern, authpriv, cron)" and "level(warn .. emerg)" appear to work fine. Am I doing something obviously wrong? Thanks, -David PS: This is with version 3.5.4.1.
Hi, Just curious whether anyone had any thoughts on this? If not, I guess I should enter it as bug? Thanks, -David On Thursday, May 29, 2014 10:59 AM, I wrote:
Hi,
I thought I must have just messed up some syntax here, but nothing I do seems to work. The issue is with my attempts to specify filter facility function *ranges* - here's the error message (from "syslog-ng -s"):
"Error parsing filter expression, syntax error, unexpected LL_DOTDOT, expecting ')' in /etc/syslog-ng.conf at line 69, column 35:
filter f_namain { facility(local0 .. local7) and program(namain); };
..."
Filter function specifications like "facility(kern, authpriv, cron)" and "level(warn .. emerg)" appear to work fine.
Am I doing something obviously wrong?
Thanks, -David
PS: This is with version 3.5.4.1.
Looks like a bug to me. On 06/04/2014 09:18 AM, David Hauck wrote:
Hi,
Just curious whether anyone had any thoughts on this? If not, I guess I should enter it as bug?
Thanks, -David
On Thursday, May 29, 2014 10:59 AM, I wrote:
Hi,
I thought I must have just messed up some syntax here, but nothing I do seems to work. The issue is with my attempts to specify filter facility function *ranges* - here's the error message (from "syslog-ng -s"):
"Error parsing filter expression, syntax error, unexpected LL_DOTDOT, expecting ')' in /etc/syslog-ng.conf at line 69, column 35:
filter f_namain { facility(local0 .. local7) and program(namain); };
..."
Filter function specifications like "facility(kern, authpriv, cron)" and "level(warn .. emerg)" appear to work fine.
Am I doing something obviously wrong?
Thanks, -David
PS: This is with version 3.5.4.1.
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
-- Evan
OK, I'll file it - thanks Evan. On Wednesday, June 04, 2014 9:49 AM, Evan Rempel wrote:
Looks like a bug to me.
On 06/04/2014 09:18 AM, David Hauck wrote:
Hi,
Just curious whether anyone had any thoughts on this? If not, I guess I should enter it as bug?
Thanks, -David
On Thursday, May 29, 2014 10:59 AM, I wrote:
Hi,
I thought I must have just messed up some syntax here, but nothing I do seems to work. The issue is with my attempts to specify filter facility function *ranges* - here's the error message (from "syslog-ng -s"):
"Error parsing filter expression, syntax error, unexpected LL_DOTDOT, expecting ')' in /etc/syslog-ng.conf at line 69, column 35:
filter f_namain { facility(local0 .. local7) and program(namain); };
..."
Filter function specifications like "facility(kern, authpriv, cron)" and "level(warn .. emerg)" appear to work fine.
Am I doing something obviously wrong?
Thanks, -David
PS: This is with version 3.5.4.1.
David Hauck <davidh@netacquire.com> writes:
OK, I'll file it - thanks Evan.
Thanks for filing it! The fix for this has been backported from master to 3.5, and will be in the upcoming 3.5.5 release. -- |8]
participants (3)
-
David Hauck
-
Evan Rempel
-
Gergely Nagy