elastic / integrations

Elastic Integrations
https://www.elastic.co/integrations
Other
37 stars 449 forks source link

Absence of fields in VMware vSphere Elastic Agent integration? #11190

Open iTiagoCO opened 2 months ago

iTiagoCO commented 2 months ago

The failure is basically that the vsphere.virtualmachine.cpu.total.mhz and sphere.virtualmachine.cpu.free.mhz fields do not record information in a large number of documents, while in another, these metrics are received.

validate the integration documentation, where the fields in question are seen: exported-fields-vsphere 1

We believe that it is a bug present in the integration version, since we do not receive error logs in the associated Elastic Agent.

{"log.level":"debug","@timestamp":"2024-07-31T21:32:32.101Z","message":"custom fields not activated or custom values not found/parse in Summary data. This is either a parsing error from vsphere library, an error trying to reach host/guest or incomplete information returned from host/guest","component":{"binary":"metricbeat","dataset":"elastic_agent.metricbeat","id":"vsphere/metrics-default","type":"vsphere/metrics"},"log":{"source":"vsphere/metrics-default"}

No filter with fields Image

with filter checking absence of fields in logs Image Only 105 documents found containing vsphere.virtualmachine.cpu.total.mhz: * or vsphere.virtualmachine.cpu.free.mhz: *

Is this normal?

mbonica703 commented 1 month ago

I think I might be experiencing something similar, except it's with vsphere.host.disk.devicelatency.average.ms and vsphere.host.disk.latency.total.ms (among others). I upgraded to version 1.16 of the integration from 1.14, and while those fields were added to the index, no documents contain them.

UPDATE: I neglected to update my elastic agent version after updating my integration. As soon as I did that my data started populating. Not sure if this will help you.