Foros del Web » Soporte técnico » Software General »

Problema generar archivo awstats

Estas en el tema de Problema generar archivo awstats en el foro de Software General en Foros del Web. Buenas foreros, os presento un problemilla con el que me estoy encontrando. Se trata del software Awstats para generar estadísticas de sitios web, correo, etc... ...
  #1 (permalink)  
Antiguo 17/04/2012, 09:08
 
Fecha de Ingreso: diciembre-2007
Mensajes: 179
Antigüedad: 16 años, 3 meses
Puntos: 0
Problema generar archivo awstats

Buenas foreros, os presento un problemilla con el que me estoy encontrando. Se trata del software Awstats para generar estadísticas de sitios web, correo, etc...

Tengo que analizar unos ficheros de Log que tienen el siguiente formato:

Cita:
localtime time-taken c-ip sc-status s-action sc-bytes cs-bytes cs-method cs-uri-scheme cs-host cs-uri-port cs-uri-path cs-uri-query cs-username cs-auth-group s-hierarchy s-supplier-name rs(Content-Type) cs(Referer) cs(User-Agent) sc-filter-result cs-categories x-virus-id s-ip cs(X-Forwarded-For)
Para que awstats lo entienda el parámetro LogFormat lo he creado del tipo personalizado quedando así:

Cita:
%time1 %other %host %code %other %other %bytesd %method %url %virtualname %port %other %query %logname %other %other %other %other %referer %uaquot %other %otherquot %otherquot %other %other
Pero a la hora de generar los ficheros, no me da error pero tampoco me los genera, al lanzar el update me salta por pantalla

Cita:
X:\awstats\cgi-bin>awstats.pl -config=acsa_grupos_pi -update
Update for config "X:\awstats\cgi-bin/awstats.acsa_grupos_pi.conf"
With data in log file "X:\awstats\tempLOGS\acsa_grupos_pi.log"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 358
Found 358 dropped records,
Found 0 corrupted records,
Found 0 old records,
Found 0 new qualified records.
Un ejemplo del archivo log que estoy usando es el siguiente:

Cita:
[12/Nov/2011:21:36:50 +0100] 47 94.228.34.211 401 TCP_NC_MISS 1420 368 GET http formacionsalud.acsa.junta-andalucia.es 80 /agenciadecalidadsanitaria/formacionsalud/gestor/es/comunicacion/foro/index.html - - - - formacionsalud.acsa.junta-andalucia.es text/html;charset=utf-8 - "magpie-crawler/1.1 (U; Linux amd64; en-GB; +http://www.brandwatch.net)" PROXIED "none" "ACSA" 192.168.6.4 -
[12/Nov/2011:08:38:35 +0100] 180087 77.229.149.122 302 TCP_NC_MISS 0 791 GET http mejorao.acsa.junta-andalucia.es 80 /comunicacion/salir.asp - - - - mejorao.acsa.junta-andalucia.es text/html http://www.juntadeandalucia.es/agenc...30999999999999 "Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1" PROXIED "none" "ACSA" 192.168.2.4 -
Si en el campo %virtualname lo sustituyo por %other, la segunda entrada me aparece como corrupta.

Alguna sugerencia?

Muchas gracias de antemano.
Un saludo.

Etiquetas: awstats, software, win7
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 09:25.