Thanks for the info!

OK, I've changed the output log to include a year,

$ cat pound_log.test 
Oct 22 02 08:57:18 calamary pound: 192.168.1.153 GET /ncddc/leftNavBar
HTTP/1.1 - HTTP/1.1 200 OK 
Oct 22 02 08:57:19 calamary pound: 192.168.1.153 GET /ncddc/infoBoxesDev
HTTP/1.1 - HTTP/1.1 200 OK 
Oct 22 02 08:57:52 calamary pound: 192.168.1.153 GET /ncddc/leftNavBar
HTTP/1.1 - HTTP/1.1 200 OK 
Oct 22 02 08:57:52 calamary pound: 192.168.1.153 GET /ncddc/infoBoxesDev
HTTP/1.1 - HTTP/1.1 200 OK 
Oct 22 02 09:04:15 calamary pound: 192.168.1.153 GET /ncddc/leftNavBar
HTTP/1.1 - HTTP/1.1 200 OK 
Oct 22 02 09:04:15 calamary pound: 192.168.1.153 GET /ncddc/infoBoxesDev
HTTP/1.1 - HTTP/1.1 200 OK 

I'm still getting an error.  The config file is as follows,

# Configuration file for analog 5.22
# See http://www.analog.cx/
#
# Here are a couple of configuration commands to get you started. Add
any more
# you like from the Readme.
#
# Lines starting with # are comments.
#
# There is a much more extensive configuration file in examples/big.cfg
#
# If you need a LOGFORMAT command (most people don't -- try it without
first!),
# it must go here, above the LOGFILE commands.
# slc 10-24-02  Place to interpret format of Pound log (syslog format)
## slc (john) LOGFORMAT (%M %d %h:%n:%t %S: %s %j %r HTTP %j - %c %b)
DEBUG ON
LOGFORMAT (%M %d %y %h:%n:%j %j %j: %s %j %r %j/%j - %j/%j %c %b)
LOGFILE "/home/adminslc/test_analog/pound_log.test"
#slcLOGFORMAT
(%M/t%d/t%y/t%h:%n:%j/t%j/t%j:/t%s/t%j/t%r/t%j/t-/t%j/t%c/t%b)


I get the following info,

$ analog -m -i -d -D -h -Z -z -f -n -B -b -v -c -o -p +t +r +S >
pound_test1.html
analog: analog version 5.22/Unix
F: Closing configuration file /etc/analog.cfg
analog: Warning D: Turning all pie charts off because OUTFILE is stdout
and
  CHARTDIR is unset
  (For help on all errors and warnings, see docs/errors.html)
F: Opening /usr/share/analog/lang/us.lng as language file
F: Closing language file /usr/share/analog/lang/us.lng
F: Opening /usr/share/analog/lang/usdom.tab as domains file
F: Closing domains file /usr/share/analog/lang/usdom.tab
F: Opening /usr/share/analog/lang/usdesc.txt as report descriptions file
F: Closing report descriptions file /usr/share/analog/lang/usdesc.txt
F: Opening /home/adminslc/test_analog/pound_log.test as logfile
C: Oct 22 02 08:57:18 calamary pound: 192.168.1.153 GET
/ncddc/leftNavBar HTTP/1.1 - HTTP/1.1 200 OK 
C:                                                                                     
          
*
C: Oct 22 02 08:57:19 calamary pound: 192.168.1.153 GET
/ncddc/infoBoxesDev HTTP/1.1 - HTTP/1.1 200 OK 
C:                                                                                     
            
*
C: Oct 22 02 08:57:52 calamary pound: 192.168.1.153 GET
/ncddc/leftNavBar HTTP/1.1 - HTTP/1.1 200 OK 
C:                                                                                     
          
*
C: Oct 22 02 08:57:52 calamary pound: 192.168.1.153 GET
/ncddc/infoBoxesDev HTTP/1.1 - HTTP/1.1 200 OK 
C:                                                                                     
            
*
C: Oct 22 02 09:04:15 calamary pound: 192.168.1.153 GET
/ncddc/leftNavBar HTTP/1.1 - HTTP/1.1 200 OK 
C:                                                                                     
          
*
C: Oct 22 02 09:04:15 calamary pound: 192.168.1.153 GET
/ncddc/infoBoxesDev HTTP/1.1 - HTTP/1.1 200 OK 
C:                                                                                     
            
