[analog-help] Help on the LogFormat

Arnab Ganguly aganguly01 at gmail.com
Mon Jul 7 07:24:56 PDT 2008


I have given below the log file snippets:

10.146.163.80 - - [27/Jun/2008:15:27:49 +0530] "POST
/spiral-bin/Collector.dll HTTP/1.0" "Transaction time in Sec= 1" "Bytes
received = 238" 200 85
10.146.163.80 - - [27/Jun/2008:15:27:49 +0530] "POST
/spiral-bin/Collector.dll HTTP/1.0" "Transaction time in Sec= 1" "Bytes
received = 304" 200 183
10.146.163.80 - - [27/Jun/2008:15:27:48 +0530] "POST
/spiral-bin/Collector.dll HTTP/1.0" "Transaction time in Sec= 4" "Bytes
received = 106142" 200 117
10.146.163.80 - - [27/Jun/2008:15:27:49 +0530] "POST
/spiral-bin/Collector.dll HTTP/1.0" "Transaction time in Sec= 4" "Bytes
received = 304" 200 142
10.146.163.80 - - [27/Jun/2008:15:27:49 +0530] "POST
/spiral-bin/Collector.dll HTTP/1.0" "Transaction time in Sec= 5" "Bytes
received = 306" 200 183
10.146.163.80 - - [27/Jun/2008:15:27:49 +0530] "POST
/spiral-bin/Collector.dll HTTP/1.0" "Transaction time in Sec= 5" "Bytes
received = 100614" 200 174
10.146.163.80 - - [27/Jun/2008:15:27:49 +0530] "POST
/spiral-bin/Collector.dll HTTP/1.0" "Transaction time in Sec= 6" "Bytes
received = 304" 200 142
10.146.163.80 - - [27/Jun/2008:15:27:49 +0530] "POST
/spiral-bin/Collector.dll HTTP/1.0" "Transaction time in Sec= 6" "Bytes
received = 306" 200 142
10.146.163.80 - - [27/Jun/2008:15:27:49 +0530] "POST
/spiral-bin/Collector.dll HTTP/1.0" "Transaction time in Sec= 7" "Bytes
received = 306" 200 183
10.146.163.80 - - [27/Jun/2008:15:27:49 +0530] "POST
/spiral-bin/Collector.dll HTTP/1.0" "Transaction time in Sec= 7" "Bytes
received = 262" 200 124

Thanks
Arnab


On Mon, Jul 7, 2008 at 6:33 PM, Aengus <analog07 at eircom.net> wrote:

> On 7/7/2008 7:19 AM, Arnab Ganguly wrote:
>
>> Hi All,
>> I am using Analog for the first time.In my Apache I have tailor made the
>> log in the following format
>>
>> *LogFormat "%h %l %u %t \"%r\" \"Transaction time in Sec= %T\" \"Bytes
>> received = %I\" %>s %b" common
>>
>> *My requirement is Analog should be able to understand the above format.
>> I tried out the following in the analog.cfg file,
>>
>> APACHELOGFORMAT (%h %l %u %t \"%r\" \"Transaction time in Sec= %T\"
>> \"Bytes received = %I\" %>s %b)
>> LOGFILE /data/servers/testgm1/logs/access_log
>> OUTFILE /data/servers/testgm1/pages/output.html
>> HOSTNAME "10.146.163.301"
>> HOSTNAME "http://10.146.163.301"
>>
>>  but the output.html file generated is not proper.Any help would be very
>> much appreciated.
>>
>
> Can you post 2 or 3 lines from your logfile? Analogs debug output usually
> makes it possible to figure out any discrepancies in the log format.
>
>  Also one more question, is it possible for Analog to monitor logs other
>> than Apache?
>>
>
> Analog can be configured to read log files from most web servers (Analog
> predates Apache). It's sometimes possible to use it to parse log files that
> aren't web server logs, but that depends on the format of the logfiles, and
> the type of information you're actually interested in.
>
> Aengus
> +------------------------------------------------------------------------
> |  TO UNSUBSCRIBE from this list:
> |    http://lists.meer.net/mailman/listinfo/analog-help
> |
> |  Analog Documentation: http://analog.cx/docs/Readme.html
> |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
> |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
> +------------------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.meer.net/pipermail/analog-help/attachments/20080707/ca2b151b/attachment.html


More information about the analog-help mailing list