vSphere 6.5

What is VMware vRealize Log Insight for vCenter Server

A look at the topic What is VMware vRealize Log Insight for vCenter Server? Deploying vRealize Log Insight Server and the value it brings to vSphere syslogs

Let’s face it, syslog collection is not as exciting as other things we would like to be doing as administrators, but often it is a necessary evil that we have to face when troubleshooting or trying to identify potential problems before they happen. Today, let’s highlight a tool that if you are not using as a vSphere administrator, you should be especially since it is free if you own vCenter Server – vRealize Log Insight Server. What is VMware vRealize Log Insight for vCenter Server?ย  We will take a look at licensing a bit further and How to Deploy VMware vRealize Log Insight for vCenter Server.

What is VMware vRealize Log Insight for vCenter Server?

When we think of log scraping, it isn’t terribly useful to us if there is no intelligence or analytics that can decipher what certain logs mean or how they interact and weigh in with other logs that have been gathered. VMware vRealize Log Insight delivers a platform to gain the visibility, log management, and sophisticated analytics needed to parse through logs gathered in a VMware vSphere environment.

Among the areas of interest to us when thinking about utilizing something like vRealize Log Insight are benefits gained when using a log management product that provides deep analytics. It can essentially:

  • Promote Rapid Troubleshooting and Root Cause Analysis into issues or problems
  • Monitor and Manage Machine Data at Scale
  • Create Structure from Unstructured Data
  • Lower Operating Expenses

When we think about troubleshooting an environment, time is money if we are talking about systems potentially being down and engineers spending valuable time and energy on troubleshooting. If we have a product for scraping logs that offers intelligence and analytics and presents that in such a way that we can make sense of the data, we can see how the benefits mentioned above come into play.

Is vRealize Log Insight for vCenter free?

Well, in a sense it is up to a point. For each instance of vCenter Server that you own or purchase you are entitled to a free 25 OSI license of vRealize Log Insight for vCenter. What is an OSI pack? Well, according to VMware documentation, this is “operating system instances”. There is a really good walkthrough and example given here.ย  This post shows the way OSI can be calculated so I will leave that to licensing discussion there. Additionally, NSX customers since NSX 6.2.4 (and beyond) customers are entitled to vRealize Log Insight for NSX at no additional charge.

Also, exciting for VMUG members, if you have a VMUG Advantage membership, you have access to vRealize Log Insight Server license for free!

How to Deploy VMware vRealize Log Insight for vCenter Server

Deploying VMware vRealize Log Insight for vCenter Server is fairly straightforward.ย  Download the vRealize Log Insight 4.5 server OVA appliance from VMware and deploy.ย  There isn’t much to note of interest in the OVA deploy as it is a standard deployment with IP configuration, etc.ย  Once the appliance is deployed, simply power on and let the appliance boot.

vRealize-Log-Insight-4.5-Server-booting
vRealize Log Insight 4.5 Server booting
vRealize-Log-Insight-4.5-Server-appliance-booted
vRealize Log Insight 4.5 Server appliance booted

After connecting to the web interface, we are greeted with theย Setup dialog box ready for configuration of the appliance.

Launch-Setup-of-vRealize-Log-Insight-4.5-Server
Launch Setup of vRealize Log Insight 4.5 Server

On the next screen we can click tehย Start New Deploymentย button to create the new deployment of vRealize Log Insight server.

Start-New-Deployment-of-vRealize-Log-Insight-Server-4.5
Start New Deployment of vRealize Log Insight Server 4.5

Deployment process begins.

Start-New-Deployment-begins
Start New Deployment begins

On the first screen, we setup theย Admin Credentials for the admin user to access the vRealize Log Insight server.

Setup-Admin-credentials-in-vRealize-Log-Insight-Setup-process
Setup Admin credentials in vRealize Log Insight Setup process

Add your License key for vRealize Log Insight Server, or you can skip this during the initial setup.

Setup-License-Key-for-vRealize-Log-Insight-4.5-Server
Setup License Key for vRealize Log Insight 4.5 Server

Time configuration.ย  The setup process prepopulates the NTP servers with VMware specific NTP servers.

Setup-Time-configuration
Setup Time configuration

Setup SMTP configuration for email alerting, or you can simply skip this test during the initial setup.

Setup-SMTP-configuration-for-vRealize-Log-Insight-Server
Setup SMTP configuration for vRealize Log Insight Server

We finally get to the Setup complete screen.ย  Once we click Finish, we are taken to theย Ready to Injest Data screen.

Initial-Setup-Configuration-completes
Initial Setup Configuration completes

On theย Ready to Ingest Data screen, this is where we actually configure our connection to our vSphere environment.ย  Click tehย Cofnigure vSphere Integration link to configure.

Begin-setting-up-vSphere-Integration
Begin setting up vSphere Integration

Populate the vSphere Integrationย Hostname, Username,ย andย Passwordย values for vCenter Server.ย  Notice theย Configure ESXi hosts to send logs to Log Insight is checked by default.

Create-a-connection-to-your-vCenter-server
Create a connection to your vCenter server

vRealize Log Insight Server ESXi Host Syslog Configuration

When using the automatic configuration with the vSphere Integration setup, I saw the errors listed below which referred me to the KB listed – http://kb.vmware.com/kb/2003322.

vRealize-Log-Insight-Server-ESXI-host-Syslog-configuration
vRealize Log Insight Server ESXI host Syslog configuration

Using theย esxcli command we configure theย syslog service and the remote host we want to use (our vRealize Log Insight Server), and also allow syslog connectivity via the ESXi host firewall.ย  After configuring both, we refresh the firewall and reload the syslog service.ย  We can also use theย nz command to test connectivity.

esxcli system syslog conig set --loghost='udp://<vrealize log insight server>:514'
esxcli network firewall ruleset set --ruleset-id=syslog --enabled=true
esxcli network firewall refresh
esxcli system syslog reload
nc -z <vrealize log insight server IP/FQDN> 514
Configure-Syslog-connection-for-ESXi-hosts
Configure Syslog connection for ESXi hosts

Once, I configured the Syslog firewall exception and configured the remote host, the automatic configuration completed successfully.

vRealize-Log-Insight-ESXi-host-automatic-configuration
vRealize Log Insight ESXi host automatic configuration

Viewing vRealize Log Insight Server Information

Once we have vCenter Server and our ESXi hosts sending information, we should start to see data populating in the defaultย General – Overview dashboard.

vRealize-Log-Insight-Server-starting-to-pull-data
vRealize Log Insight Server starting to pull data

Using theย Interactive Analytics tool, we can drill down into the events pulled and get insights into issues, etc.

vRealize-Log-Insight-Server-Interactive-Analytics
vRealize Log Insight Server Interactive Analytics

Thoughts

What is VMware vRealize Log Insight for vCenter Server? It is a great tool that is provided for free when you have vCenter Server licensing that allows much more insightful analytics into vCenter and ESXi host syslogs collection. Let’s face it, gathering and parsing syslogs manually is virtually impossible and cumbersome. Having the right tools to do this intuitively provides benefits to troubleshooting and lowers TCO. If you want to take syslog and best practices even further, Runecast Analyzer is definitely the way to go. Check out our post covering Runecast here.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.