*
F: Closing logfile /home/adminslc/test_analog/pound_log.test
S: Successful requests: 0
S: Redirected requests: 0
S: Failed requests: 0
S: Requests returning informational status code: 0
S: Status code not given: 0
S: Unwanted lines: 0
S: Corrupt lines: 6
F: Opening stdout as output file
analog: Warning R: Turning off empty Request Report
analog: Warning R: Turning off empty File Type Report
analog: Warning R: Turning off empty Host Report

If I understand correctly, that I now can read the file, but it appears
to list all lines as corrupt.  Is there something that I'm missing w/in
the LOGFORMAT?

Any further assistance is greatly appreciated.

 

Jeremy Wadsack wrote:
> 
> Simone Crider ([EMAIL PROTECTED]; Tuesday, December 10, 2002 9:14 AM):
> 
> > Hello,
> 
> > I am using a pound (a reverse-proxy and load-balancer) to frontend my
> > website.  I am trying to run analog on the pound output log.   The
> > format of the pound log is as follows,
> 
> > Oct 22 08:57:18 calamary pound: 192.168.1.153 GET /ncddc/leftNavBar
> > HTTP/1.1 - HTTP/1.1 200 OK
> > Oct 22 08:57:19 calamary pound: 192.168.1.153 GET /ncddc/infoBoxesDev
> > HTTP/1.1 - HTTP/1.1 200 OK
> > Oct 22 08:57:52 calamary pound: 192.168.1.153 GET /ncddc/leftNavBar
> > HTTP/1.1 - HTTP/1.1 200 OK
> > Oct 22 08:57:52 calamary pound: 192.168.1.153 GET /ncddc/infoBoxesDev
> > HTTP/1.1 - HTTP/1.1 200 OK
> 
> > It is w/in the system log format for RH Linux, 7.1.  I have tried the
> > following logformats w/in the analog.cfg,
> 
> > # cat /etc/analog.cfg
> > # Configuration file for analog 5.22
> > # See http://www.analog.cx/
> > #
> > # Here are a couple of configuration commands to get you started. Add
> > any more
> > # you like from the Readme.
> > #
> > # Lines starting with # are comments.
> > #
> > # There is a much more extensive configuration file in examples/big.cfg
> > #
> > # If you need a LOGFORMAT command (most people don't -- try it without
> > first!),
> > # it must go here, above the LOGFILE commands.
> > # slc 10-24-02  Place to interpret format of Pound log (syslog format)
> > DEBUG ON
> > LOGFORMAT (%M %d %h:%n:%j %j %j: %s %j %r %j - %j %c %b)
> > #slcLOGFORMAT (%M/t%j/t%h:%n:%j/t%j/t%j:/t%s/t%j/t%r/t%j/t-/t%j/t%c/t%b)
> 
> > I consistently get the following errors when running the following
> > command  ...
> 
> > $ analog -m -i -d -D -h -Z -z -f -n -B -b -v -c -o -p +t +r +S
> pound_log.102302>> pound9.html
> > analog: analog version 5.22/Unix
> > analog: Warning C: Bad argument in configuration command: ignoring it:
> >   LOGFORMAT "%M %d %h:%n:%j %j %j: %S %j %r %j - %j %c %b"
> > analog: ...cont..:   (reason: time without date or vice versa)
> >   (For help on all errors and warnings, see docs/errors.html)
> > F: Closing configuration file /etc/analog.cfg
> 
> > What does the analog message,  (reason: time without date or vice
> > versa), mean & what should I use as the format?
> 
> > Thank you for any assistance!
> 
> You need to list the year in your log files. Analog does not know what
> year the files are for without reading it from the log file lines.
> When you fix that, then add the %Y as needed to your LOGFORMAT and it
> should work.
> 
> --
> 
> Jeremy Wadsack
> Wadsack-Allen Digital Group
> 
> +------------------------------------------------------------------------
> |  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/analog-help@lists.isite.net/
> |    http://lists.isite.net/listgate/analog-help/archives/
> |    http://www.tallylist.com/archives/index.cfm/mlist.7
> +------------------------------------------------------------------------

-- 
Simone L. Crider
Systems Administrator
Anteon/NOAA
National Coastal Data Development Center
Stennis Space Center, MS  39529
Phone:  (228) 688-2460
Fax:    (228) 688-2968
email:  [EMAIL PROTECTED]
+------------------------------------------------------------------------
|  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/analog-help@lists.isite.net/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to