Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing a log file with only PDF files does not import data #5286

Closed
mattab opened this issue Jun 3, 2014 · 2 comments
Closed

Importing a log file with only PDF files does not import data #5286

mattab opened this issue Jun 3, 2014 · 2 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jun 3, 2014

This was reported in the forums

It can be reproduced:

$ cat test-pdf.log

173.14.169.177 - - -0400 "GET /foldername/filename.pdf HTTP/1.1" 200 79056 "http://wl.peer360.com/b/H8CMDeQljZI5R8T9pQo4/survey.asp?h=-1" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6.4; .NET CLR 2.0.50727)"
205.216.152.2 - - -0400 "GET /foldername/filename.pdf HTTP/1.1" 200 81447 "http://wl.peer360.com/b/FaYk288i1annS3070oXt/survey.asp?h=-1" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"

$ python misc/log-analytics/import_logs.py --url=http://localhost/piwik-master test-pdf.log --idsite=3 --recorders=2 --enable-http-errors --enable-http-redirects --enable-static

---> no data in Piwik after this import

@mattab mattab added this to the 2.5.0 - Piwik 2.5.0 milestone Jul 8, 2014
@mattab mattab modified the milestones: Piwik 2.10.0 , Short term Dec 18, 2014
@tsteur tsteur self-assigned this Dec 22, 2014
@tsteur
Copy link
Member

tsteur commented Dec 22, 2014

FYI: Link to forum post is http://forum.piwik.org/read.php?2,106633,116312

There seems to be something wrong with the 2 log lines posted here as they are always invalid when trying to import them, even when copying the raw text via edit comment.

@tsteur
Copy link
Member

tsteur commented Dec 22, 2014

I just tried it and it worked fine for me when testing with latest master. I can see the PDF's listed in downloads. Can be closed?

@mattab mattab closed this as completed Dec 22, 2014
@mattab mattab added the worksforme The issue cannot be reproduced and things work as intended. label Dec 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants