# MetricBeat : Vsphere

**URL:** <https://discuss.elastic.co/t/metricbeat-vsphere/159130>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [December 3, 2018, 9:40am UTC](https://discuss.elastic.co/t/metricbeat-vsphere/159130 "2018-12-03T09:40:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adelbot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adelbot/32/30769_2.png) [@adelbot](https://discuss.elastic.co/u/adelbot)\
**Post date:** [December 3, 2018, 9:40am UTC](https://discuss.elastic.co/t/metricbeat-vsphere/159130/1 "2018-12-03T09:40:25Z")

</div>

Hello,

in virtualmachine.go, i note +1 // If only "Distributed port group" was found, for example.  
if len(networkRefs) == 0 {  
return nil, errors.New("no networks found")  
}

Why you don't use "the Distributed port group ?"

---

<div class="post-metadata">

**Author:** ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)\
**Post date:** [December 3, 2018, 5:22pm UTC](https://discuss.elastic.co/t/metricbeat-vsphere/159130/2 "2018-12-03T17:22:28Z")

</div>

Sorry you mean in the error message?

---

<div class="post-metadata">

**Author:** ![adelbot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adelbot/32/30769_2.png) [@adelbot](https://discuss.elastic.co/u/adelbot)\
**Post date:** [December 4, 2018, 6:59am UTC](https://discuss.elastic.co/t/metricbeat-vsphere/159130/3 "2018-12-04T06:59:59Z")

</div>

Hello,

No i dont understand why you dont use the Distributed port group.

---

<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:** [January 1, 2019, 7:00am UTC](https://discuss.elastic.co/t/metricbeat-vsphere/159130/4 "2019-01-01T07:00:07Z")

</div>

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