# How can I get more fields from vcenter using vsphere module?

**URL:** https://discuss.elastic.co/t/how-can-i-get-more-fields-from-vcenter-using-vsphere-module/267561
**Category:** Beats
**Tags:** metricbeat
**Created:** [March 17, 2021, 6:46pm UTC](https://discuss.elastic.co/t/how-can-i-get-more-fields-from-vcenter-using-vsphere-module/267561 "2021-03-17T18:46:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ishaan](https://avatars.discourse-cdn.com/v4/letter/i/f9ae1b/32.png) [@Ishaan](https://discuss.elastic.co/u/Ishaan)
#### Post date: [March 17, 2021, 6:46pm UTC](https://discuss.elastic.co/t/how-can-i-get-more-fields-from-vcenter-using-vsphere-module/267561/1 "2021-03-17T18:46:41Z")

</div>

Is there a way to get more metrics/fields from vcenter using vsphere module? How can I check that what's happening behind the vsphere module?

---

<div class="post-metadata">

### Author: ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)
#### Post date: [March 18, 2021, 4:15pm UTC](https://discuss.elastic.co/t/how-can-i-get-more-fields-from-vcenter-using-vsphere-module/267561/2 "2021-03-18T16:15:14Z")

</div>

You can see how Metricbeat collects metrics from Vsphere using govmomi:

- host: [beats/host.go at master · elastic/beats · GitHub](https://github.com/elastic/beats/blob/master/metricbeat/module/vsphere/host/host.go#L81)
- datastore: [beats/datastore.go at master · elastic/beats · GitHub](https://github.com/elastic/beats/blob/master/metricbeat/module/vsphere/datastore/datastore.go#L76)
- virtualmachine: [beats/virtualmachine.go at master · elastic/beats · GitHub](https://github.com/elastic/beats/blob/master/metricbeat/module/vsphere/virtualmachine/virtualmachine.go#L86)

If you need more metrics, please either open an enhancement request or a PR with the metrics you had implemented.

---

<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: [April 15, 2021, 6:15pm UTC](https://discuss.elastic.co/t/how-can-i-get-more-fields-from-vcenter-using-vsphere-module/267561/3 "2021-04-15T18:15:42Z")

</div>

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