We can see there is indeed stats for this. the static file being downloaded is piwik.js I use the Actions-> Downloads as an example. Just looks like a double encoding issue to me I can do an str_replace sort of thing but not even sure what the url is expecting here. a simple javasccript encodeURI did not do the trick. Logs show something like this for the slash ‘ %3E%252Ffilename.exe’Īnyone has any ideas about this? I am not sure what way this label needs to be encoded. Weirdly i have to add a ‘>’ and the ‘%252F’ in my img src embed for this to work.
The above label I got from the access logs for the dashboard of downloads. Index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Actions&apiAction=getDownloads&token_auth=anonymous&graphType=evolution&period=month I get the downloads graph by using the label parameter = /x/filename.exe 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 dashboard works fine and I can see the data for the partial logs I imported today.
Piwiki data source : nginx Log import, i use ncsa_extended as that works with my nginx ccombined format. INFO: Piwik env - Apache 2.x php 5.2.10 and mysql5 running in vhost. I have spent the better part of the day setting up piwik and installing graph on my site. My problem is related to getting graph images for downloads of a particular URL.
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.