Hello,

Just to be clear, is this configuration syntax supported by the legacy v5? 
Because that's all I can use.

Ivan

On Aug 7, 2014, at 10:19 PM, Eugene Istomin <[email protected]> wrote:

> 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
> 
> On Thursday, August 07, 2014 09:16:04 PM Ivan Lezhnjov IV wrote:
> > 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.

Reply via email to