Log File Analysis Local File
Having selected; "Log File Analysis", brings you to the next screen, where you will have to complete a form, see below screenshot.
Log File Location:
The full absolute path to your web server log file i.e. /home/mydomain/etc/access_log.
The file should be a web server log file for your domain, in common/combined format (Apache standard).
The file can be plain-text or compressed (.gz extension).
"Hint", shows you the full absolute path to your logaholic directory on your system.
The log file is usually a few directories back, above the root folder of your website (usually 'www' or 'htdocs').
If you can't find your log file, or if you know where it is but Logaholic says it can't find, access or read the file,
Use your "ftp client" or the "Log file location field" to browse through the folders of your website / hosting account.
Look for folders or files with names or extensions like log, stats, or statistics.
The actual file is often called something like www.yourdomain.com.log on shared servers, or simply called access_log.
If you cannot find your log file(s) within the folders you can access with your FTP client, save yourself some time and frustration and contact your hosting provider to ask them for the location. In this knowledgebase article you will find some information on locating your log file and what to ask your system admin or hosting provider.
The log files can be recorded and archived by period, Logaholic will have to import several files, from your log file directory. under
Multiple log files: check "My logs are split into several files"
If you want Logaholic to scan the whole directory and import several files, make sure the adress in the "Log file location" field ends with a slash (/).
When you check: "Recursively search directories" Sub directories will be included.
In the following 2 field's, you will be able to filter the log files, You are interested in access log files only, the log file directory may also contain other log files, to avoid these from being imported, please use the filter option. Only files that match the 1st. field will be analyzed, except if the file also matches the 2nd field (but not).
If you require more complex filtering capabilities, you may also enter a regular expression in the first field, between parenthesis. For example (^www\.[xyz|abc.xyz].log.*)
Skip IP numbers:
IP numbers you want to exclude from statistics.
Seperate multiple IP numbers by comma's i.e. 212.204.250.12, 212.204.250.13
\\
You may also use wildcards like * and regular expresssions.
This setting only affects new traffic.
Should you want to remove ip numbers that are already in the Logaholic database, you can do it directly from
Logaholic by clicking on the link, included in the explanation of the "Skip Ip" field.
Skip files:
This defines what requests are considered "Pages",
by defining what requests are NOT pages i.e. .gif, .jpg, .swf, .xml, any matching filename or filetype
listed here will not be included in any reports. You can also enter keywords in the list above (no dots).
Logaholic will skip any file or directory that has that word in it.
I.e. if you want to exclude the logaholic directory, just enter "logaholic/" in Skip files field.
Should you want to remove "files" that are already in the Logaholic database, you can do it directly from
Logaholic by clicking on the link, included in the explanation of the "Skip files" field.
Strip URL parameters: (Speeding up Logahlic).
This field allows you to remove certain parameters from the url's in your statistics.
For example, this url: /index.html?osCsid=1kmfg8pvmavr09hg4rj3brg9d6 contains a parameter (osCsid) that isn't
very useful to the stats. However, these kinds of strings can take up a huge amount of space in your database,
which makes updating and reportng slower. Remove any parameters you don't need here.
Just seperate them with a comma (i.e "osCsid,lala, lala2) and choose "Exclude".
You can also choose "Include", in that case it will ONLY add the parameters listed here,
and strip any other parameter!
(Only use Include if you want to optimize for lots of traffic and make sure you list all the parameters that matter)
Tip: Just have Logaholic Analyze data that is important to you: Stripping url's, Skipping Ip numbers and files, will help you compact Logahlics database and thus make it faster, certainly with bigger log files it is; both for your hardware and software load better to exclude this kind of useless overhead.
This setting only effects new traffic.
Do not forget to Save your configuration by clicking Save.