@inesw wrote:
Hallo Forum,
ich habe ein Access.log vom Apache Vorliegen, das auf folgender Konfiguration beruht:
LogFormat "%h %l %t %v \"%r\" %>s %b \"%{User-Agent}i\"" customErgibt folgende Einträge im Log:
11.111.249.206 - [01/Aug/2016:20:03:58 +0200] www.host.de "GET /news.html HTTP/1.1" 200 6869 "UserAgent/0.1"Dies ist nun kein Format, das Piwik von Haus aus versteht.
Mein Versuch für die log_format_regexp ist bisher folgendes:
--log-format-regex="(?P\S+)\s+\S+\s+(?P\S+)\s+[(?P.?)\s+(?P.?)]\s+(?P[\w-.])(?::\d+)?\s+"\S+\s+(?P.?)\s+\S+"\s+(?P\S+)\s+(?P\S+)\"(?P.*?)\""
Aber das trifft nicht. Wo liegt der Fehler?
Grüße
InesEdit: Standard Logfiles importiert Piwik.
Apache 2.4 auf Windows
Piwik 2.16.2 mit PHP 5.6 und python 2.7.10 auf Linux
Posts: 1
Participants: 1