Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 13117

Re: PIWIK Log ANalysis

$
0
0
I've attempted to search out the --log-format-regex= options and have had little success. I've read the forums, readme, etc...

I'm looking to use the import_logs.py on some tomcat6 log files with the following option:

<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".log" pattern="%h %S %t %s %b %D %m %U %{User-Agent}i" resolveHosts="false"/>

which results in logs that look like:

10.88.168.235 - [01/May/2013:18:38:09 +0000] 304 - 0 GET /Contracts/js-v4466/app.js Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
10.88.168.235 - [01/May/2013:18:38:11 +0000] 404 1084 0 GET /Contracts/ext-4.2.1.736/locale/ext-lang-.js Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
10.88.168.235 - [01/May/2013:18:38:11 +0000] 304 - 1 GET /Contracts/ext-4.2.1.736/resources/themes/images/azzurra/form/exclamation.gif Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko
/20100101 Firefox/19.0

what would the option be for the --log-format-regex= {options}

so I stop getting:

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

0 requests imported successfully
0 requests were downloads
1450 requests ignored:
1450 invalid log lines
0 requests done by bots, search engines, ...
0 HTTP errors
0 HTTP redirects
0 requests to static resources (css, js, ...)
0 requests did not match any known site
0 requests did not match any requested hostname

Viewing all articles
Browse latest Browse all 13117

Trending Articles