rsyslog doesn't work with property filter 'startswith'
Bug #479592 reported by
jgoubert
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rsyslog (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: rsyslog
It seems that the property filter 'startswith' can't be used to filter e.g. firewall messages.
Using 'contains' works as expected.
e.g.
Nov 9 22:28:24 xxx kernel: [ 8367.076851] FIRE IN= OUT=eth0 SRC=xxx.xxx.xxx.xxx DST=xxx.xxx.xxx.xxx LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=8231 DF PROTO=TCP SPT=4815 DPT=22 SEQ=2172904999 ACK=0 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B4010104
:msg, contains, "FIRE " -/var/log/fire.log
-> works
:msg, startswith, "FIRE " -/var/log/fire.log
-> doesn't work
This issue is already mentioned in bug 450002 comment #2 .
I'm working with rsyslog 4.2.0-2ubuntu5 on (k)ubuntu 9.10 .
description: | updated |
description: | updated |
description: | updated |
Changed in rsyslog (Ubuntu): | |
assignee: | nobody → Wayne Witzel III (wwitzel3) |
status: | Confirmed → Fix Committed |
status: | Fix Committed → Confirmed |
assignee: | Wayne Witzel III (wwitzel3) → nobody |
To post a comment you must log in.
Some problem for me on 10.04 (LTS) with rsyslog 4.2.0-2ubuntu8
This is a long term support release so think this bug should be moved up in importance.
Using 'contains' is a workaround but 'startswith' has significant efficiency gains when processing a lot of logs.