logstash-plugins/logstash-patterns-core

IPv6 in Uris

gellweiler opened this issue · 0 comments

Usally in urls IPv6 addresses are enclosed in brackets (https://www.ietf.org/rfc/rfc2732.txt). This isn't reflected by the uri param. I believe the URIHOST pattern should be changed to (({IPv4})|({HOSTNAME})|(\[?{IPv6}\]?))(?::%{POSINT:port})?.