I use the import_logs.py script for import apache2 log files in piwik. Now I want to change the list of file extensions to track as “Downloads”. The file import_logs.py has a variable DOWNLOAD_EXTENSIONS with all file extensions like:
DOWNLOAD_EXTENSIONS = (
'7z aac arc arj asf asx avi bin csv deb dmg doc exe flv gz gzip hqx '
'jar mpg mp2 mp3 mp4 mpeg mov movie msi msp odb odf odg odp '
'ods odt ogg ogv pdf phps ppt qt qtm ra ram rar rpm sea sit tar tbz '
'bz2 tbz tgz torrent txt wav wma wmv wpd xls xml z zip'
).split()
Can I extends this list without get problems by the next update of piwik? Exists a other proper way to extend this list?
I was wondering on why the files with extensions listed in DOWNLOAD_EXTENSIONS do not show up under Actions > Downloads? Is there something additional I have to add when running the import script?