hoogltele.blogg.se

Awstats parsing old log files
Awstats parsing old log files





awstats parsing old log files
  1. #AWSTATS PARSING OLD LOG FILES HOW TO#
  2. #AWSTATS PARSING OLD LOG FILES UPDATE#
  3. #AWSTATS PARSING OLD LOG FILES SERIES#
  4. #AWSTATS PARSING OLD LOG FILES FREE#

Instructions for setting up AWStats on Dominoġ.

awstats parsing old log files

I encourage you to also refer to both the Domino Administrator Help and the AWStats documentation for more information and explanation.

#AWSTATS PARSING OLD LOG FILES HOW TO#

Here are some pretty basic step-by-step directions on how to set up your Lotus Domino server to use the AWStats tool (note that when I make reference to "%DOMINO_DATA_DIR%" below, I mean the Domino data directory on your server - usually something like "d:\domino\data"). As an example for how nice the reports look, you can look at the stats for the AWStats site.

#AWSTATS PARSING OLD LOG FILES SERIES#

It can also be used on Windows, Unix, or Linux servers, because it's just a series or Perl scripts (very complex ones, but that's what they are).

#AWSTATS PARSING OLD LOG FILES FREE#

One of the nicer log reporting tools available is the free and open-source AWStats application, which not only has really nice default reporting options, but is also very customizable and has a number of plug-ins. Many people make modifications to the DomLog.nsf database design, which can be useful, but logging stats to a database can cause performance problems on busy servers, and a large DomLog database is pretty slow and unwieldy in the middle of the day.įortunately, if you send your web log stats to a text file, it gets written in a standard logging format which can be parsed and sliced and diced by a number of popular reporting applications. As a web server, Domino can send traffic information to text files or to a DomLog database, but there's no real reporting built-in, so you're stuck with reams of information and no good way to look at it. Lotus Notes/Domino doesn't have very good built-in web log reporting functionality (and by that I'm referring to logs of website traffic, not blogs). \"%time1\" doesn't work either.Ĭan someone please help me figure out the right LogFormat definition? The options are described at but I don't see how deal with the host or timestamp being quoted (and the timestamp isn't in brackets).Nsftools - Using AWStats To Report On Domino Web Logs Using AWStats To Report On Domino Web Logs mentions a syntax that appears to be trying to handle double quotes with ref=\"%referer\" for example but I've tried something similar for %time1 and it doesn't seem to work for me (and I can't find any documentation on this syntax). I think the problem is that all the values in the Glassfish logs are quoted, like this: LogFormat = "%host %otherquot %time1 %methodurl %code %bytesd" Setup ('/etc/awstats/' file, web server or permissions) may be wrong.Ĭheck config file, permissions and AWStats documentation (in 'docs' directory).Īs you can see above in the error, my LogFormat is set to the following: This means each line in your web server log file need to have the following personalized log format:Īnd this is an example of records AWStats found in your log file (the record number 50 in your log):

awstats parsing old log files

%host %otherquot %time1 %methodurl %code %bytesd Your log file /usr/local/glassfish4/glassfish/domains/domain1/logs/access/server_access_log.txt must have a bad format or LogFormat parameter setup does not match this format. Searching new records from beginning of log file.ĪWStats did not find any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log. Phase 1 : First bypass old records, searching new record.

awstats parsing old log files

#AWSTATS PARSING OLD LOG FILES UPDATE#

I'm running awstats_ now and getting the following error: Running '"/usr/share/awstats/-configdir="/etc/awstats"' to update config localhost.localdomainĬreate/Update database for config "/etc/awstats/" by AWStats version 7.0 (build 1.971)įrom data in log file "/usr/local/glassfish4/glassfish/domains/domain1/logs/access/server_access_log.txt". I am attempting to use AWStats 7.0 to parse Glassfish 4 HTTP access logs.







Awstats parsing old log files