IPv6 address is not correctly parsed in nginx_ingress_controller integrations #4128
Labels
Integration:nginx_ingress_controller
Nginx Ingress Controller Logs
Team:Cloudnative-Monitoring
Label for the Cloud Native Monitoring team [elastic/obs-cloudnative-monitoring]
IPv6 addresses can be surrounded by
[]
like[2a02:cf40::]:9200
in some nginx ingress controller logsIn some logs you can even find a list of ipv6/port like
[2a02:cf40::7]:5000, [2a02:cf40::4e36]:5000
The grok pattern in the ingest_pipeline
/packages/nginx_ingress_controller/data_stream/access/elasticsearch/ingest_pipeline/default.yml
has to be modified to correctly handle this use case.I found a similar implementation at PR.
I found some references to the optional square brackets surrounding the IPv6 here. This article points to an official RFC suggesting that IPv6 should be surrounded by square brackets in URLs to distinguish IPv6 from ports.
The text was updated successfully, but these errors were encountered: