Not showing ANY mp4 downloads while using log-importer


(Enterlight) #1

I am importing logs from an IIS server
The summary clearly shows that all the requests were downloads but when I open in Matomo under Behaviour->Downloads, all I see is There is no data for this report. I see
the pageviews and the visits but 0 downloads… And nowhere can I find any reference to the mp4 that were downloaded…

I am using Python 2.7 and Matomo 3.7.0

Here is my command line:

python import_logs.py --url=http://analytics.test ~/test/u_ex190129.log --enable-static --idsite=2

I also tried giving a list of extensions with

 --download-extensions=bin,doc,docx,exe,gz,gzip,mpg,mp3,mp4,mpeg,pdf,ppt,pptx,rar,tar,tbz,bz2,tbz,tgz,txt,wav,wma,wmv,xls,xlsx,xml,xsd,zip

Still no success

What I am doing wrong?

I am providing the summary and a piece of the log:

Logs import summary
-------------------

    18645 requests imported successfully
    18645 requests were downloads
    4 requests ignored:
        0 HTTP errors
        0 HTTP redirects
        4 invalid log lines
        0 filtered log lines
        0 requests did not match any known site
        0 requests did not match any --hostname
        0 requests done by bots, search engines...
        0 requests to static resources (css, js, images, ico, ttf...)
        0 requests to file downloads did not match any --download-extensions

Website import summary
----------------------

    18645 requests imported to 1 sites
        1 sites already existed
        0 sites were created:

    0 distinct hostnames did not match any existing site:



Performance summary
-------------------

    Total time: 343 seconds
    Requests imported per second: 54.34 requests per second

Processing your log data
------------------------

    In order for your logs to be processed by Matomo, you may need to run the following command:
     ./console core:archive --force-all-websites --force-all-periods=315576000 --force-date-last-n=1000 --url='http://analytics.test'

and here is a piece of the log file


#Software: Microsoft Internet Information Services 8.5
#Version: 1.0
#Date: 2019-01-29 00:00:07
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2019-01-29 00:00:07 xxx.xxx20.78 GET /privacy/067_NoTextingOrders_final_720_wm.mp4 - 80 - xxx.xxx26.210 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko http://intranet.xxxxx.net/ 200 0 995 140
2019-01-29 00:00:07 xxx.xxx20.78 GET /privacy/067_NoTextingOrders_final_720_wm.mp4 - 80 - xxx.xxx26.210 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko http://intranet.xxxxx.net/ 206 0 995 46
2019-01-29 00:00:07 xxx.xxx20.78 GET /privacy/067_NoTextingOrders_final_720_wm.mp4 - 80 - xxx.xxx26.210 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko http://intranet.xxxxx.net/ 206 0 995 15
2019-01-29 00:00:07 xxx.xxx20.78 GET /privacy/067_NoTextingOrders_final_720_wm.mp4 - 80 - xxx.xxx26.210 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko http://intranet.xxxxx.net/ 206 0 995 31
2019-01-29 00:00:07 xxx.xxx20.78 GET /privacy/067_NoTextingOrders_final_720_wm.mp4 - 80 - xxx.xxx26.210 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko http://intranet.xxxxx.net/ 206 0 995 78
2019-01-29 00:00:07 xxx.xxx20.78 GET /privacy/067_NoTextingOrders_final_720_wm.mp4 - 80 - xxx.xxx26.210 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko http://intranet.xxxxx.net/ 206 0 995 31
2019-01-29 00:00:07 xxx.xxx20.78 GET /privacy/067_NoTextingOrders_final_720_wm.mp4 - 80 - xxx.xxx26.210 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko http://intranet.xxxxx.net/ 206 0 995 31
2019-01-29 00:00:07 xxx.xxx20.78 GET /privacy/067_NoTextingOrders_final_720_wm.mp4 - 80 - xxx.xxx26.210 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko http://intranet.xxxxx.net/ 206 0 995 31
2019-01-29 00:00:07 xxx.xxx20.78 GET /privacy/067_NoTextingOrders_final_720_wm.mp4 - 80 - xxx.xxx26.210 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko http://intranet.xxxxx.net/ 206 0 995 62
2019-01-29 00:00:07 xxx.xxx20.78 GET /privacy/067_NoTextingOrders_final_720_wm.mp4 - 80 - xxx.xxx26.210 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko http://intranet.xxxxx.net/ 206 0 995 31
2019-01-29 00:00:07 xxx.xxx20.78 GET /privacy/067_NoTextingOrders_final_720_wm.mp4 - 80 - xxx.xxx26.210 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko http://intranet.xxxxx.net/ 206 0 995 234
2019-01-29 00:00:07 xxx.xxx20.78 GET /privacy/067_NoTextingOrders_final_720_wm.mp4 - 80 - xxx.xxx26.210 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko http://intranet.xxxxx.net/ 206 0 995 250