I have created a custom log format which I will be using and I need to import the logs to Matomo. However, Matomo does not recognize the formats and fails to import them.
I have taken a look at the script, but my python and regex knowledge is a bit limited. Could you provide me with some basic guidance for the creation of the new log format?
The LogFormat is this:
LogFormat “[%D] [server %V] %{X-Forwarded-For}i %h %l %u %t “%r” %>s %b “%{Referer}i” “%{User-Agent}i” %p %D” combined
But some general documentation would help in case the format changes.