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

Adding page generation time - regex format

$
0
0
Hi all,

I'm currently using the below snippet to log my apache logs
LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" piwik

Now i know I can add the %D to the end so I can get page generation time like so
LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D" piwik

But how do I then format that in regex so my piwik import script imports it correctly? I know I can add it through --log-format-regex"blah" but I've got no idea how to format that in regex. Can anyone help?

Cheers,
Mooash

Viewing all articles
Browse latest Browse all 13117

Trending Articles