Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

import_logs.py works, but don't import anything (no replies)

$
0
0
Hi,

I'm newbie using Piwik. I've installed 2.1.0 without issues and console seem is working fine.

But when I'm trying to process logs from my sample web, apparently load records, but I am not able to see the console access/visits/error to my sample site. I've tried several logs.

I've the update visits with standard 10s but and try to run misc/cron/archive.php.

my command is
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\estadisticas\
misc\log-analytics>python ./import_logs.py --url=http://localhost:81/estadistica
s/index.php c:\python27\logtest2.log -d --log-hostname=localhost --token-aut
h=6f6e2a115546b77e0931b0d36c2fde8a --enable-static

Anybody know what is happening?... why piwik is not loading records in tables?.

Thanks in advance.



the output log is:
014-03-25 17:11:54,101: [DEBUG] Accepted hostnames: all
2014-03-25 17:11:54,101: [DEBUG] Piwik URL is: http://localhost:81/estadisticas/
index.php
2014-03-25 17:11:54,101: [DEBUG] Authentication token token_auth is: 6f6e2a11554
6b77e0931b0d36c2fde8a
2014-03-25 17:11:54,102: [DEBUG] Resolver: dynamic
0 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
2014-03-25 17:11:54,104: [DEBUG] Launched recorder
Parsing log c:\python27\logtest2.log...
2014-03-25 17:11:54,105: [DEBUG] Detecting the log format
2014-03-25 17:11:54,105: [DEBUG] Check format icecast2
2014-03-25 17:11:54,105: [DEBUG] Format icecast2 does not match
2014-03-25 17:11:54,105: [DEBUG] Check format iis
2014-03-25 17:11:54,105: [DEBUG] Format iis does not match
2014-03-25 17:11:54,105: [DEBUG] Check format common
2014-03-25 17:11:54,105: [DEBUG] Format common matches
2014-03-25 17:11:54,107: [DEBUG] Check format common_vhost
2014-03-25 17:11:54,107: [DEBUG] Format common_vhost does not match
2014-03-25 17:11:54,107: [DEBUG] Check format nginx_json
2014-03-25 17:11:54,107: [DEBUG] Format nginx_json does not match
2014-03-25 17:11:54,108: [DEBUG] Check format s3
2014-03-25 17:11:54,108: [DEBUG] Format s3 does not match
2014-03-25 17:11:54,108: [DEBUG] Check format ncsa_extended
2014-03-25 17:11:54,108: [DEBUG] Format ncsa_extended does not match
2014-03-25 17:11:54,108: [DEBUG] Check format common_complete
2014-03-25 17:11:54,108: [DEBUG] Format common_complete does not match
2014-03-25 17:11:54,108: [DEBUG] Format common is the best match
2014-03-25 17:11:54,121: [DEBUG] Site ID for hostname localhost not in cache
2014-03-25 17:11:54,556: [DEBUG] Site ID for hostname localhost: 1
30 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
30 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
Purging Piwik archives for dates: 2014-03-25
To re-process these reports with your new update data, execute the piwik/misc/cr
on/archive.php script, or see: [piwik.org] for more i
nfo.

Logs import summary

Logs import summary
-------------------

25 requests imported successfully
0 requests were downloads
5 requests ignored:
0 invalid log lines
0 requests done by bots, search engines, ...
0 HTTP errors
5 HTTP redirects
0 requests to static resources (css, js, ...)
0 requests did not match any known site
0 requests did not match any requested hostname

Website import summary
----------------------

25 requests imported to 1 sites
1 sites already existed
0 sites were created:

0 distinct hostnames did not match any existing site:



Performance summary
-------------------

Total time: 2 seconds
Requests imported per second: 9.51 requests per second

Viewing all articles
Browse latest Browse all 4243

Trending Articles