Get data for static files (e.g., .pdf, .txt, .xls etc.) from the logs?

Is following script the one to run with the command --enable-static to get data for static files (e.g., .pdf, .txt, .xls etc.) from the logs?

python /path/to/piwik/misc/log-analytics/import_logs.py --url=http://analytics.example.com access.log
–idsite=1234 --recorders=4 --enable-http-errors --enable-http-redirects --enable-static
–enable-bots

yes

Matt,

We imported a log file after we added “–enable-static” to the script but still cannot see metrics for .pdf, .txt, .xls etc. from the logs. We process these same logs with Urchin v5 and get the metrics but no luck with Piwik. Dashboard only displaying data for.htm from logs. What am I missing? Help!!!