# Plugin WMI : exception=\>"NoMethodError"

**URL:** <https://discuss.elastic.co/t/plugin-wmi-exception-nomethoderror/62705>\
**Category:** Logstash\
**Created:** [October 11, 2016, 11:46am UTC](https://discuss.elastic.co/t/plugin-wmi-exception-nomethoderror/62705 "2016-10-11T11:46:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![folly3](https://avatars.discourse-cdn.com/v4/letter/f/7ab992/32.png) [@folly3](https://discuss.elastic.co/u/folly3)\
**Post date:** [October 11, 2016, 11:46am UTC](https://discuss.elastic.co/t/plugin-wmi-exception-nomethoderror/62705/1 "2016-10-11T11:46:24Z")

</div>

Hey guys,

i try to exec this logstash conf :

input {  
wmi {  
query =\> "select \* from Win32\_PerfFormattedData\_PerfOS\_Processor"  
}  
}  
output  
{  
stdout  
{  
codec =\> rubydebug  
}  
}

but i have an exception ;

Pipelineabortedduetoerror{  
: exception=\>"NoMethodError",  
: backtrace=\>[  
"C:/Users/Administrator/Desktop/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-input-wmi-2.0.5-java/lib/logstash/inputs/wmi.rb:65:in `register'", "C:/Users/Administrator/Deskt op/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:330:in`start\_inputs'",  
"org/jruby/RubyArray.java:1613:in `each'", "C:/Users/Administrator/Desktop/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core- 2.4.0-java/lib/logstash/pipeline.rb:329:in`start\_inputs'",  
"C:/Users/Administrator/Desktop/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:180:in `start_workers'", "C:/Users/Administrator/Desktop/logstash-2. 4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:136:in`run'",  
"C:/Users/Administrator/Desktop/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/agent.rb:491:in `start\_pipeline'"  
],  
: level=\>: error  
}

someone could help me, please?

I am lost with WMI plugin.

best regards

---

<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:** [July 6, 2017, 4:34am UTC](https://discuss.elastic.co/t/plugin-wmi-exception-nomethoderror/62705/2 "2017-07-06T04:34:36Z")

</div>


