Hi all,
I'm currently using the below snippet to log my apache logs
Now i know I can add the %D to the end so I can get page generation time like so
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
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