logstash-plugins / logstash-patterns-core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPv6 in Uris

gellweiler opened this issue · 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})?.