matomo-org / matomo-log-analytics

Import any kind of server logs in Matomo for powerful log analytics. Universal log file parsing and reporting.
https://matomo.org/log-analytics/
GNU General Public License v3.0
224 stars 118 forks source link

Support both AWS Application and Elastic Load Balancer log formats #280

Closed tabascoterrier closed 3 years ago

tabascoterrier commented 4 years ago

To address issue #209 , I've amended the ELB format regex to support both the previous Elastic Load Balancer and the newer Application Load Balancer formats.

Just adding a simple optional non-capturing group to the start of the regex seems to be enough.

Fixes #209

diosmosis commented 3 years ago

Thanks @tabascoterrier for the contribution!