[phpLogCon] Webserver Fields

Oláh Ambrus Sándor aolah76 at freemail.hu
Wed Nov 20 22:23:22 CET 2013


Dear Mr. Lorbach,

thank you very much, adding that single line works perfectly! All columns of
the access.log are filled as expected! Great!

Yours sincerely,
Ambrus


-----Original Message-----
From: phplogcon-bounces at lists.adiscon.com
[mailto:phplogcon-bounces at lists.adiscon.com] On Behalf Of Andre Lorbach
Sent: Wednesday, November 20, 2013 9:34 AM
To: phplogcon at lists.adiscon.com
Subject: Re: [phpLogCon] Webserver Fields

'MsgParserList' is missing in your config, add this:
$CFG['Sources'][ 'Source6']['MsgParserList'] = "apache2";

Best regards,
Andre

> -----Original Message-----
> From: phplogcon-bounces at lists.adiscon.com [mailto:phplogcon- 
> bounces at lists.adiscon.com] On Behalf Of Oláh Ambrus Sándor
> Sent: Tuesday, November 19, 2013 8:57 PM
> To: phplogcon at lists.adiscon.com
> Subject: Re: [phpLogCon] Webserver Fields
>
> Dear Mr. Lorbach,
>
> thank you very much. I have tried your suggestion. I have copy pasted
the
> examples found in /classes/msgparsers/msgparser.apache2.class.php
>
> 127.0.0.1 - - [14/Sep/2008:06:50:15 +0200] "GET / HTTP/1.0" 200 19023
"-"
> "VoilaBot link checker"
> 65.55.211.112 - - [16/Sep/2008:13:37:47 +0200] "GET 
> /index.php?name=News&file=article&sid=1&theme=Printer HTTP/1.1" 200
> 4908 "-"
> "msnbot/1.1 (+http://search.msn.com/msnbot.htm)"
>
> All the above text appears int he Message column. I have than edited 
> my lighttpd config to use the default logging format uncommenting the 
> line related to accesslog.format :
>
> accesslog.filename = "/var/log/lighttpd/access.log"
> #accesslog.format = "%{%b %d %H:%M:%S}t %h %U%q %s %b:
> %{From}i|%{Via}i|%{Referer}i"
>
> Than I have restarted lighttpd. No change. Somehow LogAnalyzer should 
> be instructed to use msgparser.apache2.class.php
>
> Therefore I also include the relevant fragment from LogAnalyzer's
> config.php:
>
> $CFG['Sources']['Source6']['ID'] = 'Source6'; 
> $CFG['Sources']['Source6']['Name'] = ' Web Server log'; 
> $CFG['Sources']['Source6']['ViewID'] = 'WEBLOG'; 
> $CFG['Sources']['Source6']['SourceType'] = SOURCE_DISK; 
> $CFG['Sources']['Source6']['LogLineType'] = 'syslog'; 
> $CFG['Sources']['Source6']['DiskFile'] = 
> '/var/log/lighttpd/access.log';
>
> Could  you check the above? Is it needed any other setting?
>
> Yours sincerely,
>
> Ambrus Oláh
>
> _______________________________________________
> phpLogCon mailing list
> http://lists.adiscon.net/mailman/listinfo/phplogcon
> http://www.phplogcon.org
_______________________________________________
phpLogCon mailing list
http://lists.adiscon.net/mailman/listinfo/phplogcon
http://www.phplogcon.org




More information about the phpLogCon mailing list