# How to filter ipv6 address from message

**URL:** <https://discuss.elastic.co/t/how-to-filter-ipv6-address-from-message/115233>\
**Category:** Kibana\
**Created:** [January 12, 2018, 7:38am UTC](https://discuss.elastic.co/t/how-to-filter-ipv6-address-from-message/115233 "2018-01-12T07:38:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Champion\_Xie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/champion_xie/32/71770_2.png) [@Champion\_Xie](https://discuss.elastic.co/u/Champion_Xie)\
**Post date:** [January 12, 2018, 7:38am UTC](https://discuss.elastic.co/t/how-to-filter-ipv6-address-from-message/115233/1 "2018-01-12T07:38:27Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [January 12, 2018, 1:09pm UTC](https://discuss.elastic.co/t/how-to-filter-ipv6-address-from-message/115233/2 "2018-01-12T13:09:04Z")

</div>

Hey @Champion_Xie, are you using Logstash to ingest your data? The [Grok filter plugin](https://www.elastic.co/guide/en/logstash/current/plugins-filters-grok.html) should help you with parsing this data on ingest before indexing it in Elasticsearch.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 9, 2018, 1:09pm UTC](https://discuss.elastic.co/t/how-to-filter-ipv6-address-from-message/115233/3 "2018-02-09T13:09:44Z")

</div>

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