rsyslog
May 17, 2008 - 08:10 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 25 unlogged users and 0 registered users online.

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

Announcements
Announcements  :: rsyslog 1.15.0 released ::
(494 Reads)  
Posted by rgerhards on Thursday, July 05, 2007 - 04:03 PM

Currently a lot of work is going on with rsyslog. Thus, we already have another *major* feature introduced: rsyslog has now the capability to generate output file names based on templates. This feature was often discussed and is now implemented in a very high-performance way.

What does this mean?

If you would like to split log files based on the originator host, you can now do that with just one selector line. All you need to define is a template that has the host property in it and assign that template to the file action. A sample would be:

$template DynaFile,"/var/log/system-%HOSTNAME%.log"
*.* -?DynaFile

That's it. And, of course, you can not only use HOSTNAME but any property that is available (see http://www.rsyslog.com/module-Static_Docs-view-f-property_replacer.html.phtml).

Besides this major enhancement, control for output file permissions have been increased and some minor things be added/changed. Please see the change log for details.

Change Log:

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

Download:

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

I would appreciate feedback on the new DynaFile feature as well as experience/bug reports very much.

Thanks,
Rainer Gerhards

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.334063053131 seconds.