[rsyslog] first time using rsyslog - some questions

Rainer Gerhards rgerhards at hq.adiscon.com
Wed Jul 18 13:56:31 CEST 2007


> right now it is doing what it should be doing, except for one thing.
if
> I have a log defined like this:
> 
> $template hostsecure, "/var/log/hosts/%HOSTNAME%/secure/%$NOW%"
> authpriv.* -?hostsecure
> 
> 
> I'm getting logs from all of the hosts in this path not just ones of %
> HOSTNAME%
> 
> It seemed to be working before 1.17.0.

I have to admit I do not fully understand. There is no hostname
restriction (at least not one I can see from the excerpt), so it should
be processed for all hosts. I am sure I overlook something, please
provide a bit more detail.

> 
> > I had a good time today, its in.
> >
> 
> Thank you for taking care of this so quickly. It is quite helpful.

The question came at the right time, everything was already set. I can't
guarantee this will be the case the next time ;)

Rainer


More information about the rsyslog mailing list