I am just going with stopping and starting rsyslog for now. Looked all over and unable to get something to filter to file from host during a time range.
Thanks Jonathan ................................ Jonathan Mergy <[email protected]> Director Of Technology Lick-Wilmerding High School 755 Ocean Ave, SF CA 94112 P:415.585.1725 x365 http://www.lwhs.org > From: Jonathan Mergy <[email protected]> > Reply-To: rsyslog-users <[email protected]> > Date: Tue, 26 Apr 2011 13:32:35 -0700 > To: <[email protected]> > Subject: [rsyslog] Newbie - time range directive? > > Hiya, > > Looking through config samples and trying to dump logs from couple of hosts > but have a scenario where I am making the logs available to an external > vendor for analysis and only want to give them a few hours a day (typically > at peak usage.) I have the filters working and dumping to a log file and I > will rotate that daily or something but really need to limit the range > rsyslog uses to something like 9am to 2pm. Rsyslog will continue to get data > from the hosts, but right now is writing all data it gets. > > Is there a decent way to limit the timeframe of the logging via a directive? > > Thanks. > > Jonathan > ................................ > Jonathan Mergy <[email protected]> > Director Of Technology > Lick-Wilmerding High School > 755 Ocean Ave, SF CA 94112 > P:415.585.1725 x365 > http://www.lwhs.org > > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

