How to filter ipv6 address from message


(Champion Xie) #1

bellows my logfile message format
2018-01-12 15:35:05 INFO - 173.211.17.104 2051 0 0
2018-01-12 15:35:06 INFO - 2001:db7:1000:2000::3000:1 2051 0 0

i want filter client format ipv6 address how can i do it ?


(Brandon Kobel) #2

Hey @Champion_Xie, are you using Logstash to ingest your data? The Grok filter plugin should help you with parsing this data on ingest before indexing it in Elasticsearch.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.