Hello,
if by 'directly' you mean just not to write a local text log -
if $hostname == $$myhostname and $programname == [ ....]
then {
call send_log & stop
}
}
ruleset(name="send_log")
{
action(type="om*" .....)
}
Of course, this should be written/included before any omfile/other local
textlog actions.
/---/
*/Best regards,/*
/Eugene Istomin/
> Hello,
>
> I was wondering if it is possible to send messages that are coming in
from
> text files monitored by imfile directly to a remote server. That is, these
> messages must never appear in any syslog log files on the client
machine.
>
> The reason I'm looking for this sort of configuration is because it strikes
> me as redundant and utterly superfluous to duplicate other programs'
log
> file in syslog.
>
> Ivan
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
of
> sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
DON'T
> LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.