rsyslog
May 17, 2008 - 10:35 AM

Donate!
Satisfied with rsyslog?

Donate and help keep
the project alive!

Rainer's Blog

Login




 


 Log in Problems?
 New User? Sign Up!

Online
There are 17 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Announcements
Announcements  :: rsyslog 3.12.0 released ::
(563 Reads)  
Posted by friedl on Thursday, February 28, 2008 - 05:43 PM

Hi all,

as promised, I have just released rsyslog 3.12.0. It has one new major feature, and that is complex expression support inside filters. For example, you can now do the following [all of this is on *one* line]:

if $syslogfacility-text == 'local0' and $msg startswith 'DEVNAME' and ($msg contains 'error1' or $msg contains 'error0') then /var/log/somelog

There is no restriction on the complexity of expressions. As with selector lines, you can specify as many "if"-filters as you like. I personally have been waiting very long for this feature, as I consider it core functionality which should be provided. So I am more than happy that we now have it. Please note that I will continue to enhance this
facility, ultimately ending up with a simple configuration script language. During that course, some syntax may change, so you may need to slightly modify your configuration files if you upgrade to a later release.

Documentation for this feature can be found under "Expression-based Filters" on the rsyslog.conf page:

http://www.rsyslog.com/doc-rsyslog_conf.html

No other changes or fixes are included in 3.12.0.

Changelog:

http://www.rsyslog.com/Article185.phtml

Download:

http://www.rsyslog.com/Downloads-req-getit-lid-84.phtml

I hope the new feature is useful. Feedback is appreciated.

Rainer

Send this story to someone  Printer-friendly page
Only logged in users are allowed to comment. register/log in
 Search
 
Google

 Last Forum Posts
 · Re: Transport With Stunnel-need your hel ...
Sorry, I overlooked the message. This looks like a duplicate port ...
· Re: if ... then ... else
I've re-read the whole thread. I think I now got it. Else is just ...
· Re: if ... then ... else
sandiso wrote:So I have many boxes and from few of those boxes I ...
· Re: if ... then ... else
You got me confused. I think my config is right but I`ll explain ...
· Re: if ... then ... else
Thanks for the files (received via mail). The problem was always ...

 Top Contributors
 
Contributor Contribs
varmojfekoj 7
Michael Biebl 2
Michel Biebl 1
Peter Vrabec 1


 Past Articles

:: Syndication: ::
Page created in 0.275943040848 seconds.