On Thu, 25 Oct 2001, Jeremy Wadsack wrote:

> 
> If you only want the hours between 4 and 6 for *every* day then you
> probably should specify some custom logformat lines like this
> (assuming you have combined format logs):
> 
> LOGFORMAT (%S %j %u [%d/%M/%Y:04:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B")
> LOGFORMAT (%S %j %u [%d/%M/%Y:04:%n:%j] "%j%w%r" %c %b "%f" "%B")
> LOGFORMAT (%S %j %u [%d/%M/%Y:04:%n:%j] "%r" %c %b "%f" "%B")
> 
> LOGFORMAT (%S %j %u [%d/%M/%Y:05:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B")
> LOGFORMAT (%S %j %u [%d/%M/%Y:05:%n:%j] "%j%w%r" %c %b "%f" "%B")
> LOGFORMAT (%S %j %u [%d/%M/%Y:05:%n:%j] "%r" %c %b "%f" "%B")
> 
> LOGFORMAT (%S %j %u [%d/%M/%Y:06:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B")
> LOGFORMAT (%S %j %u [%d/%M/%Y:06:%n:%j] "%j%w%r" %c %b "%f" "%B")
> LOGFORMAT (%S %j %u [%d/%M/%Y:06:%n:%j] "%r" %c %b "%f" "%B")
> 
> 

That won't work, because there's no hour field!

Analog will only select a single time interval. If you want something more
complicated than that, you'll have to pick out the lines you want with some
other program first.

-- 
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to