# Configure Keycloak to not collect IP Address

**URL:** <https://forum.keycloak.org/t/configure-keycloak-to-not-collect-ip-address/6936>\
**Category:** Getting advice\
**Created:** [January 22, 2021, 12:13pm UTC](https://forum.keycloak.org/t/configure-keycloak-to-not-collect-ip-address/6936 "2021-01-22T12:13:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![buddi](https://avatars.discourse-cdn.com/v4/letter/b/7cd45c/32.png) [@buddi](https://forum.keycloak.org/u/buddi)\
**Post date:** [January 22, 2021, 12:13pm UTC](https://forum.keycloak.org/t/configure-keycloak-to-not-collect-ip-address/6936/1 "2021-01-22T12:13:22Z")

</div>

Hello,

is it possble to configure Keycloak to not collect IP Addresses? The docs only seem to show possibilities to collect more data, we would like to collect less data.

[https://www.keycloak.org/docs/latest/server\_admin/#\_personal\_data](https://www.keycloak.org/docs/latest/server_admin/#_personal_data)

Thanks!

---

<div class="post-metadata">

**Author:** ![Nothing4You](https://avatars.discourse-cdn.com/v4/letter/n/278dde/32.png) [@Nothing4You](https://forum.keycloak.org/u/Nothing4You)\
**Post date:** [January 23, 2021, 6:23pm UTC](https://forum.keycloak.org/t/configure-keycloak-to-not-collect-ip-address/6936/2 "2021-01-23T18:23:19Z")

</div>

I don’t know if there’s a builtin setting for this but if you put it behind a reverse proxy and don’t pass the requester IP that should cover this, then omit the IP in the reverse proxy logs.

---

<div class="post-metadata">

**Author:** ![dasniko](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/dasniko/32/2969_2.png) [@dasniko](https://forum.keycloak.org/u/dasniko)\
**Post date:** [January 25, 2021, 10:40am UTC](https://forum.keycloak.org/t/configure-keycloak-to-not-collect-ip-address/6936/3 "2021-01-25T10:40:36Z")

</div>

If you don’t forward the IPs properly when working behind a proxy, Keycloak may not work reliable as it needs a proper IP-chain in the `X-Forwarded-For` header, when working behind a proxy.
