# Regex express to eliminate private address space from geoip

**URL:** <https://discuss.elastic.co/t/regex-express-to-eliminate-private-address-space-from-geoip/217677>\
**Category:** Logstash\
**Created:** [February 3, 2020, 6:57pm UTC](https://discuss.elastic.co/t/regex-express-to-eliminate-private-address-space-from-geoip/217677 "2020-02-03T18:57:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [February 3, 2020, 7:39pm UTC](https://discuss.elastic.co/t/regex-express-to-eliminate-private-address-space-from-geoip/217677/2 "2020-02-03T19:39:24Z")

</div>

Use a cidr filter. [This](https://discuss.elastic.co/t/tagging-for-public-ip-address/183433/8) post has an example tagging those networks.

---

_[View the full topic](https://discuss.elastic.co/t/regex-express-to-eliminate-private-address-space-from-geoip/217677)._
