{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/1973","repository_url":"https://api.github.com/repos/influxdata/telegraf","labels_url":"https://api.github.com/repos/influxdata/telegraf/issues/1973/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/1973/comments","events_url":"https://api.github.com/repos/influxdata/telegraf/issues/1973/events","html_url":"https://github.com/influxdata/telegraf/issues/1973","id":186169021,"node_id":"MDU6SXNzdWUxODYxNjkwMjE=","number":1973,"title":"IPv6 addresses can't be parsed with grok's %{IPORHOST}","user":{"login":"szabolor","id":3100852,"node_id":"MDQ6VXNlcjMxMDA4NTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3100852?v=4","gravatar_id":"","url":"https://api.github.com/users/szabolor","html_url":"https://github.com/szabolor","followers_url":"https://api.github.com/users/szabolor/followers","following_url":"https://api.github.com/users/szabolor/following{/other_user}","gists_url":"https://api.github.com/users/szabolor/gists{/gist_id}","starred_url":"https://api.github.com/users/szabolor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szabolor/subscriptions","organizations_url":"https://api.github.com/users/szabolor/orgs","repos_url":"https://api.github.com/users/szabolor/repos","events_url":"https://api.github.com/users/szabolor/events{/privacy}","received_events_url":"https://api.github.com/users/szabolor/received_events","type":"User","site_admin":false},"labels":[{"id":194687826,"node_id":"MDU6TGFiZWwxOTQ2ODc4MjY=","url":"https://api.github.com/repos/influxdata/telegraf/labels/bug","name":"bug","color":"ff8564","default":true}],"state":"closed","locked":false,"assignee":{"login":"maxunt","id":12532809,"node_id":"MDQ6VXNlcjEyNTMyODA5","avatar_url":"https://avatars0.githubusercontent.com/u/12532809?v=4","gravatar_id":"","url":"https://api.github.com/users/maxunt","html_url":"https://github.com/maxunt","followers_url":"https://api.github.com/users/maxunt/followers","following_url":"https://api.github.com/users/maxunt/following{/other_user}","gists_url":"https://api.github.com/users/maxunt/gists{/gist_id}","starred_url":"https://api.github.com/users/maxunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxunt/subscriptions","organizations_url":"https://api.github.com/users/maxunt/orgs","repos_url":"https://api.github.com/users/maxunt/repos","events_url":"https://api.github.com/users/maxunt/events{/privacy}","received_events_url":"https://api.github.com/users/maxunt/received_events","type":"User","site_admin":false},"assignees":[{"login":"maxunt","id":12532809,"node_id":"MDQ6VXNlcjEyNTMyODA5","avatar_url":"https://avatars0.githubusercontent.com/u/12532809?v=4","gravatar_id":"","url":"https://api.github.com/users/maxunt","html_url":"https://github.com/maxunt","followers_url":"https://api.github.com/users/maxunt/followers","following_url":"https://api.github.com/users/maxunt/following{/other_user}","gists_url":"https://api.github.com/users/maxunt/gists{/gist_id}","starred_url":"https://api.github.com/users/maxunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxunt/subscriptions","organizations_url":"https://api.github.com/users/maxunt/orgs","repos_url":"https://api.github.com/users/maxunt/repos","events_url":"https://api.github.com/users/maxunt/events{/privacy}","received_events_url":"https://api.github.com/users/maxunt/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-10-30T22:21:28Z","updated_at":"2018-07-09T22:30:38Z","closed_at":"2018-07-09T22:30:38Z","author_association":"NONE","body":"The default %{COMBINED_LOG_FORMAT} can't understand even simple IPv6 addresses:\n`2001:0db8:85a3:0000:0000:8a2e:0370:7334` with `%{IPORHOST}` becomes: `\"IPORHOST\": [ \"2001\" ]`\n\nBut if we use the definition from [Logstash's patters](https://github.com/logstash-plugins/logstash-patterns-core/blob/master/patterns/grok-patterns) `IPORHOST (?:%{IP}|%{HOSTNAME})` it can match the whole IPv6 address.\n\nFurthermore with the definition above it still can't match IPv4-compatible addresses, like `::ffff:192.0.2.128`, but that can be solved by replacing \"listen [::]:80 ipv6only=off;\" with \"listen 80; listen [::]:80 ipv6only=on;\" at nginx's server config.\n\nTelegraf - version 1.0.1\n"},"comment":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/comments/403640687","html_url":"https://github.com/influxdata/telegraf/issues/1973#issuecomment-403640687","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/1973","id":403640687,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzY0MDY4Nw==","user":{"login":"maxunt","id":12532809,"node_id":"MDQ6VXNlcjEyNTMyODA5","avatar_url":"https://avatars0.githubusercontent.com/u/12532809?v=4","gravatar_id":"","url":"https://api.github.com/users/maxunt","html_url":"https://github.com/maxunt","followers_url":"https://api.github.com/users/maxunt/followers","following_url":"https://api.github.com/users/maxunt/following{/other_user}","gists_url":"https://api.github.com/users/maxunt/gists{/gist_id}","starred_url":"https://api.github.com/users/maxunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxunt/subscriptions","organizations_url":"https://api.github.com/users/maxunt/orgs","repos_url":"https://api.github.com/users/maxunt/repos","events_url":"https://api.github.com/users/maxunt/events{/privacy}","received_events_url":"https://api.github.com/users/maxunt/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T22:30:38Z","updated_at":"2018-07-09T22:30:38Z","author_association":"CONTRIBUTOR","body":"a functional test case can be found for working IPV6 addresses in telegraf/plugins/inputs/logparser/grok/grok_test.go on line 123"}}
{"actor":{"display_login":"maxunt"}}