# Log on workstation hostname

**URL:** <https://discuss.elastic.co/t/log-on-workstation-hostname/288652>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [November 8, 2021, 3:30pm UTC](https://discuss.elastic.co/t/log-on-workstation-hostname/288652 "2021-11-08T15:30:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![insurin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/insurin/32/81969_2.png) [@insurin](https://discuss.elastic.co/u/insurin)\
**Post date:** [November 8, 2021, 3:30pm UTC](https://discuss.elastic.co/t/log-on-workstation-hostname/288652/1 "2021-11-08T15:30:31Z")

</div>

I am using ELK 7.12.1 mainly to log AD events at the minute. I have had a device go missing and I want to track down the last time it was logged on. I have been using user.name.text to locate user logons but I don't think the workstation name gets logged.

How can I log the workstation name for when a user logs on?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 9, 2021, 12:40am UTC](https://discuss.elastic.co/t/log-on-workstation-hostname/288652/2 "2021-11-09T00:40:45Z")

</div>

Are you using Winlogbeat?

---

<div class="post-metadata">

**Author:** ![insurin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/insurin/32/81969_2.png) [@insurin](https://discuss.elastic.co/u/insurin)\
**Post date:** [November 9, 2021, 7:46am UTC](https://discuss.elastic.co/t/log-on-workstation-hostname/288652/3 "2021-11-09T07:46:23Z")

</div>

I have Winlogbeat running on all my DC's this provide a phenomenal amount of data via the 'Winlogbeat Security - User Management Events'

I am just missing the workstation ID. This may not get collected via AD logs hence not showing up in ELK but it would be really helpful to get this in.

---

<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:** [December 7, 2021, 7:46am UTC](https://discuss.elastic.co/t/log-on-workstation-hostname/288652/4 "2021-12-07T07:46:59Z")

</div>

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