> Home > Knowledge Base > FreeProxy Knowledge Base > I2054: Analysing Logs
 
Hi Guest
IP: 18.207.157.152

Username
Password
I2054: Analysing Logs
Summary
Product: FreeProxy
Versions: All, 3.7 and later
Note: 2054
Date reported: 30 October 2004

Issue Detail
How to analyse logs.

Solution
Before reading further, make sure you understand the logs output from FreeProxy. Read this technical note for more information.

Tip:If you want to create a different log each day, then you can use substitution fields to insert the date into the file name. For example

WWWProxy%DY4%DM2%DD2.log

would create file names as

WWWProxy20041001.log
WWWProxy20041002.log
WWWProxy20041003.log
etc

You could leave out the day and create logs by month. See the help associated with the Options screen.

XML Format
XML format is useful if you have Excel 2003. Prior versions of Excel do not import XML format. You should remember that the file format dictates that the end of the file be closed off with a closing structure field. So if the overall file starts with <ConnectionStatistics> then at the end of the file should be a <ConnectionStatistics> field. While the file is being written it will not have this statement and therefore would appear to be invalid if input to a program such as Excel. You can manually add in the closing statement (check the leading statement at the start of the file) or you can wait until a new XML file is created. FreeProxy will only place the ending statement if it knows about the starting a new file.

W3C Format
This is an internet standard and can be selected as log format in most web servers and proxies. A useful tool to analyse your logs in this format is Papercut. See http://www.papercut.biz. Papercut also has the ability to monitor internet usage and can apply charging rates usage.

User-defined format
User defined format is a format where you specify the exact format you want to see on each logged line. For example
%DWD,%DWT,%IPA,%PRT,%USR,%HST,%URL
2004-03-21, 15:33:12, 192.168.100.1, 80, ADESFred,www.yahoo.com,/

Only a few fields are shown for the example but you could use any of the allowed fields for the log type. Check the help for those fields that are allowed for each type of log. Not all fields are allowed for all logs. The useful thing about this format is that you can import this into all versions of Excel using the comma separated option.

Rectified
n/a

Search information
xml file style log analyze analyse
Hand-Crafted Software.
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo