Skip to content
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 module dashboards #14101

Closed
philippkahr opened this issue Oct 16, 2019 · 2 comments
Closed

[Metricbeat] - vsphere module dashboards #14101

philippkahr opened this issue Oct 16, 2019 · 2 comments
Labels
enhancement Metricbeat Metricbeat Team:Integrations Label for the Integrations team

Comments

@philippkahr
Copy link
Contributor

Metricbeat Module VSPHERE

Hi,

I created some dashboards for the metricbeat vsphere module, which is divided into two separate dashboards.

  1. VSphere hosts
    As VSphere has ESXi hosts running and an ESXi host is a machine that runs all VMs, there is a dashboard dedicated to seeing how well one ESXi host or the entire fleet is doing.

  2. VSphere VM
    Currently I am extracting all the data from the VM dataset, which is not much, however, there is one interesting thing. I build a heatmap that shows if a virtual machine has been moved between the hosts.

I am not quite certain on how I should proceed with the dashboards, maybe someone can help me out here. I dumped the JSON which I exported with the export dashboard into a folder dashboard in the beats/metricbeat/module/vsphere/dashboards. The current VSphere module does not have a module.yml and I'm not sure if it's ok if I just create one with all the info.

I included some sample screenshots, please note that I had to add white boxes around some information since it is collected from a production cluster.

image
image
image
image
image
image

@exekias exekias added Team:Integrations Label for the Integrations team enhancement Metricbeat Metricbeat labels Oct 17, 2019
@ChrsMark
Copy link
Member

ChrsMark commented Oct 17, 2019

@philippkahr awesome! You can start with opening a PR (see #14021 or #11170).

The dashboard file should be located in metricbeat/module/vsphere/_meta/kibana/7/dashboard/Metricbeat-vsphere-overview.json

The process I follow to export/import dashboards is:
(under /beats/metricbeat directory)

  1. MODULE=vsphere ID=c359a6c0-4242-11e9-a1b4-79a7ae42ab61 mage exportDashboard
  2. make import-dashboards

Another thing you should have in mind is the naming conventions to follow. Visualisations' names should be like VMs Per Host [Metricbeat VSphere]

Finally yes, you will need to add a module.yml.

@philippkahr
Copy link
Contributor Author

Thanks for the instructions! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Metricbeat Metricbeat Team:Integrations Label for the Integrations team
Projects
None yet
Development

No branches or pull requests

3 participants