# Policy settings/event collection - differentiate public vs private network access

**URL:** <https://discuss.elastic.co/t/policy-settings-event-collection-differentiate-public-vs-private-network-access/332661>\
**Category:** Elastic Security\
**Created:** [May 5, 2023, 3:25pm UTC](https://discuss.elastic.co/t/policy-settings-event-collection-differentiate-public-vs-private-network-access/332661 "2023-05-05T15:25:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yak990](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@yak990](https://discuss.elastic.co/u/yak990)\
**Post date:** [May 5, 2023, 3:25pm UTC](https://discuss.elastic.co/t/policy-settings-event-collection-differentiate-public-vs-private-network-access/332661/1 "2023-05-05T15:25:03Z")

</div>

It would be great if we could limit network event tracking to just external access attempts instead of everything. Maybe have two checkboxes - internal network and external network, where internal network is defined as ips in the commonly assigned private network ranges typically used.

---

<div class="post-metadata">

**Author:** ![NickFritts](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickfritts/32/47189_2.png) [@NickFritts](https://discuss.elastic.co/u/NickFritts)\
**Post date:** [May 6, 2023, 12:25am UTC](https://discuss.elastic.co/t/policy-settings-event-collection-differentiate-public-vs-private-network-access/332661/2 "2023-05-06T00:25:44Z")

</div>

Howdy @yak990

This is a good idea. I expected you'd be able to accomplish this using [event filters](https://www.elastic.co/guide/en/security/master/event-filters.html). However looking at it, I think you would need to add every IP address you want to drop and it doesn't seem very user friendly.

I've logged an enhancement request to add this feature [here](https://github.com/elastic/endpoint/issues/46) Hopefully we can relatively quickly add the option to drop private network ranges, and then later add a more complete filtering option that lets you specify networks to drop events from.

---

<div class="post-metadata">

**Author:** ![yak990](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@yak990](https://discuss.elastic.co/u/yak990)\
**Post date:** [May 18, 2023, 5:46pm UTC](https://discuss.elastic.co/t/policy-settings-event-collection-differentiate-public-vs-private-network-access/332661/3 "2023-05-18T17:46:45Z")

</div>

Thanks for the feedback, and logging the enhancement request!

---

<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:** [June 15, 2023, 5:47pm UTC](https://discuss.elastic.co/t/policy-settings-event-collection-differentiate-public-vs-private-network-access/332661/4 "2023-06-15T17:47:09Z")

</div>

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