AW: [syslog-ng]Matching Empty Syslog Lines

syslog-ng@lists.balabit.hu syslog-ng@lists.balabit.hu
Thu, 11 Mar 2004 16:59:21 +0100


Hi Juergen,

try this match("^\s$")..... may be that works

^ means begin of line
\s space/newline/tab=20
$ end of line

greetings Stefan




-----Urspr=FCngliche Nachricht-----
Von: Juergen Wolf [mailto:wolf@idmt.fhg.de]=20
Gesendet: Donnerstag, 11. M=E4rz 2004 16:52
An: syslog-ng@lists.balabit.hu
Betreff: [syslog-ng]Matching Empty Syslog Lines

Hoi,

 I get loads of empty lines in my syslog like:

Mar 11 16:38:29 il062 dm:
Mar 11 16:38:35 il062 sshd:
Mar 11 16:37:19 il062 alsa:

So I am looking for a Match-Expression to omit these lines. =
Unfortunately=20
match("^$") and match("\A\z") did no good at all.

Any idea how to get rid of these lines?

Regards,

 Juergen

--=20
email: wolf@idmt.fhg.de
gilb:  Fraunhofer-Institut fuer Digitale Medientechnologie IDMT
       98693 Ilmenau, Helmholtzring 1
Tel.:  +49 3677 69-4882				Fax:   +49 3677 69-4399

_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html