Hi there,
Thanks for the latest updates and the import tool I can finally return to using piwik again as the JS system was failing on resource issue for high traffic sites.
My problem is related to getting graph images for downloads of a particular URL. I have spent the better part of the day setting up piwik and installing graph on my site.
INFO: Piwik env - Apache 2.x php 5.2.10 and mysql5 running in vhost. piwik version 1.8.3
Piwiki data source : nginx Log import, i use ncsa_extended as that works with my nginx ccombined format.
The dashboard works fine and I can see the data for the partial logs I imported today.
I was also able to get the graph api to give me graph (it took a lot of reverse engineering by guessing the label, parameters etc from the dashboard requests)
The above label I got from the access logs for the dashboard of downloads. Weirdly i have to add a ‘>’ and the ‘%252F’ in my img src embed for this to work.
logs show something like this for the slash ‘example.com%3E%252Ffilename.exe’
I am using javascript to embed the
anyone has any ideas about this? I am not sure what way this label needs to be encoded. a simple javasccript encodeURI did not do the trick. I can do an str_replace sort of thing but not even sure what the url is expecting here. Just looks like a double encoding issue to me
the arrow probably wants to indicate depth since this is not a flat data source. Above works for demo site. However it does not work on my apache hosted piwik. This is the first problem. What I get is essentially no data and I am looking at the data in the dashboard so its there for teh same date and period. Is there a special piwik config here I am missing?
Sorry my PHP version is 5.2.10, will correct my first post.
there is no error anytime at all. Now in the logs or otherwise. all i get is a graph with “No Data”. it works for some url’s if I do the >/ method but most of them give me no data in the graph.
Well , there is no mention of what setting is needed by piwik.
secondly it does work on my server, but for some files and not for others. There is no way to tell any pattern here. Some files give stats others dont. Since demo has only one file it’s hard to tell.
here you go. remember to remove the space in the URL as for some reason forum is not wrapping the long lines. (atleast for me) so i broke the line to two.