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

Problem in import server log file (2 replies)

$
0
0
hi

i m try to import apache server log file using python script in localhost machine. when i m execute the script eg:

C:\Python26>python E:\npi_doc_root\piwik\misc\log-analytics\import_logs.py --url=http://analytics.example.com D:\Logs\ex130228.log --idsite=1234 --recorders=4 --enable-http-errors --enable-http-redirects --enable-static --enable-bots

it shows error

Fatal error: [Errno 11001] getaddrinfo failed

if im using url like this

C:\Python26>python E:\npi_doc_root\piwik\misc\log-analytics\import_logs.py --url=http://localhost/piwik/piwik.php D:\Logs\ex130228.log --idsite=1234 --recorders=4 --enable-http-errors --enable-http-redirects --enable-static --enable-bots

it show error

Fatal error: Piwik returned an invalid response:


please help me and tell me proper procedure how to import the apache server log file

Viewing all articles
Browse latest Browse all 4243

Trending Articles