When I run awstats.pl I do not get any output in the resulting output file. It almost seems like AWStats does not like the LogFormat and it does not parse the log file.
When there is an update problem, it is recommended that you run the AWStats update from the command line. At the end of the update, AWStats will show a report like the following one:
Create/Update database for config "/path_to_awstats/awstats.my_domain.conf" by AWStats version 6.7 (build 1.892)
From data in log file "/path_to_log_file/log_file_name"…
Phase 1 : First bypass old records, searching new record…
Searching new records from beginning of log file…
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)…
Jumped lines in file: 0
Parsed lines in file: 3693
Found 520 dropped records,
Found 12 corrupted records,
Found 0 old records,
Found 3161 new qualified records.
This will help understand what happens. Feel free to copy here the report you get when you run the update.
Phase 1 : First bypass old records, searching new record…Searching new records from beginning of log file… Phase 2 : Now process new records (Flush history on disk after 20000 hosts)… Jumped lines in file: 0 Parsed lines in file: 344859 Found 0 dropped records, Found 115747 corrupted records, Found 0 old records, Found 229112 new qualified records.
My log format is as follows and I am presently using logformat=2
#Software: Microsoft Internet Information Services 6.0 #Version: 1.0 #Date: 2010-07-25 00:00:02 #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken
I dont know but its not displaying the required result in browser !.PLease help me