@andrejb opened this Issue on September 23rd 2014

Steps to reproduce:

  1. Use the misc/log-analytics/import_logs.py script to import a log containing a line with a GET request to a file ended with .apk.
  2. Browse Piwik to Actions -> Downloads and choose the date corresponding to the above request.

Expected result: should see the apk file download in the report.
Actual result: no apk file shown.

Example GET request log line: - - [22/Sep/2014:07:01:06 +0000] "GET /my-app.apk HTTP/1.1" 200 1747709 "https://google.com/" "Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0"


The apk extension is not included in the DOWNLOAD_EXTENSIONS set in the misc/log-analytics/import_logs.py script. This causes imported logs to not report apk as downloads in Actions.getDownload() and Actions.getDownloads() methods.

On the other hand, the apk extension is correctly included in the js/piwik.js file.

This Issue was closed on September 23rd 2014
Powered by GitHub Issue Mirror