I'm trying use this log format on AWStats, but doesn't work. Any Ideas?
Example Log:
Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2016-11-09 09:31:42 ::1 GET /METADATOS_ISO/Login.aspx ReturnUrl=%2fMETADATOS_ISO%2f 80 - ::1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko - 403 0 0 49
2016-11-09 09:31:42 ::1 GET /METADATOS_ISO/ - 80 - ::1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko - 302 0 0 195
LogFormat = %time2 %host %logname %other %other %method %url %query %code %other %ua %referer %bytesd
LogFormat = %time2 %other %method %url %query %other %logname %host %ua %referer %code %other %other %other %bytesd
With the first LogFormat option, all data is dropped because the data doesn't match
With the second, the system returns that some fields aren't defined
Aucun commentaire:
Enregistrer un commentaire