File . 'Define Log Formats' - Web Log Analysis by Seach Term Help.
This is the context specific help for Web Log Analysis by Search Term for function Define Log Formats. It will be show when Shift+F1 is pressed after using menu item Define Log Formats on menu "File".
It can also be shown using menu item Help for Last Function on menu "Help".
Click Here for Index of Help for all Menu Items
'Define Log Formats' - Program Help start.
Use this option to add or change log file formats.
The default format used is selected from the list defined here using Files with Raw Log data. For any log file, a different specific format can be specified by selecting the file on that screen and using the Edit button.
Formats are specified in the same way as the Web Log Analyzer "Analog".
If you have a LOGFILE specification that was used with analog, you can use exactly the same specification here.
Use Edit to change a format.
A log file format can consist of several format definitions. Each log line will be checked to see whether it matches one of the definitions. The first definition matched will be used. When none are matched, an error will be displayed and processing of that log file will be stopped.
Format definitions consist of constants %x seperated with any fixed string that appears in the raw log file.
E.g.
%r---%f.HTTP.%q
would expect lines like
index.htm-www.google.com.HTTP.offline
this line would be interpreted as:
file requested ("%r"): index.htm
query string ("%q"): offline
referrer ("%f"): www.google.com
The constants used are:
| %S | host (the client hostname, or address of the computer making the request) |
| %s | numerical IP address of client (if recorded in a separate field; used when %S is empty) |
| %r | file requested |
| %q | query string (part of filename after ?, if recorded in a separate field) |
| %B | browser |
| %A | browser with +'s instead of spaces |
| %f | referrer |
| %u | user (tip: a cookie can usefully be defined as %u too) |
| %v | virtual host (the server hostname, also called the virtual domain) |
| %d | day of the month |
| %m | month in digits |
| %M | month, three letter English abbreviation |
| %y | year, last two digits |
| %Y | year, four digits |
| %Z | year, two or four digits (less efficient) |
| %h | hour of the day |
| %n | minute of the hour |
| %a | a or A for am, or p or P for pm, if %h is in the 12-hour clock. (So to match "am" you need %am and to match "AM" you need %aM) |
| %U | "Unix time" (seconds since beginning of 1970, GMT). If it includes decimals, use %U.%j |
| %b | number of bytes transferred |
| %t | processing time in seconds |
| %T | processing time in milliseconds |
| %D | processing time in microseconds |
| %c | HTTP status code |
| %C | code words used instead of HTTP status code in some servers -- only used internally |
| %j | junk: ignore this field (field can be empty too) |
| %1 | junk: ignore this field (field can be empty too) |
| %2 | junk: ignore this field (field can be empty too) |
| %3 | junk: ignore this field (field can be empty too) |
| %4 | junk: ignore this field (field can be empty too) |
| %5 | junk: ignore this field (field can be empty too) |
NB %1 to %5 will be useful to discriminate additional data in future versions of Web Log Analyzer by Search Term. However they are *NOT* used by Analog and if you want to use formats specified here in a LOGFORMAT line for analog, %1 - %5 must be replaced with %j
'Define Log Formats' - Program Help end.
Index of Help for all Menu Items
More Software from 1KeyTools.com
More Software from 1KeyTools.com
| Kyb IE Offline Browsing List Maker Grab pages and make them available offline. Read easily with a shortcut key to turn to the next page on your list. | Kyboma HTML Tutorial by Example A unique HTML and script tutor for learning by example. | Kyboma Find Files N Show Kyboma Find n Show will find an article or file and display the info you are searching for quickly and easily. |
| Download Offline Browser add-on | Download HTML Tutor | Download Find Files |
Contact
Site Map
Privacy Policy
Selected Questions
Does KybIE work as a web accelerator?
Will this web tool save me money?
One Page Analysis Summary Shows Search Engine Promotion Results?
Which keywords are best for your targets when you submit your site to a search engine?
Where can I find other log analysis tools?
