vRealize Log Insight provides real-time log management and log analysis with machine learning-based intelligent grouping, high-performance searching, and troubleshooting across physical, virtual, and cloud environments.
vRealize Log Insight collects data from ESXi hosts using the syslog protocol. It connects to other VMware products, like vCenter Server, to collect events, tasks, and alarm data. vRealize Log Insight also functions as a collection and analysis point for any system that is capable of sending syslog data.
To collect additional logs, you can install an ingestion agent on Linux or Windows servers, or you can use the preinstalled agent on certain VMware products. Using preinstalled agents is useful for custom application logs and operating systems that do not natively support the syslog protocol, such as Windows.
You can deploy vRealize Log Insight as a virtual appliance in one of the following configurations:
Cluster of one master and at least two worker nodes. You can establish high availability by using the integrated load balancer (ILB).
The compute and storage resources of the vRealize Log Insight instances can scale-up as growth demands.
The architecture of vRealize Log Insight in the SDDC enables several channels for the collection of log messages.
vRealize Log Insight clients connect to the ILB Virtual IP (VIP) address, and use the syslog or the Ingestion API via the vRealize Log Insight agent to send logs to vRealize Log Insight. Users and administrators interact with the ingested logs using the user interface or the API.
By default, vRealize Log Insight collects data from vCenter Server systems and ESXi hosts. To forward logs from NSX for vSphere and vRealize Automation, use content packs which contain extensions or provide integration with other systems in the SDDC.
Types of Nodes
For functionality, high availability and scalability, vRealize Log Insight supports the following types of nodes which have inherent roles:
Required initial node in the cluster. In standalone mode, the master node is responsible for all activities, including queries and log ingestion. The master node also handles operations that are related to the lifecycle of a cluster, such as performing upgrades and adding and removing of worker nodes.
In a scaled-out and highly available environment, the master node still performs lifecycle operations such as upgrades, and addition and removal of worker nodes. However, it functions as a generic worker about queries and log ingestion activities.
The master node stores logs locally. If the master node is down, the logs on it become unavailable.
The optional worker node enables scale out in larger environments. As you add and configure more worker nodes in a vRealize Log Insight cluster for high availability (HA), queries and log ingestion activities are delegated to all available nodes. You must have at least two worker nodes to form a cluster with the master node.
The worker node stores logs locally. If any of the worker nodes is down, the logs on the worker become unavailable.
Integrated Load Balancer (ILB)
In cluster mode, the ILB is the centralized entry point which ensures that vRealize Log Insight accepts incoming ingestion traffic. As nodes are added to the vRealize Log Insight instance to form a cluster, the ILB feature simplifies the configuration for high availability. The ILB balances the incoming traffic fairly among the available vRealize Log Insight nodes.
The ILB runs on one of the cluster nodes at all times. In environments that contain several nodes, an election process determines the leader of the cluster. Periodically, the ILB performs a health check to determine whether re-election is required. If the node that hosts the ILB Virtual IP (VIP) address stops responding, the VIP address is failed over to another node in the cluster via an election process.
All queries against data are directed to the ILB. The ILB delegates queries to a query master for the duration of the query. The query master queries all nodes, both master and worker nodes, for data, and then sends the aggregated data back to the client.
Use the ILB Web interface for administrative activities unless you are performing administrative activities on individual nodes. The presents data from the master and from the worker nodes in a scaled-out cluster in a unified display (single pane of glass).
Application Functional Components
The functional components of a vRealize Log Insight instance interact with each other to perform the following operations:
Analyze logging data that is ingested from the components of a data center.
Visualize the results in a Web browser, or support results query using API calls.
The vRealize Log Insight components perform these tasks:
Product/Admin UI and API
The UI server is a Web application that serves as both user and administration interface. This server hosts the API for accessing collected statistics.
Responsible for ingesting syslog logging data.
Log Insight Native Ingestion API (CFAPI) Ingestion
Responsible for ingesting logging data over the ingestion API by using one of the following methods:
vRealize Log Insight agent that has been deployed or preconfigured on SDDC components.
Log Insight Importer that is used for ingestion of non-real time data.
Integration Load Balancing and Election
Responsible for balancing incoming UI and API traffic, and incoming data ingestion traffic.
The Integrated Load Balancer is a Linux Virtual Server (LVS) that is built in the Linux Kernel for Layer 4 load balancing . Each node in vRealize Log Insight contains a service running the Integrated Load Balancer, but only a single node functions as the leader at all times. In a single-node vRealize Log Insight instance, this is always the master node. In a scaled-out vRealize Log Insight cluster, this role can be inherited by any of the available nodes during the election process. The leader periodically performs health checks to determine whether a reelection process is required for the cluster.
Stores configuration information about the vRealize Log Insight nodes and cluster. The information that is stored in the database is periodically replicated to all available vRealize Log Insight nodes.
Stores logging data that is ingested in vRealize Log Insight. The logging repository is local to each node and not replicated. If a node is offline or removed, the logging data which is stored on that node becomes inaccessible. In environments where an ILB is configured, incoming logging data is evenly distributed across all available nodes.
When a query arrives from the ILB, the vRealize Log Insight node that is holding the ILB leader role delegates the query to any of the available nodes in the cluster.
You can configure vRealize Log Insight user authentication to utilize one or more of the following authentication models:
Microsoft Active Directory
VMware Identity Manager
Content packs help extend Log Insight with valuable troubleshooting information by providing structure and meaning to raw logging data that is collected from either a vRealize Log Insight agent, vRealize Log Insight Importeror a syslog stream. They add vRealize Log Insight agent configurations, providing out-of-the-box parsing capabilities for a standard logging directories and logging formats, along with dashboards, extracted fields, alert definitions, query lists, and saved queries from the logging data related to a specific product in vRealize Log Insight. You can learn more details about and download content packs from the Log Insight Content Pack Marketplace or the VMware Solutions Exchange.
vRealize Log Insight supports data archiving on an NFS shared storage that the vRealize Log Insight nodes can access. However, vRealize Log Insight does not manage the NFS mount that is used for archiving purposes. vRealize Log Insight also does not perform cleanup of the archival files.
The NFS mount for archiving can run out of free space or become unavailable for a period of time greater than the retention period of the virtual appliance. In that case, vRealize Log Insight stops ingesting new data until the NFS mount has enough free space or becomes available, or until archiving is disabled. If archiving is enabled, system notifications from vRealize Log Insight sends you an email when the NFS mount is about to run out of space or is unavailable.
You back up each vRealize Log Insight cluster using traditional virtual machine backup solutions. These solutions, for example as vSphere Data Protection, are compatible with vSphere Storage APIs for Data Protection (VADP).
Multi-Region vRealize Log Insight Deployment
The scope of this validated design can cover multiple regions. In a multi-region implementation, vRealize Log Insight provides a logging infrastructure in all regions of the SDDC. Using vRealize Log Insight across multiple regions requires deploying a cluster in each region. vRealize Log Insight supports event forwarding to other vRealize Log Insight deployments across regions in the SDDC. Implementing failover by using vSphere Replication or disaster recovery by using Site Recovery Manager is not necessary. The event forwarding feature adds tags to log message that identify the source region. Event filtering prevents looping messages between the regions.