Forum Moderators: DixonJones
Combined log format is an extension of the common log format. It appends onto the common format the Referer and User-Agent (beware 'Referer' is spelled incorrectly in the specification). Unless you have captured that data in your log, there is no way to 'add' it. Some Apache servers are configured to capture referrer and user-agent information in seperate files -- but these formats traditionally don't include information that could be used to cross-tab the logs together.
If you have access to your server conf file, you can specify the log format via the "CustomLog" directive -- for example "CustomLog /log/combined.log combined" will give you the combined format that is defined via a "LogFormat" directive that is included in the standard Apache conf file.
For complete information on the LogFormat options, I suggest going to the source at [httpd.apache.org ].
Larry
(sorry for my english...)
i know how to custom my log but when i started my apache server i used webalizer to analyse the log. Now i want to use awstats that use combined log.
All work perfectly but i want to analyse my old log and my new log at same time so i need to convert my old log to combined (with user agent and co free)