-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metricbeat vsphere add field #5646
Comments
@adelbot Would you like this field at "virtualmachine" metric? Collecting network names for every virtual machine. |
On all when it’s is posible
De : Amanda H. L. de Andrade [mailto:[email protected]]
Envoyé : mardi 21 novembre 2017 17:42
À : elastic/beats <[email protected]>
Cc : DELBOT Alain <[email protected]>; Mention <[email protected]>
Objet : Re: [elastic/beats] metricbeat vsphere add field (#5646)
@adelbot<https://github.com/adelbot> Would you like this field at "virtualmachine" metric? Collecting network names for every virtual machine.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#5646 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AF5FTCPZOGjwz_N_Qd7yMfyhnFOkgj8Vks5s4v1MgaJpZM4Qj0Rq>.
Post-scriptum La Poste
Ce message est confidentiel. Sous reserve de tout accord conclu par
ecrit entre vous et La Poste, son contenu ne represente en aucun cas un
engagement de la part de La Poste. Toute publication, utilisation ou
diffusion, meme partielle, doit etre autorisee prealablement. Si vous
n'etes pas destinataire de ce message, merci d'en avertir immediatement l'expediteur.
|
Hi @adelbot The library that is used to connect to the vSphere API is https://github.com/vmware/govmomi. So if the metrics are available through this library it should be possible to add them. I had a quick look at the code and there are quite a few Network fields. Could you link to the |
Just to share: I gave it a try but found a error then I opened a issue to govmomi. :-( |
@adelbot @ruflin Do you think it would be better to be optional? Like custom fields. Event example:
|
As far as I understand, the fields added are:
2 questions here:
Sorry for potentially basic question but not really familiar with vsphere. |
Hello,
|
@ruflin custom_fields already exists, it's not a new field :-) I use custom_fields as example because he is collected only if the user says so. It's optional, not default. So, I thought that network_names could be the same thing. In config, we could have a "get_network_names" to be set true/false. |
@amandahla Ah, great. Depending on how big the list is normally, I'm ok also to collect it by default (assuming it is like 1-3 entries normally). People that don't like it can filter it out. Like this we don't need to add a config option for it. As
Otherwise we would have multiple |
@adelbot For metric "host", at least in the environment that I'm testing, we have a lot of "Distributed port group" instead of "Network". For this metric, is ok to collect only network names? |
@ruflin I believe that a list will work fine 👍 |
This is a first version. I'll wait for adelbot to answer if is important/interesting to collect the Distributed port group names for host metric. |
@adelbot Have a look at #5646 |
And can this custom_fields be generated by metricbeat it self or are they being pulled from VMWare directly? Thanks |
@PauliniMrtns they are pulled from Vmware |
so sorry !!!! |
For confirmed bugs, please report:
I'm looking for add network Name in event
like vm.Guest.net[].Network
The text was updated successfully, but these errors were encountered: