My server logs imported perfectly into my database the first time. Now whenever I try to import more server logs, the script runs, but no data is added to the database. I have to delete the database, re-install piwik, and then import the server logs each day in order for it to work.
Here is an example of what happens when I try to import a 2nd log file:
Here is an example of what happens when I try to import a 2nd log file:
2486 lines parsed, 279 lines recorded, 276 records/sec (avg), 279 records/sec (current) 5051 lines parsed, 1394 lines recorded, 692 records/sec (avg), 1115 records/sec (current) 6751 lines parsed, 2978 lines recorded, 984 records/sec (avg), 1584 records/sec (current) 7459 lines parsed, 4078 lines recorded, 1013 records/sec (avg), 1100 records/sec (current) 7459 lines parsed, 5466 lines recorded, 1087 records/sec (avg), 1388 records/sec (current) Purging Piwik archives for dates: 2014-05-12 To re-process these reports with your new update data, execute the following command: `piwik/console core:archive --url=http://example/piwik/` Reference: [piwik.org] Logs import summary ------------------- 5797 requests imported successfully 5231 requests were downloads 1662 requests ignored: 0 invalid log lines 264 requests done by bots, search engines, ... 68 HTTP errors 43 HTTP redirects 1287 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 ---------------------- 5797 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: 5 seconds Requests imported per second: 1101.55 requests per second