VMware vCenter Log Insight

We already know that the collection of logs in our systems is essential to know the health of the state or to know possible problems, vCenter Log Insight is a log manager that allows us to automate the collection of logs and analyze the information from our vSphere system in a very simple way.

vCenter Log Insight collects logs from the vCenter and ESXi hosts, working as a Syslog, stores logs and events in DB to be able to process them later and generate personalized Dashboards with the information we need in one click. Anyone who already knows how to work with Splunk, You will see how familiar this product is to you! Licensed per virtual machine.

 

vCenter-Log-Insight-01-Bujarra

We must download the appliance from the Official Website and import it into our virtual platform,

 

vCenter-Log-Insight-04-Bujarra

In the appliance deployment wizard, we will need to configure the network, either fixed or with DHCP, that we must have previously defined in our DataCenter,

 

vCenter-Log-Insight-05-Bujarra

We would finish the import & we turn on the VM!

 

vCenter-Log-Insight-06-Bujarra

We connect via web to the appliance's IP, We will have a brief configuration wizard, “Next”,

 

vCenter-Log-Insight-07-Bujarra

First, We set the password to the admin user, “Save and Continue”,

 

vCenter-Log-Insight-08-Bujarra

Introducing the License Code, in this case it will be Demo mode, “Continue”

 

vCenter-Log-Insight-09-Bujarra

We provide the email address for notifications, “Save and Continue”

 

vCenter-Log-Insight-10-Candle

It would be recommended to configure the time service using NTP servers, We introduce them & “Test”,

 

vCenter-Log-Insight-11-Bujarra

The same, we will need to configure the SMTP service to send emails, we enter the corresponding parameters and test it.

 

vCenter-Log-Insight-13-Bujarra

We must specify the vCenter server and we can also integrate it with vCenter Operations Manager if we also have it deployed in our network!

 

vCenter-Log-Insight-14-Jar

If we are interested in not deleting logs and archiving them, we must enable “Enable Data Archiving”,

 

vCenter-Log-Insight-15-Bujarra

GOOD, We finish with the wizard, We must restart the appliance in order to start working with it!

 

vCenter-Log-Insight-17-Bujarra

Enter the virtual machine console to change the root password, We enter without a password, leaving it blank and it will ask us to enter a new one.

 

vCenter-Log-Insight-19-Jar

After, it will be important to add the ESXi hosts of our infrastructure so that they redirect the logs to our new syslog., what the vCenter Log Insight will be. We will do it with: 'configure-esxi -u ADMIN_DE_vCENTER -s SERVIDOR_VCENTER -t IP_LOG_INSIGHT -f', and once executed, We will reload the configuration on the hosts so that it applies immediately with 'configure-esxi -u ADMIN_DE_vCENTER -s SERVIDOR_VCENTER -r’

 

vCenter-Log-Insight-20-Bujar

And well, this will be the main dashboard of vCenter Log Insight, where we will have on the one hand the Dashboards that are already customized consoles with interesting views and on the other 'Interactive Analytics’ with which we can analyze and process the logs in search of some data or query.

In this document, We'll do a very basic example where we'll get the latency time out of our hosts, If we search for 'SCSI Performance for example’ We will filter logs with this type of information, we'll look at the average and latency times of IO, we can select the microseconds and extract that field to be able to work on it later; select click on 'Extract field',

 

vCenter-Log-Insight-21-Bujarra

We set a name for it, in this case 'SCSI latency'’ & “Save”,

 

vCenter-Log-Insight-22-Jar

It will also be interesting to know the device and then analyze the latency separately, we also added this field and called it 'SCSI Devices',

 

vCenter-Log-Insight-23-Bujarra

If in the panel we select 'Average’ of 'SCSI latency’ over time & click on 'Update', and in 'Time Range'’ We select an appropriate log analysis time, We will get a graph with the average latency in that period!

 

vCenter-Log-Insight-24-Bujarra

We will also be able to, Separate latency by device to analyze which Datastore is suffering the most, if we also add 'grouped by SCSI device' to the panel’ it will separate it and we will see the microseconds that each IO takes on average in that period of time, as seen in the somewhat tall example.

The good thing about this is that we will be able to take the graphs to the Dashboard (since “Add to Dashboard”), to have a fully customized panel with the most interesting graphics of our system.

 

vCenter-Log-Insight-25-Candle

We introduce a name to the graph & “Add”,

 

vCenter-Log-Insight-26-Candle

We can also add filters if we are interested to have more accuracy in what we are looking for, for example, we filter you by latencies greater than 900000 Microseconds (Which is outrageous) And we could add this graph to the dashboard as well.

 

vCenter-Log-Insight-27-Bujarra

This would be one panel with the graphs created with a summary of the latencies and in the other only with the critical latencies. In addition, Content Packs can be added to monitor the logs of other manufacturers and not only VMware, but also from Cisco, NetApp, EMC, VCE… we can download them from your website.

Recommended Posts

Author

nheobug@bujarra.com
Autor del blog Bujarra.com Cualquier necesidad que tengas, Do not hesitate to contact me, I will try to help you whenever I can, Sharing is living ;) . Enjoy documents!!!