# Must logstash-input-wmi be run on a Windows host, or can it be run on linux?

**URL:** <https://discuss.elastic.co/t/must-logstash-input-wmi-be-run-on-a-windows-host-or-can-it-be-run-on-linux/66455>\
**Category:** Logstash\
**Created:** [November 17, 2016, 8:43pm UTC](https://discuss.elastic.co/t/must-logstash-input-wmi-be-run-on-a-windows-host-or-can-it-be-run-on-linux/66455 "2016-11-17T20:43:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Mullet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevin_mullet/32/13253_2.png) [@Kevin\_Mullet](https://discuss.elastic.co/u/Kevin_Mullet)\
**Post date:** [November 17, 2016, 8:43pm UTC](https://discuss.elastic.co/t/must-logstash-input-wmi-be-run-on-a-windows-host-or-can-it-be-run-on-linux/66455/1 "2016-11-17T20:43:18Z")

</div>

Obviously, logstash-input-wmi is only useful to collect data FROM windows hosts, but must the logstash instance running the logstash-input-wmi plugin necessarily be a windows host?

I've done WMI in the past from linux, using [this](https://www.aldeid.com/wiki/Wmic-linux), and I've run across [other](https://github.com/CoreSecurity/impacket) UNIX-based WMI implementations, so it doesn't seem completely obvious to me what platform is required by the plugin, and I didn't see anything in the source on github. (not that it isn't there, but I couldn't find it.)

Thanks,

-KwM-

Kevin Mullet  
Dallas, TX

---

<div class="post-metadata">

**Author:** ![eperry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eperry/32/551_2.png) [@eperry](https://discuss.elastic.co/u/eperry)\
**Post date:** [November 18, 2016, 4:22am UTC](https://discuss.elastic.co/t/must-logstash-input-wmi-be-run-on-a-windows-host-or-can-it-be-run-on-linux/66455/2 "2016-11-18T04:22:40Z")

</div>

from everything I know about the input yeah it has to be run on the host. Let me know if you find otherwise. I don't remember any "remote" option in the plugin

---

<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 16, 2016, 4:23am UTC](https://discuss.elastic.co/t/must-logstash-input-wmi-be-run-on-a-windows-host-or-can-it-be-run-on-linux/66455/3 "2016-12-16T04:23:02Z")

</div>

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