ELK integration with vcenter

Hi ,

can you please suggest best method , how to integrate vcenter with ELK.?
i tried using metric-beats by enabling module "vsphere"...But, i am not able to get relevant data from vcenter.

PFB config file which i was using for vsphere....
##########Vsphere file##############

Module: vsphere

Docs: https://www.elastic.co/guide/en/beats/metricbeat/6.7/metricbeat-module-vsphere.html

  • module: vsphere
    metricsets:

    username: "username@vsphere"
    password: "XXXXXXX!"

    If insecure is true, don't verify the server's certificate chain

    insecure: true

    Get custom fields when using virtualmachine metric set. Default false.

    #get_custom_fields: true
    #######################################
    and please find output which i am getting into kibana
    #######################################
    |@timestamp|September 10th 2019, 16:08:27.543|
    |---|---|
    |t _id|tFuBG20BjoHyN7MMGQaH|
    |t _index|metricbeat-6.7.1-2019.09.10|
    |# _score|1|
    |t _type|doc|
    |t beat.hostname|hostname|
    |t beat.name|Hostname|
    |t beat.version|6.7.1|
    |t event.dataset|vsphere.host|
    |# event.duration|944,695,953|
    |t host.architecture|x86_64|
    | host.containerized|true|
    |t host.id|XXXXXXX|
    |t host.name|ELK hostname|
    |t host.os.codename|Maipo|
    |t host.os.family||
    |t host.os.name|Red Hat Enterprise Linux Server|
    |t host.os.platform|rhel|
    |t host.os.version|7.6 (Maipo)|
    |t metricset.host|https://hostname/sdk|
    |t metricset.module|vsphere|
    |t metricset.name|host|
    |# metricset.rtt|944,695|
    |# vsphere.host.cpu.free.mhz|69,483|
    |# vsphere.host.cpu.total.mhz|73,504|
    |# vsphere.host.cpu.used.mhz|4,021|
    |# vsphere.host.memory.free.bytes|476,661,723,136|
    |# vsphere.host.memory.total.bytes|549,619,544,064|
    |# vsphere.host.memory.used.bytes|72,957,820,928|
    |t vsphere.host.name|hostname|

################################################

Kind Regards

Lokesh

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