On Mon, 25 Jan 2016, Muhammad Asif wrote:

Hi Geeks,

I happened to use a specific filter which is time based.
For Instances i only want to forward logs from 9:00 AM to 5:00 PM to
fluentd and after this time all logs should send to some other destination.

how can i achieve my goal.

There are properties available for this sort of thing, look at $hour and setup an if statement to check against it.

David Lang
_______________________________________________
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