# Detecting Account sharing with winlogbeat

**URL:** <https://discuss.elastic.co/t/detecting-account-sharing-with-winlogbeat/150851>\
**Category:** Elasticsearch\
**Created:** [October 3, 2018, 9:36am UTC](https://discuss.elastic.co/t/detecting-account-sharing-with-winlogbeat/150851 "2018-10-03T09:36:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raj\_Kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raj_kumar/32/25420_2.png) [@Raj\_Kumar](https://discuss.elastic.co/u/Raj_Kumar)\
**Post date:** [October 3, 2018, 9:36am UTC](https://discuss.elastic.co/t/detecting-account-sharing-with-winlogbeat/150851/1 "2018-10-03T09:36:51Z")

</div>

Hi There,

Am trying to write a query for detecting the account shares among the users .I dont know how to execute it.

I have field called event\_data.TargetUserName and event\_data.IpAddress, i would like to search for query some thing like

At 10:00am \> [event\_data.TargetUserName = abc , event\_data.IpAddress=10.0.0.1]  
At 10.05am \> [event\_data.TargetUserName = abc , event\_data.IpAddress=10.0.0.5]

there is possiblity of user having multiple machines but still could be useful to track .May be ip in different subnets reflecting in different location

Thanks,  
Raj

---

<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:** [October 31, 2018, 9:42am UTC](https://discuss.elastic.co/t/detecting-account-sharing-with-winlogbeat/150851/2 "2018-10-31T09:42:30Z")

</div>

Closed on October 31, 2018, 9:42am UTC

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