# How to query private IP range in kibana?

**URL:** <https://discuss.elastic.co/t/how-to-query-private-ip-range-in-kibana/282532>\
**Category:** Kibana\
**Tags:** kql-kibana-query-language\
**Created:** [August 26, 2021, 4:28am UTC](https://discuss.elastic.co/t/how-to-query-private-ip-range-in-kibana/282532 "2021-08-26T04:28:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![111418](https://avatars.discourse-cdn.com/v4/letter/1/258eb7/32.png) [@111418](https://discuss.elastic.co/u/111418)\
**Post date:** [August 26, 2021, 4:28am UTC](https://discuss.elastic.co/t/how-to-query-private-ip-range-in-kibana/282532/1 "2021-08-26T04:28:23Z")

</div>

I want to query sourceIP in private IP.For example: 10.0.0.0-10.255.255.255 or 172.16.0.0 – 172.31.255.255 or 192.168.0.0 – 192.168.255.255

But I user sourceIP:[10.0.0.0 TO 10.255.255.255] don't work.The sourceIP field type is IP

I also try to use "between" by filter but the filter only set one range in the same time and the operator of each filter is "AND".

How to query private IP range in kibana?

---

<div class="post-metadata">

**Author:** ![Iker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iker/32/91708_2.png) [@Iker](https://discuss.elastic.co/u/Iker)\
**Post date:** [August 26, 2021, 6:02am UTC](https://discuss.elastic.co/t/how-to-query-private-ip-range-in-kibana/282532/2 "2021-08-26T06:02:08Z")

</div>

Use CIDR for the filter, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.

---

<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:** [September 23, 2021, 6:02am UTC](https://discuss.elastic.co/t/how-to-query-private-ip-range-in-kibana/282532/3 "2021-09-23T06:02:38Z")

</div>

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