Re: Help on the LogFormat

"Arnab Ganguly" <[email protected]>
Newsgroups gmane.comp.web.analog.general
Message-ID <[email protected]>
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 <[email protected]> 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
> +------------------------------------------------------------------------
>

+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.