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

Import Logs from Openshift (no replies)

$
0
0
When I try to import logs from Red Hat's OpenShift I am getting the following error.

Fatal error: cannot automatically determine the log format using the first 100000 lines of the log file.
Maybe try specifying the format with the --log-format-name command line argument.


I can see from the Apache configuration that the log format is "combined", but that doesn't seem to be a valid choice for piwik, and I do not have access to change the Apache configuration. I think part of the problem is that there are sometimes two IP addresses listed on a log line. For example:

1.1.1.1, 2.2.2.2 - - [15/Apr/2015:16:29:30 -0400] "GET / HTTP/1.1" 200 30291 "http://mywebsite.ca" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"

Any ideas?

Viewing all articles
Browse latest Browse all 4243

Trending Articles