# Where Clause for WMIbeat is not working

**URL:** <https://discuss.elastic.co/t/where-clause-for-wmibeat-is-not-working/179724>\
**Category:** Beats\
**Created:** [May 6, 2019, 7:58am UTC](https://discuss.elastic.co/t/where-clause-for-wmibeat-is-not-working/179724 "2019-05-06T07:58:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![swapnali](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@swapnali](https://discuss.elastic.co/u/swapnali)\
**Post date:** [May 6, 2019, 7:58am UTC](https://discuss.elastic.co/t/where-clause-for-wmibeat-is-not-working/179724/1 "2019-05-06T07:58:13Z")

</div>

hello,  
I want to check non empty field of ip address in wmibeat, so i used whereclause for empty checking of IP adress as below in my wmibeat.yml.

- class: Win32\_NetworkAdapterConfiguration  
fields:
  - IPAddress  
whereclause: IPAddress != ""  
objecttitlecolumn: IPAddress

But,where Clause for IPAddress is not working For WMI Beat.

---

<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:** [June 3, 2019, 7:58am UTC](https://discuss.elastic.co/t/where-clause-for-wmibeat-is-not-working/179724/2 "2019-06-03T07:58:20Z")

</div>

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