# Windows Dhcp Server logs with Filebeat

**URL:** <https://discuss.elastic.co/t/windows-dhcp-server-logs-with-filebeat/194750>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 11, 2019, 1:18pm UTC](https://discuss.elastic.co/t/windows-dhcp-server-logs-with-filebeat/194750 "2019-08-11T13:18:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![psyapathy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/psyapathy/32/50265_2.png) [@psyapathy](https://discuss.elastic.co/u/psyapathy)\
**Post date:** [August 11, 2019, 1:18pm UTC](https://discuss.elastic.co/t/windows-dhcp-server-logs-with-filebeat/194750/1 "2019-08-11T13:18:53Z")

</div>

Hello!

Can i get logs from Windows Dhcp Server with Filebeat into Elasticsearch?  
Is it possible?

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [August 13, 2019, 9:35am UTC](https://discuss.elastic.co/t/windows-dhcp-server-logs-with-filebeat/194750/2 "2019-08-13T09:35:25Z")

</div>

I'm no windows user, but AFAIK DHCP logs can be written to files on windows (you have to enable it).

Logs should be written to: %systemroot%\system32\dhcp\dhcpsrvlog\*.log

---

<div class="post-metadata">

**Author:** ![michaelberg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michaelberg/32/51063_2.png) [@michaelberg](https://discuss.elastic.co/u/michaelberg)\
**Post date:** [August 15, 2019, 5:21am UTC](https://discuss.elastic.co/t/windows-dhcp-server-logs-with-filebeat/194750/3 "2019-08-15T05:21:41Z")

</div>

I haven't tried this out myself as I'm working primarily in Linux, but I found this article online and thought you might find it useful!

Cheers!

> **[Adding Windows DHCP logs to Elastic - part 1 - Security Distractions](https://www.securitydistractions.com/2019/01/02/adding-windows-dhcp-logs-to-elastic-part-1/)**
>
> How to add Windows DCHP Server logs to Elastic. Gives examples of filebeat and logstash configuration files.

---

<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:** [September 12, 2019, 5:21am UTC](https://discuss.elastic.co/t/windows-dhcp-server-logs-with-filebeat/194750/4 "2019-09-12T05:21:48Z")

</div>

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