Server Log File Analytics - please add support for "Accept-Language"


#1

Thanks a lot for all your great work!
The server log file analytics works great on my server.

I am using a lighttpd server and added the Accept-Language header to accesslog.format:

accesslog.format = “%h %V %u %t “%r” %>s %b “%{Referer}i” “%{User-Agent}i” “%{Accept-Language}i””
(see Docs ModAccessLog - Lighttpd - lighty labs)

I wonder if it would be possible to add support for the Accept-Language header to import_logs.py?
So that the country could then be guessed from the Accept-Language header when GeoIP isn’t installed.


(Matthieu Aubry) #2

Sounds good - please suggest this idea in: Log analytics list of improvements · Issue #3163 · matomo-org/matomo · GitHub