Hi,
I am new to piwik. Can anyone suggest me the correct log format to import apache logs. Please find the below sample logs.
user agent values are getting displayed in piwik but not the custom variable,resolution and userid.
127.0.0.1 - - [24/Mar/2014:05:58:10 +0000] "GET /piwik.php?url=http%3A%2F%2Fwww.domain.me%2Fsearch%2Fsearch&urlref=http%3A%2F%2Fwww.mydomain.me%2Fsearch%2F&uid=SampleUser&cvar=%7B%221%22%3A%5B%22SEARCH_STATUS%22%2C%22OK%22%5D%7D HTTP/1.1" 200 54 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36"
Command what i used is:
python import_logs.py --url=http://localhost/piwik --idsite=1 --enable-http-errors --show-progress --enable-bots recorders=2 /var/tmp/testlog_New.log
Thanks in advance.
I am new to piwik. Can anyone suggest me the correct log format to import apache logs. Please find the below sample logs.
user agent values are getting displayed in piwik but not the custom variable,resolution and userid.
127.0.0.1 - - [24/Mar/2014:05:58:10 +0000] "GET /piwik.php?url=http%3A%2F%2Fwww.domain.me%2Fsearch%2Fsearch&urlref=http%3A%2F%2Fwww.mydomain.me%2Fsearch%2F&uid=SampleUser&cvar=%7B%221%22%3A%5B%22SEARCH_STATUS%22%2C%22OK%22%5D%7D HTTP/1.1" 200 54 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36"
Command what i used is:
python import_logs.py --url=http://localhost/piwik --idsite=1 --enable-http-errors --show-progress --enable-bots recorders=2 /var/tmp/testlog_New.log
Thanks in advance.