Quantcast
Viewing all articles
Browse latest Browse all 4243

Problem with Log Analytics - It seems to import something but no data is shown (1 reply)

Hello,

I hope you can help me.
I tried to use Lo Analytics for importing my access logs. This ist the command:
./import_logs.py --url=URl-to-Piwik logfilename --idsite=2

This seems to work fine and I get this report:
0 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
Parsing log ../../../../logfiles/082014/access_log_2014-08-29_01-03.txt...
4968 lines parsed, 800 lines recorded, 802 records/sec (avg), 800 records/sec (current)
8407 lines parsed, 1600 lines recorded, 802 records/sec (avg), 800 records/sec (current)
11840 lines parsed, 2600 lines recorded, 868 records/sec (avg), 1000 records/sec (current)
14715 lines parsed, 3600 lines recorded, 899 records/sec (avg), 1000 records/sec (current)
16085 lines parsed, 4600 lines recorded, 920 records/sec (avg), 1000 records/sec (current)

Purging Piwik archives for dates: 2014-08-28 2014-08-27

To re-process these reports with your newly imported data, execute the following command: 
$ /path/to/piwik/console core:archive --url=http://example/piwik/

Reference: [piwik.org] 

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

    4817 requests imported successfully
    134 requests were downloads
    11268 requests ignored:
        1 invalid log lines
        2156 requests done by bots, search engines, ...
        33 HTTP errors
        424 HTTP redirects
        8654 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
----------------------

    4817 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: 839.93 requests per second

Than I take a look at the GUI and I don't see any data.
Then I do this command:./console core:archive --url=URl-to-Piwik

I get this report:
INFO CoreConsole[2014-09-06 20:07:38] [672b3] ---------------------------
INFO CoreConsole[2014-09-06 20:07:38] [672b3] INIT
INFO CoreConsole[2014-09-06 20:07:38] [672b3] Piwik is installed at: URl-to-Piwik
INFO CoreConsole[2014-09-06 20:07:38] [672b3] Running Piwik 2.6.1 as Super User
INFO CoreConsole[2014-09-06 20:07:38] [672b3] ---------------------------
INFO CoreConsole[2014-09-06 20:07:38] [672b3] NOTES
INFO CoreConsole[2014-09-06 20:07:38] [672b3] - If you execute this script at least once per hour (or more often) in a crontab, you may disable 'Browser trigger archiving' in Piwik UI > Settings > General Settings.
INFO CoreConsole[2014-09-06 20:07:38] [672b3]   See the doc at: [piwik.org]
INFO CoreConsole[2014-09-06 20:07:38] [672b3] - Reports for today will be processed at most every 3600 seconds. You can change this value in Piwik UI > Settings > General Settings.
INFO CoreConsole[2014-09-06 20:07:38] [672b3] - Reports for the current week/month/year will be refreshed at most every 3600 seconds.
INFO CoreConsole[2014-09-06 20:07:38] [672b3] - Archiving was last executed without error 5 hours 32 min ago
INFO CoreConsole[2014-09-06 20:07:38] [672b3] - Will process 1 websites with new visits since 5 hours 32 min , IDs: 1
INFO CoreConsole[2014-09-06 20:07:38] [672b3] - Will process 1 other websites because some old data reports have been invalidated (eg. using the Log Import script) , IDs: 2
INFO CoreConsole[2014-09-06 20:07:38] [672b3] ---------------------------
INFO CoreConsole[2014-09-06 20:07:38] [672b3] START
INFO CoreConsole[2014-09-06 20:07:38] [672b3] Starting Piwik reports archiving...
INFO CoreConsole[2014-09-06 20:07:39] [672b3] Archived website id = 1, period = day, 275 visits in last last2 days, 143 visits today, Time elapsed: 0.417s
INFO CoreConsole[2014-09-06 20:07:40] [672b3] Archived website id = 1, period = week, 1627 visits in last last2 weeks, 765 visits this week, Time elapsed: 1.622s
INFO CoreConsole[2014-09-06 20:07:42] [672b3] Archived website id = 1, period = month, 6263 visits in last last2 months, 765 visits this month, Time elapsed: 1.970s
INFO CoreConsole[2014-09-06 20:07:50] [672b3] Archived website id = 1, period = year, 28833 visits in last last2 years, 25085 visits this year, Time elapsed: 7.100s
INFO CoreConsole[2014-09-06 20:07:50] [672b3] Archived website id = 1, 4 API requests, Time elapsed: 11.110s [1/2 done]
INFO CoreConsole[2014-09-06 20:07:50] [672b3] Archived website id = 2, period = day, 0 visits in last last52 days, 0 visits today, Time elapsed: 0.898s
INFO CoreConsole[2014-09-06 20:07:51] [672b3] Archived website id = 2, period = week, 0 visits in last last2 weeks, 0 visits this week, Time elapsed: 0.530s
INFO CoreConsole[2014-09-06 20:07:52] [672b3] Archived website id = 2, period = month, 0 visits in last last2 months, 0 visits this month, Time elapsed: 0.620s
INFO CoreConsole[2014-09-06 20:07:52] [672b3] Archived website id = 2, period = year, 0 visits in last last2 years, 0 visits this year, Time elapsed: 0.560s
INFO CoreConsole[2014-09-06 20:07:52] [672b3] Archived website id = 2, 4 API requests, Time elapsed: 2.609s [2/2 done]
INFO CoreConsole[2014-09-06 20:07:52] [672b3] Done archiving!
INFO CoreConsole[2014-09-06 20:07:52] [672b3] ---------------------------
INFO CoreConsole[2014-09-06 20:07:52] [672b3] SUMMARY
INFO CoreConsole[2014-09-06 20:07:52] [672b3] Total visits for today across archived websites: 143
INFO CoreConsole[2014-09-06 20:07:52] [672b3] Archived today's reports for 2 websites
INFO CoreConsole[2014-09-06 20:07:52] [672b3] Archived week/month/year for 2 websites
INFO CoreConsole[2014-09-06 20:07:52] [672b3] Skipped 0 websites: no new visit since the last script execution
INFO CoreConsole[2014-09-06 20:07:52] [672b3] Skipped 0 websites day archiving: existing daily reports are less than 3600 seconds old
INFO CoreConsole[2014-09-06 20:07:52] [672b3] Skipped 0 websites week/month/year archiving: existing periods reports are less than 3600 seconds old
INFO CoreConsole[2014-09-06 20:07:52] [672b3] Total API requests: 8
INFO CoreConsole[2014-09-06 20:07:52] [672b3] done: 2/2 100%, 143 vtoday, 2 wtoday, 2 wperiods, 8 req, 13723 ms, no error
INFO CoreConsole[2014-09-06 20:07:52] [672b3] Time elapsed: 13.723s
INFO CoreConsole[2014-09-06 20:07:52] [672b3] ---------------------------
INFO CoreConsole[2014-09-06 20:07:52] [672b3] SCHEDULED TASKS
INFO CoreConsole[2014-09-06 20:07:52] [672b3] Starting Scheduled tasks...
INFO CoreConsole[2014-09-06 20:07:52] [672b3]  No task to run
INFO CoreConsole[2014-09-06 20:07:52] [672b3] done
INFO CoreConsole[2014-09-06 20:07:52] [672b3] ---------------------------

This report looks also very good but it doesn't seem to find any data for the website with the id 2.
What did I do wrong? There are no errors found at the first report.
Thank you for your help!

Regards,
Jens

Viewing all articles
Browse latest Browse all 4243

Trending Articles