# Configure the anomaly detector to find unusual logon

**URL:** <https://discuss.elastic.co/t/configure-the-anomaly-detector-to-find-unusual-logon/271553>\
**Category:** Kibana\
**Created:** [April 28, 2021, 8:08pm UTC](https://discuss.elastic.co/t/configure-the-anomaly-detector-to-find-unusual-logon/271553 "2021-04-28T20:08:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vannessa\_Kemeni](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vannessa_kemeni/32/83669_2.png) [@Vannessa\_Kemeni](https://discuss.elastic.co/u/Vannessa_Kemeni)\
**Post date:** [April 28, 2021, 8:08pm UTC](https://discuss.elastic.co/t/configure-the-anomaly-detector-to-find-unusual-logon/271553/1 "2021-04-28T20:08:01Z")

</div>

Hello everyone,  
I have a document with IP address and the username. A user in a country can have an IP Address in a specific range for example from 192.168.0.0 up to 192.168.0.255. That means for example it logs on from France. I want to detect if the user changes its location by login. I am configuring the detector so that my feature detector is the IP Addrees with the aggregation Min .  
{  
"data\_win\_eventdata\_ip\_address": {  
"min": {  
"field": "data.win.eventdata.ipAddress"  
}  
}  
}  
Furthermore, i have add a category with the field IP Address.  
But that does not seems to work. Can someone please help me, how i can configure it suitable?  
Thank you!

---

<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:** [May 26, 2021, 8:08pm UTC](https://discuss.elastic.co/t/configure-the-anomaly-detector-to-find-unusual-logon/271553/2 "2021-05-26T20:08:13Z")

</div>

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