Log Insight Administration Guide
Log Insight Administration Guide
Log Insight
July 23, 2020
vRealize Log Insight 4.8
Administering vRealize Log Insight
You can find the most up-to-date technical documentation on the VMware website at:
[Link]
docfeedback@[Link]
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
[Link]
©
Copyright 2014-2019 VMware, Inc. All rights reserved. Copyright and trademark information.
VMware, Inc. 2
Contents
3 Configuring Authentication 20
Enable User Authentication Through VMware Identity Manager 20
Enable User Authentication Through Active Directory 22
Configure the Protocol to Use for Active Directory 23
VMware, Inc. 3
Administering vRealize Log Insight
VMware, Inc. 4
Administering vRealize Log Insight
VMware, Inc. 5
Administering vRealize Log Insight
VMware, Inc. 6
Administering vRealize Log Insight
®
Administering vRealize Log Insight provides information about the administration of VMware vRealize™
Log Insight™, including how to manage user accounts and how to configure integration with other
VMware products. It also includes information about managing product security and upgrading your
deployment.
The information is written for experienced Windows or Linux system administrators who are familiar with
virtual machine technology and datacenter operations.
VMware, Inc. 7
1
Upgrading vRealize Log Insight
You can upgrade vRealize Log Insight to version 4.8 by following an incremental upgrade path. The
upgrade includes automatic upgrading of nodes in a cluster.
To download the PAK files for vRealize Log Insight, go to the Download VMware vRealize Log Insight
page.
vRealize Log Insight upgrades must be done incrementally. For example, to upgrade from version 4.5 to
version 4.7, you apply the 4.6 upgrade to 4.5 and then upgrade from 4.6 to 4.7. You must upgrade to
each intermediate release.
You can also view supported upgrade paths on the VMWare Product Interoperability Matrixes site.
Upgrading vRealize Log Insight must be done from the master node's FQDN. Upgrading using the
Integrated Load Balancer IP address is not supported.
VMware, Inc. 8
Administering vRealize Log Insight
During upgrade, the master node is upgraded first, and restarts. Each of the cluster nodes is upgraded
sequentially. You can see the status of the rolling upgrade on the Admin > Cluster page. If the integrated
load balancer is configured, its IPs are migrated among the cluster nodes so cluster services, including
UI, API, and ingestion of incoming events, remain available throughout the rolling upgrade. Low-level
details are written to the file /storage/core/loginsight/var/[Link] on each individual node. A
system notification is sent when the upgrade finishes successfully.
If a problem is encountered affecting one or more of the nodes during the upgrade process, the entire
cluster is rolled back to the original, working version. Because configuration changes performed after the
upgrade started might be inconsistent or invalid, the configuration is reverted to a known-good state
captured before upgrade. No ingested events are lost. Progress is written to the file /storage/core/
loginsight/var/[Link] on each individual node. A system notification is sent when rollback
finishes. After the issue is investigated and fixed, you can retry the upgrade.
After upgrade, all nodes are placed in a connected state and brought online even if they were in
maintenance before upgrade.
Prerequisites
n Verify that you are applying the correct upgrade to version vRealize Log Insight . For more
information about supported upgrade paths, see vRealize Log Insight Upgrade Path.
n Create a snapshot or backup copy of the vRealize Log Insight virtual appliance.
n Obtain a copy of the vRealize Log Insight upgrade bundle .pak file for the release you are upgrading
to.
n Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit
Admin permission. The URL format is [Link] where log-insight-host is the IP
address or host name of the vRealize Log Insight virtual appliance.
n Make a note of any nodes you are upgrading that are in maintenance mode. When the upgrade is
finished, you must move them from the state Connected to Maintenance mode.
Procedure
What to do next
After the master node upgrade process is complete, you can view the remaining upgrade process, which
is automatic.
Check for the email sent to the Admin to confirm the upgrade completed successfully.
After upgrade, all nodes are brought online even if they were in maintenance mode before the upgrade.
Move these nodes back to maintenance mode as needed.
VMware, Inc. 9
Administering vRealize Log Insight
Upgrading vRealize Log Insight must be done from the master node's FQDN. Upgrading using the
Integrated Load Balancer IP address is not supported.
During the upgrade, the master node is upgraded first, and restarts. Then each of the cluster nodes is
upgraded sequentially. You can see the current status of the rolling upgrade seen on the Admin >
Cluster page. If the integrated load balancer is configured, its IPs are migrated among the cluster nodes
so cluster services, including UI, API, and ingestion of incoming events, remain available throughout the
rolling upgrade. Low-level details are written to the [Link] file on each individual node. A system
notification is sent when upgrade completes successfully.
If an issue is encountered affecting one or more of the nodes during the upgrade process, the entire
cluster is automatically rolled back to the original, working version. Because configuration changes
performed after the upgrade started might be inconsistent or invalid, the configuration is reverted to a
known-good state captured before upgrade. No ingested events are lost. Progress is written to
[Link] file on each individual node. A system notification is sent when rollback finishes. After the
issue is investigated and fixed, you can retry the upgrade.
Prerequisites
n Verify that you are applying the upgrade for a supported upgrade path. See vRealize Log Insight
Upgrade Path.
n Create a snapshot or backup copy of the vRealize Log Insight virtual appliance.
n Obtain a copy of the vRealize Log Insight upgrade bundle .pak file for the release you are upgrading
to.
n Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit
Admin permission. The URL format is [Link] where log-insight-host is the IP
address or host name of the vRealize Log Insight virtual appliance.
Procedure
What to do next
After the master node upgrade process is complete, you can view the remaining upgrade process which
is automatic.
Check for the email sent to the Admin to confirm the upgrade completed successfully.
VMware, Inc. 10
2
Managing vRealize Log Insight
User Accounts
Administrators can create user accounts and roles to provide access to the vRealize Log Insight web
interface.
Only users with the Edit Admin permission can create and edit user accounts. However, users can
change their own email and account password without having Edit Admin permission.
n Configure VMware Identity Manager Access to Active Directory Groups for vRealize Log Insight
Roles are sets of permissions required to perform particular tasks. System administrators define roles as
part of defining security policies, and grant the roles to users. To change the permissions and tasks
associated with a particular role, the system administrator updates the role settings. The updated settings
take effect for all users associated with the role.
n To allow a user to perform a task, the system administrator grants the role to the user.
n To prevent a user from performing a task, the system administrator revokes the role from the user.
VMware, Inc. 11
Administering vRealize Log Insight
Managing access, roles, and permissions for each user is based on their user login account. Each user
can be granted multiple roles and permissions.
Users who cannot view or access certain objects or cannot perform certain operations were not granted
the permissions to do so.
Users
System administrators can control the access and actions of each user by granting or revoking
permissions and roles to or from the login account of the user.
Permissions
Permissions control the allowed actions in vRealize Log Insight. Permissions apply to particular
administrative or user tasks in vRealize Log Insight. For example, you can grant the View Admin
permission to allow a user to view the vRealize Log Insight administrative settings.
Data Sets
Data sets consist of a set of filters. You can use data sets to provide users with access to specific
content by associating a data set with a role.
Roles
Roles are collections of permissions and data sets that can be associated with users. Roles provide a
convenient way to package all the permissions required to perform a task. One user can be assigned
multiple roles.
Filtering is done from the Users and Groups tab on the Access Control page. To go to the page, click
Administration from the drop-down menu icon , click Access Control under the Management menu,
and select the Users and Groups tab.
The search text box is located near the top of the page and contains the phrase Filter by username.
The search function filters results as you type, returning user names that contain the input pattern. For
example, if you have user names John_Smith, John_Doe, and Helen_Jonson, when you type the letter
J, search returns all user names that include that letter, for this example John_Smith, John_Doe, and
Helen_Jonson. When you continue to type letters, search results are narrowed to match the exact
pattern. For this example, when you type John_, search returns John_Smith and John_Doe.
VMware, Inc. 12
Administering vRealize Log Insight
You can sort search results by fields: domain, authentication, roles, email, or UPN. In addition, you can
perform a bulk action, such as deleting multiple users, on the search result.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Verify that you have configured VMware Identity Manager or Active Directory support if you are creating
user accounts that use either of these types of authentication. See Enable User Authentication Through
VMware Identity Manager and Enable User Authentication Through Active Directory
Procedure
n If you are using the default, built-in authentication, enter a user name, password, and, optionally,
an email address. Copy the password from the Password text box and provide it to the user.
n If you are using Active Directory or VMware Identity Manager authentication, enter the domain to
which the user belongs, a user name, and optionally, the email address for the user name
account.
6 From the Roles list on the right, select one or more predefined or custom user roles.
Option Description
User Users can access the full functionality of vRealize Log Insight. You can view log
events, run queries to search and filter logs, import content packs into their own
user space, add alert queries, and manage your own user accounts to change a
password or email address. Users do not have access to the administration
options, cannot share content with other users, cannot modify the accounts of other
users, and cannot install a content pack from the Marketplace. However, you can
import a content pack into your own user space which is visible only to you.
Dashboard User Dashboard users can only use the Dashboards page of vRealize Log Insight.
VMware, Inc. 13
Administering vRealize Log Insight
Option Description
View Only Admin View Admin users can view Admin information, have full User access, and can edit
Shared content.
Super Admin Super Admin users can access the full functionality of vRealize Log Insight, can
administer vRealize Log Insight, and can manage the accounts of all other users.
7 Click Save.
n For authentication with VMware Identity Manager, vRealize Log Insight verifies whether VMware
Identity Manager is synchronized with the specified group and its domain. If the group cannot be
found, a dialog box informs you that vRealize Log Insight cannot verify that group. You can save
the group without verification or cancel to correct the group name or domain.
A VMware Identity Manager user inherits roles that are assigned to any group the user belongs to in
addition to the roles that are assigned to the individual user. For example, an Administrator can assign
GroupA to the role of View Admin and assign the user Bob to the role of User. Bob can also be assigned
to GroupA. When Bob logs in, he inherits the group role and has privileges for both the View Admin and
User roles.
The group is not a VMware Identity Manager local group, but an Active Directory group that is
synchronized with VMware Identity Manager.
Prerequisites
n Verify that you have configured the UPN attribute (userPrincipalName) attribute. It can be configured
through the VMware Identity Manager administrator interface at Identity & Access Management >
User Attributes.
n Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit
Admin permission. The URL format is [Link] where log-insight-host is
the IP address or host name of the vRealize Log Insight virtual appliance.
n Verify that you configured VMware Identity Manager support in vRealize Log Insight. See Enable
User Authentication Through VMware Identity Manager
Procedure
VMware, Inc. 14
Administering vRealize Log Insight
The default domain name that you specified when you configured VMware Identity Manager support
appears in the Domain text box.
6 Change the domain name to the Active Directory name for the group.
8 From the Roles list on the right, select one or more predefined or custom user roles.
Option Description
User Users can access the full functionality of vRealize Log Insight. You can view log
events, run queries to search and filter logs, import content packs into their own
user space, add alert queries, and manage your own user accounts to change a
password or email address. Users do not have access to the administration
options, cannot share content with other users, cannot modify the accounts of other
users, and cannot install a content pack from the Marketplace. However, you can
import a content pack into your own user space which is visible only to you.
Dashboard User Dashboard users can only use the Dashboards page of vRealize Log Insight.
View Only Admin View Admin users can view Admin information, have full User access, and can edit
Shared content.
Super Admin Super Admin users can access the full functionality of vRealize Log Insight, can
administer vRealize Log Insight, and can manage the accounts of all other users.
9 Click Save.
vRealize Log Insight verifies whether VMware Identity Manager is synchronized with the specified
group and its domain. If the group cannot be found, a dialog box informs you that vRealize Log
Insight cannot verify that group. You can save the group without verification or cancel to correct the
group name or domain.
Results
Users that belong to the group that you added can use their VMware Identity Manager account to log in to
vRealize Log Insight and have the same level of permissions as the group to which they belong.
When you enable AD support in vRealize Log Insight, you configure a domain name and provide a
binding user that belongs to the domain. vRealize Log Insight uses the binding user to verify the
connection to the AD domain, and to verify the existence of AD users and groups.
VMware, Inc. 15
Administering vRealize Log Insight
The Active Director groups that you add to vRealize Log Insight must either belong to the domain of the
binding user, or to a domain that is trusted by the domain of the binding user.
An Active Directory user inherits roles that are assigned to any group the user belongs to in addition to
the roles that are assigned to the individual user. For example, an Administrator can assign GroupA to the
role of View Admin and assign the user Bob to the role of User. Bob can also be assigned to GroupA.
When Bob logs in, he inherits the group role and has privileges for both the View Admin and User roles.
Prerequisites
n Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit
Admin permission. The URL format is [Link] where log-insight-host is
the IP address or host name of the vRealize Log Insight virtual appliance.
n Verify that you configured AD support. See Enable User Authentication Through Active Directory
Procedure
The default domain name that you specified when you configured Active Directory support appears in
the Domain text box. If you are adding groups from the default domain, do not modify the domain
name.
6 (Optional) If you want to add a group from a domain that trusts the default domain, type the name of
the trusting domain in the Domain text box.
8 From the Roles list on the right, select one or more predefined or custom user roles.
Option Description
User Users can access the full functionality of vRealize Log Insight. You can view log
events, run queries to search and filter logs, import content packs into their own
user space, add alert queries, and manage your own user accounts to change a
password or email address. Users do not have access to the administration
options, cannot share content with other users, cannot modify the accounts of other
users, and cannot install a content pack from the Marketplace. However, you can
import a content pack into your own user space which is visible only to you.
Dashboard User Dashboard users can only use the Dashboards page of vRealize Log Insight.
View Only Admin View Admin users can view Admin information, have full User access, and can edit
Shared content.
Super Admin Super Admin users can access the full functionality of vRealize Log Insight, can
administer vRealize Log Insight, and can manage the accounts of all other users.
VMware, Inc. 16
Administering vRealize Log Insight
9 Click Save.
vRealize Log Insight verifies whether the AD group exists in the domain that you specified or in a
trusting domain. If the group cannot be found, a dialog box informs you that vRealize Log Insight
cannot verify that group. You can save the group without verification or cancel to correct the group
name.
Results
Users that belong to the Active Directory group that you added can use their domain account to log in to
vRealize Log Insight and have the same level of permissions as the group to which they belong.
n Configure a group in the same domain as the users and add the group.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
6 Use the first drop-down menu to select a field defined within vRealize Log Insight to filter on.
VMware, Inc. 17
Administering vRealize Log Insight
The list contains static fields only and excludes fields that are extracted, user shared, and text fields,
and fields created through event_type filters.
Note Numeric fields contain the additional operators =, >, <, >=, and <=, which string fields do not.
These operators perform numeric comparisons. Using them yields different results than using string
operators. For example, the filter response_time = 02 matches an event that contains a
response_time field with a value 2. The filter response_time contains 02 does not have the same
match.
7 Use the second drop-down menu to select the operation to apply to the field selected in the first drop-
down menu.
For example, select contains. The contains filter matches full tokens: searching for the string err
does not result in error as a match.
8 In the filter box to the right of the filter drop-down menu, enter the value that you want to use as a
filter.
You can use multiple values. The operator between these values is OR.
Note The box is not available if you select the exists operator in the second drop-down menu.
10 (Optional) To verify that the filter behavior is what you want, click Run in Interactive Analytics, which
opens an interactive analytics window with data that matches your filters.
11 Click Save.
What to do next
Associate a data set with a user role. See Create and Modify Roles.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
3 Click Roles.
VMware, Inc. 18
Administering vRealize Log Insight
You must clone Super Admin and User roles first before you can edit them.
Option Description
7 (Optional) From the Data Sets list on the right, select a data set to associate with the user role.
8 Click Save.
User accounts and groups are listed in separate tables on the Access Control page. You can use a
search filter to find specific user accounts. When you delete a group, all users that belong to the group
lose the privileges given to them by the group.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
4 Select the check box beside the user name or group that you want to delete.
5 To remove the account or group, click X DELETE at the top of the User Account or Groups table.
VMware, Inc. 19
3
Configuring Authentication
Authentication methods include local authentication, VMware Identity Manager authentication, and Active
Directory authentication. You can use more than one method in the same deployment and users then
select the type of authentication to use at login.
The download page for vRealize Log Insight includes a download link for the appropriate version of
VMware Identity Manager. VMware Identity Manager includes the following features.
n Directory integration to authenticate users against existing directories such as Active Directory or
LDAP.
n Single Sign-On integration with other VMware products that also support Single Sign-On capability.
n Single Sign-On with several third-party identity providers such as ADFS, Ping Federate, and others.
n Two-factor authentication through integration with third-party software such as RSA SecurID, Entrust,
and others. Two-factor authentication with VMware Verify is included.
Local authentication is a component of vRealize Log Insight. To use it, you create a local user and
password that is stored on the vRealize Log Insight server. A product administrator must enable vRealize
Log Insight and Active Directory.
With VMware Identity Manager authentication, users can use a single sign-on for all VMware products
that use the same Identity Manager.
VMware, Inc. 20
Administering vRealize Log Insight
Active Directory users can also authenticate through VMware Identity Manager when the Active Directory
and VMware Identity Manager servers are synchronized. See VMware Identity Manager documentation
for more information about synchronization.
Integration with VMware Identity Manager can be done only with local users. Active Directory users who
are assigned a tenant admin role in VMware Identity Manager are not eligible for integration with vRealize
Log Insight.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
4 In the Host text box, enter a host identifier for the VMware Identity Manager instance to use for
authenticating users .
5 In the API Port text box, specify the port to use to connect to the VMware Identity Manager instance.
The default is 443.
6 Optionally, enter the VMware Identity Manager tenant. This is required only if tenant mode is
configured as tenant-in-path in VMware Identity Manager.
7 Specify VMware Identity Manager user credentials in the Username and Password text boxes.
This information is used only once during configuration for creating a vRealize Log Insight client
onVMware Identity Managerand is not stored locally in vRealize Log Insight. The user must have
permission to run API commands against the tenant.
9 In the Redirect URL Host drop-down menu, select the Hostname or IP to be used in Redirect URL
for registering on VMware Identity Manager.
If at least one virtual IP is defined for the Integrated Load Balancer,VMware Identity Manager
redirects to the VIP selected. If the Integrated Load Balancer is not configured, the master node's IP
address is used instead.
10 Select whether to allow log in support for Active Directory users through VMware Identity Manager.
You can use this option for Active Directory users when VMware Identity Manager is synchronized
with that Active Directory instance.
11 Click Save.
VMware, Inc. 21
Administering vRealize Log Insight
Child domain access is not supported through Active Directory. This type of access is supported through
VMware Identity Manager only.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
Note You cannot list multiple domains in the default domain text box. If the default domain that you
specify is trusted by other domains, vRealize Log Insight uses the default domain and the binding
user to verify AD users and groups in the trusting domains. Child-domain access with AD is
unsupported.
If you switch to a different domain that already includes users and groups, the authentication fails for
the existing users and groups, and data saved by the existing users is lost.
5 If you have geo-located or security-restricted domain controllers, manually specify the domain
controllers closest to this vRealize Log Insight instance.
6 Enter the credentials of a binding user that belongs to the default domain.
vRealize Log Insight uses the default domain and the binding user to verify AD users and groups in
the default domain, and in domains that trust the default domain.
8 Click Save.
What to do next
Give permissions to AD users and groups to access the current instance of vRealize Log Insight.
VMware, Inc. 22
Administering vRealize Log Insight
If you want to limit the Active Directory communication to one particular protocol, or want to change the
order of protocols that are tried, you must apply additional configurations in the vRealize Log Insight
virtual appliance.
Prerequisites
n Verify that you have the root user credentials to log in to the vRealize Log Insight virtual appliance.
Procedure
1 Establish an SSH connection to the vRealize Log Insight virtual appliance and log in as the root user.
3 Locate the latest configuration file where [number] is the largest: /storage/core/loginsight/
config/[Link]#[number]
7 In the Authentication section, add the line that corresponds to the configuration that you want to
apply:
Option Description
<ad-protocols value="LDAPS" /> For specifically using LDAP with SSL only
<ad-protocols value="LDAP,LDAPS" /> For specifically using LDAP first and then using LDAP with SSL.
<ad-protocols value="LDAPS,LDAP" /> For specifically using LDAPS first and then using LDAP without SSL
When you do not select a protocol, vRealize Log Insight attempts to use LDAP first, and then uses
LDAP with SSL.
VMware, Inc. 23
4
Configuring vRealize Log Insight
You can configure and customize vRealize Log Insight to change default settings, network settings, and
modify storage resources. You can also configure system notifications.
n Change the Default Timeout Period for vRealize Log Insight Web Sessions
n Archiving
VMware, Inc. 24
Administering vRealize Log Insight
Node Configuration
CPU 16vCPUs
Memory 32 GB
Cluster Configuration
Ingestion API HTTP POST request 16 KB (text field); 4 MB per HTTP Post request
Integrations
Email servers 1
DNS servers 2
NTP servers 4
Forwarders 10
Prerequisites
Verify that you are logged into the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
1 From the web user interface, click the configuration drop-down menu icon and select Administration.
VMware, Inc. 25
Administering vRealize Log Insight
3 Check the Data Retention check box and specify the retention period to enable the data retention
functionality.
Note
n The default data retention period is 12 months, where one month is equal to 30 days.
n The retention period applies only to the storage of nodes, leaving the NFS archive intact.
4 Click Save.
Results
Once enabled, data retention initiates in one hour and checks data for removal once a day.
Note If the ingestion rate is slow, there might be a slight difference between the configured retention
period and the timestamp of the oldest data in the cluster.
Configure the Root SSH Password for the vRealize Log Insight
Virtual Appliance
By default the SSH connection to the virtual appliance is disabled. You can configure the root SSH
password from the VMware Remote Console or when you deploy the vRealize Log Insight virtual
appliance.
As a best practice, set the root SSH password when you deploy thevRealize Log Insight .ova file. For
more information, see Deploy the vRealize Log Insight Virtual Appliance.
You can also enable SSH and set the root password from the VMware Remote Console.
Prerequisites
Verify that the vRealize Log Insight virtual appliance is deployed and running.
Procedure
1 In the vSphere Client inventory, click the vRealize Log Insight virtual appliance, and open the
Console tab.
2 Go to a command line by following the key combination specified on the splash screen.
3 In the console, type root, and press Enter. Leave the password empty and press Enter.
The following message is displayed in the console: Password change requested. Choose a new
password.
VMware, Inc. 26
Administering vRealize Log Insight
5 Type a new password for the root user, press Enter, type the new password again for the root user,
and press Enter.
The password must consist of at least eight characters, and must include at least one upper case
letter, one lower case letter, one digit, and one special character. You cannot repeat the same
character more than four times.
Results
What to do next
You can use the root password to establish SSH connections to the vRealize Log Insight virtual
appliance.
Prerequisites
Procedure
2 Right-click the vRealize Log Insight virtual appliance in the inventory and click Edit Settings.
3 Click the Options tab and select vApp Options > IP Allocation Policy.
Option Description
Transient IP addresses are automatically allocated using IP pools from a specified range
when the vApp is powered on. The IP addresses are released when the appliance
is powered off
DHCP A DHCP server is used to allocate the IP addresses. The addresses assigned by
the DHCP server are visible in the OVF environments of virtual machines started in
the vApp.
VMware, Inc. 27
Administering vRealize Log Insight
5 (Optional) If you select Fixed, click vApp Options > Properties and assign an IP address, netmask,
gateway, DNS and host name for the vRealize Log Insight vApp.
Caution Do not specify more than two domain name servers. If you specify more than two domain
name servers, all configured domain name servers are ignored in the vRealize Log Insight virtual
appliance.
Increase the storage space by adding a new virtual disk to the vRealize Log Insight virtual appliance. You
can add as many disks as you need, up to 4 TB (+ OS drive) total addressable storage. The total can be
a combination of two 2-TB disks, or four 1-TB disks, and so on. See vRealize Log Insight Configuration
Limits.
In a vRealize Log Insight cluster, you must add the same amount of storage to each node in the cluster.
Prerequisites
n Log in to the vSphere Client as a user who has privileges to modify the hardware of virtual machines
in the environment.
n Shut down the vRealize Log Insight virtual appliance safely. See Power Off the vRealize Log Insight
Virtual Appliance
Procedure
1 In the vSphere Client inventory, right-click the vRealize Log Insight virtual machine and select Edit
Settings.
VMware, Inc. 28
Administering vRealize Log Insight
vRealize Log Insight supports virtual hard disks of up to 2 TB. If you need more capacity, add
more than one virtual hard disk.
Option Description
Thick Provision Lazy Zeroed Creates a virtual disk in the default thick format. The space required for the
virtual disk is allocated when the virtual disk is created. The data residing on the
physical device is not erased during creation, but is zeroed out on demand later,
after first write from the virtual appliance.
Thick Provision Eager Zeroed Creates a type of thick virtual disk that supports clustering features such as
Fault Tolerance. The space required for the virtual disk is allocated at creation
time. In contrast to the flat format, the data residing on the physical device is
zeroed out when the virtual disk is created. It might take much longer to create
disks in this format than to create other types of disks.
Create thick provisioned eager zeroed disks whenever possible for better
performance and operation of the vRealize Log Insight virtual appliance.
Thin Provision Creates a disk in thin format. Use this format to save storage space.
c (Required) To select a datastore, browse for the datastore location and click Next.
Results
When you power on the vRealize Log Insight virtual appliance, the virtual machine discovers the new
virtual disk and automatically adds it to the default data volume. Completely power off the virtual machine
first. For information about powering on virtual appliances, see [Link]
[Link].
Caution After you add a disk to the virtual appliance, you cannot remove it safely. Removing disks from
the vRealize Log Insight virtual appliance may result in complete data loss.
You might need to adjust resource allocation if, for example, the number of events in your environment
increases.
VMware, Inc. 29
Administering vRealize Log Insight
Prerequisites
n Log in to the vSphere Client as a user who has privileges to modify the hardware of virtual machines
in the environment.
n Shut down the vRealize Log Insight virtual appliance safely. See Power Off the vRealize Log Insight
Virtual Appliance
Procedure
1 In the vSphere Client inventory, right-click the vRealize Log Insight virtual machine and select Edit
Settings.
Results
When you power on the vRealize Log Insight virtual appliance, the virtual machine begins to utilize the
new resources.
You obtain an evaluation license when you download vRealize Log Insight from the VMware website. This
license is valid for 60 days. When the evaluation license expires, you must assign a permanent license to
continue using vRealize Log Insight.
The vRealize Log Insight Operating System Instance (OSI) license model defines an OSI as a single
installation of an operating system on a non-virtualized physical server or virtual machine. For vRealize
Log Insight, an OSI can also be a single system identified by an IP address such as virtualized physical
servers, storage arrays, or network devices that can generate log messages.
When a host, server or other source stops sending logs to vRealize Log Insight, the OSI count on the
License page is unchanged during the retention period. The retention period is based on license use
calculated as the average of the OSI count over the last three months.
You use the Administration section of the vRealize Log Insight web user interface to check the vRealize
Log Insight licensing status and manage your licenses.
As part of solution interoperability, VMware NSX users on Standard, Advanced, or Enterprise editions can
license vRealize Log Insight with their NSX license key. For more information, consult VMware NSX
documentation.
Prerequisites
VMware, Inc. 30
Administering vRealize Log Insight
n Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit
Admin permission. The URL format is [Link] where log-insight-host is the IP
address or host name of the vRealize Log Insight virtual appliance.
Procedure
3 In the License Key text box, enter your license key and click Set Key. If you have a VMware NSX
license key, enter it here.
4 Verify that the license status is Active, and the license type and expiry day are correct.
When the volume of logs imported into vRealize Log Insight reaches the storage limit, old log messages
are automatically and periodically retired on a first-come-first-retired basis. You can increase the storage
limit by adding more storage to the vRealize Log Insight virtual appliance. See Increase the Storage
Capacity of the vRealize Log Insight Virtual Appliance.
To preserve old messages, you can enable the archiving feature of vRealize Log Insight. See Enable or
Disable Data Archiving in vRealize Log Insight.
Data stored by vRealize Log Insight is immutable. After a log has been imported, it cannot be removed
until it is automatically retired.
System notifications inform you of critical issues that require immediate attention, provide you with
warnings that might require a response, and inform you of normal system activity. System notifications are
suspended during upgrade, but in effect at all other times.
An administrator can specify how often notifications are sent when triggered and to which email
addresses. System notifications concerning vRealize Log Insight can also be sent to third-party
applications.
System notifications are distinct from alert queries, which are user-defined. For more information about
alert queries, see Add an Alert Query in Log Insight to Send Email Notifications.
VMware, Inc. 31
Administering vRealize Log Insight
The following tables list and describe system notifications for vRealize Log Insight.
Oldest Data Will Be Unsearchable Soon vRealize Log Insight is expected to start decommissioning old data from
the virtual appliance storage based on the expected size of searchable
data, storage space, and the current ingestion rate. Data that has been
rotated out is archived if you have configured archiving, or deleted if you
have not.
To address this, add storage or adjust the retention notification threshold.
For more information, see Configure vRealize Log Insight to Send Health
Notifications.
The notification is sent after each restart of the vRealize Log Insight
service.
Repository Retention Time A retention period is the length of time data is retained on the local disk of
your vRealize Log Insight instance. A retention period is determined by the
amount of data the system can hold and the current ingestion rate. For
example, if you are receiving 10 GB/day of data (after indexing) and you
have 300 GB of space, then your retention rate is 30 days.
When your storage limit is reached, old data is removed to make way for
newly ingested data. This notification tells you when the amount of
searchable data that vRealize Log Insight can store at the current ingestion
rates exceeds the storage space that is available on the virtual appliance.
You could run out of storage before the time period set with the Retention
Notification Threshold. Add storage or adjust the retention notification
threshold.
Dropped Events vRealize Log Insight failed to ingest all incoming log messages.
n In case of a TCP Message drops, as tracked by vRealize Log Insight
server, a system notification is sent as follows:
n Once a day
n Each time the vRealize Log Insight service is restarted, manually
or automatically
n The email contains the number of messages dropped since last
notification email was sent and total message drops since the last
restart of vRealize Log Insight.
Note that the time in the sent line is controlled by the email client, and is in
the local time zone, while the email body displays UTC time.
VMware, Inc. 32
Administering vRealize Log Insight
Corrupt Index Buckets Part of the on-disk index is corrupt. A corrupt index usually indicates
serious issues with the underlying storage system. The corrupt part of the
index is excluded from serving queries. A corrupt index affects the
ingestion of new data. vRealize Log Insight checks the integrity of the
index upon service start-up. In case of detected corruption, vRealize Log
Insight sends a system notification as follows:
n Once a day
n Each time the vRealize Log Insight service is restarted, manually or
automatically
Out of Disk vRealize Log Insight is running out of allocated disk space. vRealize Log
Insight has most probably run into a storage-related issue.
Archive Space Will Be Full The disk space on the NFS server used for archiving vRealize Log Insight
data will be used up soon.
Total Disk Space Change The total size of the partition for vRealize Log Insight data storage has
decreased. This usually signals a serious issue in the underlying storage
system. When vRealize Log Insight detects the condition it sends this
notification as follows:
n Immediately
n Once a day
Pending Archivings vRealize Log Insight cannot archive data as expected. The notification
usually indicates problems with the NFS storage that you configured for
data archiving.
License is about to be expired The license for vRealize Log Insight is about to expire.
License is expired The license for vRealize Log Insight has expired.
Unable to connect to AD server vRealize Log Insight is unable to connect to the configured Active Directory
server.
Cannot take over High Availability IP address [IP The vRealize Log Insight cluster was unable to take over the configured IP
Address] as it is already held by another machine Address for the Integrated Load Balancer (ILB). The most common reason
for this notification is that another host within the same network holds the
IP address, and therefore the IP address is not available to be taken over
by the cluster.
You can resolve this conflict by either releasing the IP address from the
host that currently holds it, or configuring Log Insight Integrated Load
Balancer with a Static IP address that is available in the network. When
changing the ILB IP address, remember to reconfigure all clients to send
logs to the new IP address, or to a FQDN/URL that resolves to this IP
address. You must also unconfigure and reconfigure every vCenter Server
integrated with vRealize Log Insight from the vSphere integration page.
VMware, Inc. 33
Administering vRealize Log Insight
High Availability IP address [IP Address] is The IP Address configured for the Integrated Load Balancer (ILB) is
unavailable due to too many node failures unavailable. This means that clients trying to send logs to a vRealize Log
Insight cluster via the ILB IP address or a FQDN/URL that resolves to this
IP address will see it as unavailable. The most common reason for this
notification is that a majority of the nodes in the vRealize Log Insight
cluster are unhealthy, unavailable, or unreachable from the master node.
Another common reason is that NTP time synchronization has not been
enabled, or the configured NTP servers have significant time drift between
each other. You can confirm that the problem is still ongoing by trying to
ping (if allowed) the IP address to verify that it is not reachable.
You can resolve this problem by ensuring a majority of your cluster nodes
are healthy and reachable, and enabling NTP time synchronization to
accurate NTP servers.
Too many migrations of High Availability IP address The IP address configured for the Integrated Load Balancer (ILB) has
[your IP Address] between vRealize Log Insight nodes migrated too many times within the last 10 minutes.
Under normal operation, the IP address rarely moves between vRealize
Log Insight cluster nodes. However, the IP address might move if the
current owner node is restarted or put in maintenance. The other reason
can be lack of time synchronization between Log Insight cluster nodes,
which is essential for proper cluster functioning. In case of latter, you can
fix the problem by enabling NTP time synchronization to accurate NTP
servers.
SSL Certificate Error A syslog source has initiated a connection to vRealize Log Insight over
SSL but ended the connection abruptly. This may indicate that the syslog
source was unable to confirm the validity of the SSL certificate. In order for
vRealize Log Insight to accept syslog messages over SSL, a certificate
that is validated by the client is required and the clocks of the systems
must be synchronized. There may be an issue with the SSL Certificate or
with the Network Time Service.
You can validate that the SSL Certificate is trusted by your syslog source,
reconfigure the source not to use SSL, or reinstall the SSL Certificate. See
Configure the vRealize Log Insight Agent SSL Parameters and Install a
Custom SSL Certificate.
vCenter collection failed vRealize Log Insight is unable to collect vCenter events, tasks, and alarms.
To look for the exact error that caused the collection failure and to see if
collection is working currently, look in the /storage/var/loginsight/
plugins/vsphere/[Link] file.
Event Forwarder Events Dropped A forwarder drops events because of connection or overload issues.
Example:
VMware, Inc. 34
Administering vRealize Log Insight
Alert Queries Behind Schedule vRealize Log Insight was unable to run a user-defined alert at its
configured time. The reason for the delay may be because of one or more
inefficient user-defined alerts or because the system is not properly sized
for the ingestion and query load.
Auto Disabled Alert If a user-defined alert has run at least ten times and its average run time is
more than one hour, then the alert is deemed to be inefficient and is
disabled to prevent impacting other user-defined alerts.
Inefficient Alert Query If a user-defined alert takes more than one hour to complete, then the alert
is deemed to be inefficient.
Master node Approval needed for new worker node A worker node is sending a request to join
a cluster. An Admin user needs to approve
or reject the request.
Master node New worker node approved An Admin user approved a membership
request from a worker node to join a
vRealize Log Insight cluster.
Master node New worker node denied An Admin user rejected a membership
request from a worker node to join a
vRealize Log Insight cluster. If the request
was denied by mistake, an Admin user
can place the request again from the
worker and then approve it at the master
node.
Master node Maximum supported nodes exceeded The number of worker nodes in the Log
due to worker node Insight cluster has exceeded the
maximum supported count due to a new
worker node.
Master node Allowed nodes exceeded, new worker An Admin user attempted to add more
node denied nodes to the cluster than the maximum
allowed node count and the node has
been denied.
Master node Worker node revoked by admin An Admin user revoked a worker node
membership and the node is no longer a
part of the vRealize Log Insight cluster.
VMware, Inc. 35
Administering vRealize Log Insight
Master node Unknown worker node rejected The vRealize Log Insight master node
rejected a request by a worker node
because the worker node is unknown to
the master. If the worker is a valid node
and it should be added to the cluster, log
in to the worker node, remove its token file
and user configuration at /storage/
core/loginsight/config/, and run
restart loginsight service on the
worker node.
Master node Worker node has entered into A worker node entered into maintenance
maintenance mode mode and an Admin user has to remove
the worker node from maintenance mode
before it can receive configuration
changes and serve queries.
Master node Worker node has returned to service A worker node exited maintenance mode
and returned to service.
Worker node Master failed or disconnected from The worker node that sends the
worker node notification is unable to contact the
vRealize Log Insight master node. This
might indicate that the master node failed,
and might need to be restarted. If the
master node failed, the cluster cannot be
configured and queries cannot be
submitted until it is back online. Worker
nodes continue to ingest messages.
Worker node Master connected to worker node The worker node that sends the
notification is reconnected to the vRealize
Log Insight master node.
vRealize Log Insight generates system notifications when an important system event occurs, for example
when the disk space is almost exhausted and vRealize Log Insight must begin deleting or archiving old
log files.
Administrators can configure vRealize Log Insight to send email notifications about these events. The
from address of system notification emails is configured by the administrator user on the SMTP
configuration page of the Administration UI, in the Sender text box. See Configure the SMTP Server for
vRealize Log Insight.
VMware, Inc. 36
Administering vRealize Log Insight
Administrator users can also send notifications to third-party applications. See About Using Webhooks to
Send System Notifications to Third-Party Products.
If an email message cannot be delivered, you are notified of the error on the Web interface.
Prerequisites
n Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit
Admin permission. The URL format is [Link] where log-insight-host is the IP
address or host name of the vRealize Log Insight virtual appliance.
n Verify that the SMTP server is configured for vRealize Log Insight. For more information, see
Configure the SMTP Server for vRealize Log Insight.
Procedure
a In the Email System Notifications To text box, type the email addresses to be notified.
b Select the Retention notification threshold check box and set the threshold that triggers the
notifications.
A notification is sent when the amount of data the system can hold is insufficient for the time
period specified. This value is calculated based on the current ingestion rate.
4 Click Save.
vRealize Log Insight generates these notifications when an important system event occurs, for example
when the disk space is almost exhausted and vRealize Log Insight must start deleting old log files.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
VMware, Inc. 37
Administering vRealize Log Insight
Procedure
a In the Send HTTP Post System Notifications To text box, type the URLs to be notified.
b (Optional) Confirm that the Send a notification when capacity drops below check box and
associated threshold are configured correctly for your environment.
4 Click Save.
What to do next
Working with the webhook output for your notification, create a shim to map the vRealize Log Insight
webhook format to the format used by your third-party application.
vRealize Log Insight uses webhooks to send alerts over HTTP POST to other applications. vRealize Log
Insight sends a webhook in its own proprietary format, but third-party solutions expect incoming
webhooks to be in their own proprietary format. To use information sent with vRealize Log Insight
webhooks, the third-party application must have either native support for the vRealize Log Insight format
or you must create a mapping between vRealize Log Insight formats and the format used by the third-
party with a shim. The shim translates, or maps, the vRealize Log Insight format to a different format.
The vRealize Log Insight webhook implementation makes outbound HTTP requests to a remote server.
The server may report success or failure, and vRealize Log Insight retries on failure. All HTTP/2xx status
code responses are treated as Success, and all other responses (including timeouts or connection
refused) as failures to be retried later.
Alerts created with message queries, alerts created with aggregate queries, and system notifications
each have their own webhook format.
HTTP basic authentication is supported. Embed credentials in the url using the form {{https://
username:password@hostname/path}}
You must be a vRealize Log Insight administrator to configure vRealize Log Insight to send system
notifications.
When you send a system notification to a third-party program, you must write a shim to make vRealize
Log Insight information understandable by the third-party program's formats.
VMware, Inc. 38
Administering vRealize Log Insight
{
"AlertName":" Admin Alert: Worker node has returned to service (Host = [Link])",
"messages":[
{
"text":"This notification was generated from Log Insight node (Host = [Link],
Node Identifier = a31cad22-65c2-4131-8e6c-27790892a1f9).
A worker node has returned to service after having been in maintenance mode.
The Log Insight master node reports that worker node has finished maintenance
and exited maintenance mode. The node will resume receiving configuration changes and
serving queries. The node is also now ready to start receiving incoming log messages."
"timestamp":1458665320514,"fields":[]
}
]
}
Use event forwarding to send filtered or tagged events to one or more remote destinations such as
vRealize Log Insight or syslog or both. Event forwarding can be used to support existing logging tools
such as SIEM and to consolidate logging over different networks such as DMZ or WAN.
Event forwarders can be standalone or clustered, but an event forwarder is a separate instance from the
remote destination. Instances configured for event forwarding also store events locally and can be used
to query data.
The operators you use to create filters on the Forwarded Events page are different from the filters used
on the interactive analytics page. See Using Event Forwarding Filters in Interactive Analytics for more
information about using the Run in Interactive Analytics menu item to preview the results of your event
filter.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Verify that the destination can handle the number of events that are forwarded. If the destination cluster is
much smaller than the forwarding instance, some events might be dropped.
Procedure
VMware, Inc. 39
Administering vRealize Log Insight
Option Description
Protocol Ingestion API, syslog, or RAW. The default value is Ingestion API (CFAPI).
When events are forwarded using the Ingestion API, the event's original source is
preserved in the source field. When events are forwarded using syslog, the event's
original source is lost and the receiver can record the message's source as the
vRealize Log Insight forwarder's IP address or hostname. When events are
forwarded using RAW, the behavior is similar to syslog, but syslog RFC-compliance
is not ensured. RAW forwards an event exactly the way it is received, without a
custom syslog header added by vRealize Log Insight. This protocol is useful for
third-party destinations, because they expect syslog events in their original form.
Note The source field might have different values depending on the protocol
selected on the Event Forwarder:
a For the ingestion API, the source is the initial sender's (the event originator) IP
address.
b For syslog and RAW, the source is the Event Forwarder's vRealize Log Insight
instance IP address. Also, the message text contains _li_source_path which
points to the initial sender's IP address.
Use SSL You can optionally secure the connection with SSL for the ingestion API. The
remote server's trust root is validated and Event Forwarding with SSL does not
work with self-signed certificates installed on destination servers by default. If
untrusted, import the remote server's trusted root certificate to the forwarder's
keystore. See Configure vRealize Log Insight Event Forwarding with SSL.
Tags You can optionally add tag pairs with predefined values. Tags permit you to more
easily query events. You can add multiple comma-separated tags.
Forward Complementary tags You can select whether to forward complementary tags for syslog.
Complementary tags are tags added by the cluster itself, such as 'vc_username' or
'vc_vmname.' and can be forwarded with the tags coming directly from sources.
Complementary tags are always forwarded when Ingestion API is used.
Transport Select a transport protocol for syslog. You can select UDP or TCP.
VMware, Inc. 40
Administering vRealize Log Insight
Select fields and constraints to define the desired events. Only static fields are available for use as
filters. If you do not select a filter, all events are forwarded. You can see the results of the filter you are
building by clicking Run in Interactive Analytics.
Operator Description
Matches Finds strings that match the string and wildcard specification, where * means zero
or more characters and ? means zero or any single character. Prefix and postfix
globbing is supported.
For example, *test* matches strings such as test123 or my-test-run.
does not match Excludes strings that match the string and wildcard specification, where * means
zero or more characters and ? means zero or any single character. Prefix and
postfix globbing is supported.
For example, test* filters out test123, but does not exclude mytest123. %test*
does not filter out test123, but does exclude xtest123
starts with Finds strings that start with the specified character string.
For example, test finds test123 or test, but not my-test123.
does not start with Excludes strings that start with the specified character string.
For example, test filters out test123, but not my-test123.
5 (Optional) To modify the following forwarding information, click Show Advanced Settings.
Option Description
Port The port to which events are sent on the remote destination. The default value is
set based on the protocol. Do not change unless the remote destination listens on
a different port.
Disk Cache The amount of local disk space to reserve for buffering events that you configure to
be forwarded. Buffering is used when the remote destination is unavailable or
unable to process the events being sent to it. If the local buffer becomes full and
the remote destination is still unavailable, then the newest local events are dropped
and not forwarded to the remote destination even when the remote destination is
back online. The default value is 200 MB.
Worker Count The number of simultaneous outgoing connections to use. Set a higher worker
count for a higher network latency to the forwarded destination and for a greater
number of forwarded events per second. The default value is 8.
7 Click Save.
What to do next
n You can edit or clone an event forwarding destination. If you edit the destination to change an event
forwarder name, all statistics are reset.
VMware, Inc. 41
Administering vRealize Log Insight
Prerequisites
Event Forwarding with SSL does not work with the self-signed certificate installed on destination servers
by default. A custom SSL certificate must be created using the steps in Generate a Certificate Signing
Request and then uploaded. See Install a Custom SSL Certificate
Procedure
1 Copy the trusted root certificate into a temporary directory on the forwarder instance. For example /
home.
localhost:~ # cd /usr/java/default/lib/security/
localhost:/usr/java/default/lib/security # ../../bin/keytool
-import -alias loginsight -file /home/[Link] -keystore cacerts
If you use a vRealize Log Insight cluster environment, this operation should be performed on all
nodes with the same certificate.
What to do next
This difference is important when you use the Run in Interactive Analytics menu item from the Event
Forwarding page. For example, if you have an event forwarding filter of matches *foo* and select the
menu item Run in Interactive Analytics from the Event Filters page, the Interactive Analytics query
equates the event forwarding filter to match regexp ^.*foo.*$, which might not match all the same
events.
Another example is matches foo, which when run on interactive analytics is treated as contains foo.
Because the interactive analytics function also searches keyword queries, contains foo is likely to match
more events than matches foo.
VMware, Inc. 42
Administering vRealize Log Insight
You can change the operators used by Interactive Analytics to address these differences.
n Change occurrences of * from event forwarding filters to .* and prefix filter terms with .*. For example,
change the event filter expression matches *foo* to matches regex .*foo.* for interactive
analytics.
n For the does not match operator from event filters, you can use the matches regex operator with a
regex look ahead value. For example, does not match *foo* is equivalent to matches regex .*(?!
foo).*
By default, vRealize Log Insight synchronizes time with a pre-defined list of public NTP servers. If public
NTP servers are not accessible due to a firewall, you can use the internal NTP server of your company. If
no NTP servers are available, you can sync time with the ESX/ESXi host where you have deployed the
vRealize Log Insight virtual appliance.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
3 From the Sync time with drop-down menu, select the time source.
Option Description
NTP server Synchronizes the time on the vRealize Log Insight virtual appliance with one of the
listed NTP servers.
ESX/ESXi host Synchronizes the time on the vRealize Log Insight virtual appliance with the ESX/
ESXi host on which you have deployed the virtual appliance.
4 (Optional) If you selected NTP server synchronization, list the NTP server addresses, and click Test.
Note Testing the connection to NTP servers might take up to 20 seconds per server.
5 Click Save.
VMware, Inc. 43
Administering vRealize Log Insight
System notifications are generated when vRealize Log Insight detects an important system event, for
example when the storage capacity on the virtual appliance reaches the thresholds that you set.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
4 If the SMTP server uses an encrypted connection, select the encryption protocol.
5 In the Sender text box, type an email address to use when sending system notifications.
The Sender address appears as the From address in system notification emails. It need not be a real
address, and can be something that represents the specific instance of vRealize Log Insight. For
example, loginsight@[Link].
6 Type a user name and password to authenticate with the SMTP server when sending system
notifications.
7 Type a destination email and click Send Test Email to check the connection.
8 Click Save.
The self-signed certificate generates security warnings when you connect to the vRealize Log Insight web
user interface. If you do not want to use a self-signed security certificate, you can install a custom SSL
certificate. The only feature requiring a custom SSL certificate is Event Forwarding through SSL. If you
have a Cluster setup with ILB enabled, see Enable the Integrated Load Balancer for the specific
requirements of a custom SSL certificate.
Note The vRealize Log Insight Web user interface and the Log Insight Ingestion protocol cfapi use the
same certificate for authentication.
VMware, Inc. 44
Administering vRealize Log Insight
Prerequisites
n Verify that your custom SSL certificate meets the following requirements.
n The CommonName contains a wildcard or exact match for the Master node or FQDN of the
virtual IP address. Optionally, all other IP addresses and FQDNs are listed as subjectAltName.
n The certificate file contains both a valid private key and a valid certificate chain.
n If the certificate is signed by a chain of other certificates, all other certificates are included in the
certificate file that you plan to import.
n The private key and all the certificates that are included in the certificate file are PEM-encoded.
vRealize Log Insight does not support DER-encoded certificates and private keys.
n The private key and all the certificates that are included in the certificate file are in the PEM
format. vRealize Log Insight does not support certificates in the PFX, PKCS12, PKCS7, or other
formats.
n Verify that you concatenate the entire body of each certificate into a single text file in the following
order.
n Verify that you include the beginning and ending tags of each certificate in the following format.
VMware, Inc. 45
Administering vRealize Log Insight
n Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit
Admin permission. The URL format is [Link] where log-insight-host is the IP
address or host name of the vRealize Log Insight virtual appliance.
Procedure
6 Configure SSL Connection Between the vRealize Log Insight Server and the Log Insight Agents
SSL function allows you to provide SSL only connections between the Log Insight Agents and the
vRealize Log Insight Server through the secure flow of Ingestion API. You can also configure various
SSL parameters of the Log Insight Agents.
Prerequisites
n Edit the [Link] file to add additional required parameters. Make sure the [req] section has
the req_extensions parameter defined.
[req]
.
.
req_extensions=v3_req #
VMware, Inc. 46
Administering vRealize Log Insight
n Add an appropriate Subject Alternative Name entry for the hostname or IP address of your server, for
example [Link]. You cannot specify a pattern for the hostname.
[v3_req]
.
.
subjectAltName=DNS:[Link]
#subjectAltName=IP:[Link]
Procedure
C:\Certs\LogInsight>openssl req -x509 -nodes -newkey 2048 -keyout [Link] -out [Link] -
days 3650
OpenSSL prompts you to supply certificate properties, including country, organization, and so on.
3 Enter the exact IP address or hostname of your vRealize Log Insight server, or the vRealize Log
Insight cluster address if load balancing is enabled.
This property is the only one for which it is mandatory to specify a value.
Results
Prerequisites
n Install the OpenSSL tool. See [Link] for information about obtaining the OpenSSL
tool.
n Edit the [Link] file to add additional required parameters. Make sure the [req] section has
the req_extensions parameter defined.
[req]
.
.
req_extensions=v3_req #
VMware, Inc. 47
Administering vRealize Log Insight
n Add an appropriate Subject Alternative Name entry for the hostname or IP address of your server, for
example [Link]. You cannot specify a pattern for the hostname.
[v3_req]
.
.
subjectAltName=DNS:[Link]
#subjectAltName=IP:[Link]
Procedure
2 Open a Command Prompt and run the following command to generate your private key.
Note This command runs interactively and asks you a number of questions. Your certificate authority
will cross check your answers. Your answers must match the legal documents regarding the
registration of your company.
4 Follow the onscreen instructions and enter the information that will be incorporated into your
certificate request.
Important In the Common Name field, enter the hostname or IP address of your server, for example
[Link]. If you want to include all subdomains, enter *[Link].
Results
Procedure
Note Request that the Certificate Authority encode your file in the PEM format.
The Certificate Authority processes your request and sends you back a [Link] file encoded in
the PEM format.
VMware, Inc. 48
Administering vRealize Log Insight
Procedure
2 Copy the contents of your [Link] file and paste it in [Link] using the following format.
3 Copy the contents of the [Link] file you received from a certificate authority and paste it in
[Link] using the following format.
-----BEGIN CERTIFICATE-----
(Your Primary SSL certificate: [Link])
-----END CERTIFICATE-----
4 If the Certificate Authorities provided you with an intermediate or chained certificate, append the
intermediate or chained certificates to the end of the public certificate file in the following format.
Procedure
4 Click Save.
VMware, Inc. 49
Administering vRealize Log Insight
What to do next
After vRealize Log Insight restarts, verify that syslog feeds from ESXi continue to arrive in vRealize Log
Insight.
vRealize Log Insight Agents communicate over TLSv.1.2. SSLv.3/TLSv.1.0 is disabled to meet security
guidelines.
The vRealize Log Insight Agent stores certificates and uses them to verify the identity of the server during
all but the first connection to a particular server. If the server identity cannot be confirmed, the vRealize
Log Insight Agent rejects connection with server and writes an appropriate error message to the log.
Certificates received by the Agent are stored in cert folder.
When the vRealize Log Insight Agent establishes secure connection with the vRealize Log Insight Server,
the Agent checks the certificate received from the vRealize Log Insight Server for validity. The vRealize
Log Insight Agent uses system-trusted root certificates.
n The Log Insight Linux Agent loads trusted certificates from /etc/pki/tls/certs/[Link]
or /etc/ssl/certs/[Link].
If the vRealize Log Insight Agent has a locally stored self-signed certificate and receives a different valid
self-signed certificate with the same public key, then the agent accepts the new certificate. This can
happen when a self-signed certificate is regenerated using the same private key but with different details
like new expiration date. Otherwise, connection is rejected.
If the vRealize Log Insight Agent has a locally stored self-signed certificate and receives valid CA-signed
certificate, the vRealize Log Insight Agent silently replaces new accepted certificate.
If the vRealize Log Insight Agent receives self-signed certificate after having a CA-signed certificate, the
Log Insight Agent rejects it. The vRealize Log Insight Agent accepts self-signed certificate received from
vRealize Log Insight Server only when it connects to the server for the first time.
VMware, Inc. 50
Administering vRealize Log Insight
If the vRealize Log Insight Agent has a locally stored CA-signed certificate and receives a valid certificate
signed by another trusted CA, the Agent rejects it. You can modify the configuration options of the
vRealize Log Insight Agent to accept the new certificate. See Configure the vRealize Log Insight Agent
SSL Parameters.
vRealize Log Insight Agents communicate over TLSv.1.2. SSLv.3/TLSv.1.0 is disabled to meet security
guidelines.
The vRealize Log Insight API is normally reachable through HTTP on port 9000 and through HTTPS on
port 9543. Both ports can be used by the vRealize Log Insight Agent or custom API clients. All
authenticated requests require SSL, but unauthenticated requests, including vRealize Log Insight agent
ingestion traffic, can be performed with either. You can force all API request to use SSL connections. The
option does not restrict syslog port 514 traffic or affect the vRealize Log Insight user interface, for which
HTTP port 80 requests continue redirecting to HTTPS port 443.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
4 Click Save.
Results
vRealize Log Insight API allows only SSL connections to the server. Non-SSL connections are refused.
This procedure applies to the vRealize Log Insight agents for Windows and Linux.
Prerequisites
VMware, Inc. 51
Administering vRealize Log Insight
n Log in to the Linux machine on which you installed the vRealize Log Insight Linux agent, open a
console and run pgrep liagent to verify that the vRealize Log Insight Linux agent is installed and
running.
n Log in to the Windows machine on which you installed the vRealize Log Insight Windows agent and
start the Services manager to verify that the vRealize Log Insight agent service is installed.
Procedure
Linux /var/lib/loginsight-agent/
Key Description
VMware, Inc. 52
Administering vRealize Log Insight
Key Description
ssl_accept_any_trusted The possible values are yes, 1, no, or 0. If the vRealize Log
Insight agent has a locally stored trusted Certificate Authority-
signed certificate and receives a different valid certificate
signed by a different trusted Certificate Authority, it checks the
configuration option. If the value is set to yes or 1, the agent
accepts the new valid certificate. If the value is set to no or 0,
it rejects the certificate and ends the connection. The default
value is no.
Example: Configuration
The following is an example of the SSL configuration.
proto=cfapi
port=9543
ssl=yes
ssl_ca_path=/etc/pki/tls/certs/[Link]
ssl_accept_any=no
ssl_accept_any_trusted=yes
ssl_cn=LOGINSIGHT
You can modify the timeout period by using the Web UI.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
VMware, Inc. 53
Administering vRealize Log Insight
Procedure
4 Click Save.
Archiving
You configure vRealize Log Insight to archive log data if you want to retain logs for an extended period of
time.
vRealize Log Insight collects and stores logs on-disk in a series of 0.5-GB buckets. A bucket consists of
compressed log files and an index. A bucket contains everything necessary to perform queries for a
specific time range. When the size of the bucket exceeds 0.5 GB, vRealize Log Insight stops writing,
closes all files in the bucket and seals the bucket.
When you archive data, vRealize Log Insight copies raw compressed log files from the bucket to an NFS
mount when the bucket is sealed. Buckets that have been sealed when data archiving is not enabled are
not retroactively archived.
Note vRealize Log Insight does not manage the NFS mount used for archiving purposes. If system
notifications are enabled, vRealize Log Insight sends an email when the NFS mount is about to run out of
space or is unavailable. If the NFS mount does not have enough free space or is unavailable for longer
than the retention period of the virtual appliance, vRealize Log Insight stops ingesting new data. It begins
to ingest data again when the NFS mount has enough free space, becomes available, or archiving is
disabled.
Do not mount NFS permanently or changes the /etc/fstab file. vRealize Log Insight itself performs NFS
mounting for you.
Prerequisites
n Verify that you have access to an NFS partition that meets the following requirements.
n The NFS partition must allow reading and writing operations for guest accounts.
VMware, Inc. 54
Administering vRealize Log Insight
n If using a Windows NFS server, allow unmapped user UNIX access (by UID/GID).
n Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit
Admin permission. The URL format is [Link] where log-insight-host is the IP
address or host name of the vRealize Log Insight virtual appliance.
Procedure
3 Select Enable Data Archiving and enter the path to an NFS partition where logs are archived in the
form nfs://servername<:port-number>/exportname.
5 Click Save.
Results
Note Data archiving preserves log events that have since been removed from the vRealize Log Insight
virtual appliance due to storage constraints. Log events that have been removed from the vRealize Log
Insight virtual appliance, but have been archived are no longer searchable. If you want to search archived
logs, you must import them into a vRealize Log Insight instance. For more information about importing
archived log files, see Import a vRealize Log Insight Archive into vRealize Log Insight.
What to do next
After vRealize Log Insight restarts, verify that syslog feeds from ESXi continue to arrive in vRealize Log
Insight.
vRealize Log Insight stores archive files on an NFS server and organizes them in hierarchical directories
based on archiving time. For example,
/backup/2014/08/07/16/bd234b2d-df98-44ae-991a-e0562f10a49/[Link]
where /backup is the NFS location, 2014/08/07/16 is the archiving time, bd234b2d-df98-44ae-991a-
e0562f10a49 is the bucket ID, and [Link] is the archived data for the bucket.
The archive data [Link] is a compressed file that uses vRealize Log Insight internal encoding. It
contains the original content for all of the messages stored in the bucket, together with the static fields
such as timestamp, host name, source, and appname.
VMware, Inc. 55
Administering vRealize Log Insight
You can import archived data to vRealize Log Insight, export archive data to a raw text file, and extract
message content from archive data. See Export a Log Insight Archive to a Raw Text File or JSON and
Import a vRealize Log Insight Archive into vRealize Log Insight.
Note Although vRealize Log Insight can handle historic data and real-time data simultaneously, you are
advised to deploy a separate instance of vRealize Log Insight to process imported log files.
Prerequisites
n Verify that you have the root user credentials to log in to the vRealize Log Insight virtual appliance.
n Verify that you have access to the NFS server where vRealize Log Insight logs are archived.
n Verify that the vRealize Log Insight virtual appliance has enough disk space to accommodate the
imported log files.
The minimum free space in the /storage/core partition on the virtual appliance must equal
approximately 10 times the size of the archived log that you want to import.
Procedure
1 Establish an SSH connection to the vRealize Log Insight vApp and log in as the root user.
2 Mount the shared folder on the NFS server where the archived data resides.
3 To import a directory of archived vRealize Log Insight logs, run the following command.
Note Importing archived data might take a long time, depending on the size of the imported folder.
What to do next
You can search, filter, and analyze the imported log events.
Note This is an advanced procedure. Command syntax and output formats might change in later
releases of vRealize Log Insight without backward compatibility.
VMware, Inc. 56
Administering vRealize Log Insight
Prerequisites
n Verify that you have the root user credentials to log in to the vRealize Log Insight virtual appliance.
n Verify that the vRealize Log Insight virtual appliance has enough disk space to accommodate the
exported files.
Procedure
1 Establish an SSH connection to the vRealize Log Insight vApp and log in as the root user.
mkdir /archive
3 Mount the shared folder on the NFS server where the archived data resides by running the following
command.
4 Check the available storage space on the vRealize Log Insight vApp.
df -h
For example,
/usr/lib/loginsight/application/sbin/repo-exporter –d /archive/2014/08/07/16/bd234b2d-
df98-44ae-991a-e0562f10a49 /tmp/[Link]
For example,
/usr/lib/loginsight/application/sbin/repo-exporter –F –d /archive/2014/08/07/16/bd234b2d-
df98-44ae-991a-e0562f10a49 /tmp/[Link]
Caution Restarting vRealize Log Insight closes all active user sessions. Users of the vRealize Log
Insight instance will be forced to log in again.
VMware, Inc. 57
Administering vRealize Log Insight
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
What to do next
After vRealize Log Insight restarts, verify that syslog feeds from ESXi continue to arrive in vRealize Log
Insight.
You must power off the vRealize Log Insight virtual appliance before making changes to the virtual
hardware of the appliance.
You can power off the vRealize Log Insight virtual appliance by using the Power > Shut Down Guest
menu option in the vSphere Client, by using the virtual appliance console, or by establishing an SSH
connection to the vRealize Log Insight virtual appliance and running a command.
Prerequisites
n If you plan to connect to the vRealize Log Insight virtual appliance by using SSH, verify that TCP port
22 is open.
n Verify that you have the root user credentials to log in to the vRealize Log Insight virtual appliance.
Procedure
1 Establish an SSH connection to the vRealize Log Insight vApp and log in as the root user.
2 To power off the vRealize Log Insight virtual appliance, run shutdown -h now.
What to do next
You can safely modify the virtual hardware of the vRealize Log Insight virtual appliance.
VMware, Inc. 58
Administering vRealize Log Insight
Downloading a cluster-wide support bundle is necessary only if requested by VMware Support Services.
You can create the bundle either statically, which uses disk space on the node, or by streaming, which
uses no disk space on the node and stores the bundle on your initiating machine by default.
The storage location for the support bundle depends on the option that you use to get the support bundle:
Web user interface - Streaming support bundle This is a streaming version with no local file.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
The vRealize Log Insight system collects the diagnostic information and sends the data to your
browser in a compressed tarball.
n Select Static support bundle to create a bundle locally. Creation of the bundle consumes disk
space on the node.
n Select Streaming support bundle to start streaming the support bundle immediately. This
method uses no disk space on the node.
5 Click Continue.
7 Select a location to which you want to save the tarball archive and click Save.
VMware, Inc. 59
Administering vRealize Log Insight
What to do next
You can review the contents of log files for error messages. When you resolve or close issues, delete the
outdated support bundle to save disk space.
You choose whether to participate in the Customer Experience Improvement Program when you install
vRealize Log Insight. After installation, you can join or leave the program by following these steps.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
3 In the Customer Experience Improvement Program pane, select or clear the Join the VMware
Customer Experience Improvement Program check box.
When selected, the option activates the Program and sends data to [Link]
4 Click Save.
VMware, Inc. 60
5
Managing vRealize Log Insight
Clusters
You can add, remove, and upgrade the nodes of a vRealize Log Insight cluster.
Note vRealize Log Insight does not support WAN clustering. Current versions of vRealize Log Insight do
not support WAN clustering (also called geo-clustering, high-availability clustering, or remote clustering).
All nodes in the cluster should be deployed in the same Layer 2 LAN. In addition, the ports described in
Chapter 6 Ports and External Interfaces must be opened between nodes for proper communication.
Procedure
VMware, Inc. 61
Administering vRealize Log Insight
Prerequisites
n Verify that you have a copy of the vRealize Log Insight virtual appliance .ova file.
n Verify that you have permissions to deploy OVF templates to the inventory.
n Verify that your environment has enough resources to accommodate the minimum requirements of
the vRealize Log Insight virtual appliance. See Minimum Requirements.
n Verify that you have read and understand the virtual appliance sizing recommendations. See Sizing
the Log Insight Virtual Appliance.
Procedure
3 On the Select Configuration page, select the size of the vRealize Log Insight virtual appliance based
on the size of the environment for which you intend to collect logs.
vRealize Log Insight provides preset VM (virtual machine) sizes that you can select from to meet the
ingestion requirements of your environment. These presets are certified size combinations of
compute and disk resources, though you can add extra resources afterward. A small configuration
consumes the fewest resources while remaining supported. An extra small configuration is suitable
only for demos.
You can use a syslog aggregator to increase the number of syslog connections that send events to
vRealize Log Insight. However, the maximum number of events per second is fixed and does not
depend on the use of a syslog aggregator. A vRealize Log Insight instance cannot be used as a
syslog aggregator.
Note If you select Large, you must upgrade the virtual hardware on the vRealize Log Insight virtual
machine after the deployment.
n Thick Provision Lazy Zeroed creates a virtual disk in a default thick format. Space required for
the virtual disk is allocated when the virtual disk is created. The data remaining on the physical
device is not erased during creation, but is zeroed out on demand later, on first write from the
virtual appliance.
VMware, Inc. 62
Administering vRealize Log Insight
n Thick Provision Eager Zeroed creates a type of thick virtual disk that supports clustering
features such as Fault Tolerance. Space required for the virtual disk is allocated at creation time.
In contrast to the flat format, the data remaining on the physical device is zeroed out when the
virtual disk is created. It might take much longer to create disks in this format than to create other
types of disks.
Important Deploy the vRealize Log Insight virtual appliance with thick provisioned eager zeroed
disks whenever possible for better performance and operation of the virtual appliance.
n Thin Provision creates a disk in thin format. The disk grows as the data saved on it grows. If
your storage device does not support thick provisioning disks or you want to conserve unused
disk space on the vRealize Log Insight virtual appliance, deploy the virtual appliance with thin
provisioned disks.
Note Shrinking disks on the vRealize Log Insight virtual appliance is not supported and might result
in data corruption or data loss.
5 (Optional) On the Setup networks page, set the networking parameters for the vRealize Log Insight
virtual appliance.
If you do not provide network settings, such as an IP address, DNS servers, and gateway information,
vRealize Log Insight utilizes DHCP to set those settings.
Caution Do not specify more than two domain name servers. If you specify more than two domain
name servers, all configured domain name servers are ignored in the vRealize Log Insight virtual
appliance.
6 (Optional) On the Customize template page, set network properties if you are not using DHCP.
7 (Optional) On the Customize template page, select Other Properties and set the root password for
the vRealize Log Insight virtual appliance.
The root password is required for SSH. You can also set this password through the VMware Remote
Console.
For information on deploying virtual appliances, see the User's Guide to Deploying vApps and Virtual
Appliances.
After you power on the virtual appliance, an initialization process begins. The initialization process
takes several minutes to complete. At the end of the process, the virtual appliance restarts.
VMware, Inc. 63
Administering vRealize Log Insight
9 Navigate to the Console tab and check the IP address of the vRealize Log Insight virtual appliance.
What to do next
n If you want to configure a standalone vRealize Log Insight deployment, see Configure New Log
Insight Deployment.
The vRealize Log Insight Web interface is available at [Link] where log-insight-host
is the IP address or host name of the vRealize Log Insight virtual appliance.
vRealize Log Insight can scale out by using multiple virtual appliance instances in clusters. Clusters
enable linear scaling of ingestion throughput, increase query performance, and allow high-availability
ingestion. In cluster mode, vRealize Log Insight provides master and worker nodes. Both master and
worker nodes are responsible for a subset of data. Master nodes can query all subsets of data and
aggregate the results. You might require more nodes to support site needs. You can use from three to 12
nodes in a cluster. This means a fully functional cluster must have a minimum of three healthy nodes. The
majority of nodes in a larger cluster must be healthy. For example, if three nodes of a six-node cluster fail,
none of the nodes functions fully until the failing nodes are removed.
Prerequisites
n In the vSphere Client, note the IP address of the worker vRealize Log Insight virtual appliance.
n Verify that you have the IP address or host name of the master vRealize Log Insight virtual appliance.
n Verify that you have an administrator account on the master vRealize Log Insight virtual appliance.
n Verify that the versions of the vRealize Log Insight master and worker nodes are in sync. Do not add
an older version vRealize Log Insight worker to a newer version vRealize Log Insight master node.
n You must synchronize the time on the vRealize Log Insight virtual appliance with an NTP server. See
Synchronize the Time on the Log Insight Virtual Appliance.
n For information on supported browser versions, see the vRealize Log Insight Release Notes.
VMware, Inc. 64
Administering vRealize Log Insight
Procedure
1 Use a supported browser to navigate to the web user interface of the vRealize Log Insight worker.
The URL format is [Link] where log_insight-host is the IP address or host name of
the vRealize Log Insight worker virtual appliance.
3 Enter the IP address or host name of the vRealize Log Insight master and click Go.
The worker sends a request to the vRealize Log Insight master node to join the existing deployment.
5 Log in as an administrator.
6 Click Allow.
The worker node joins the existing deployment and vRealize Log Insight begins to operate in a
cluster.
What to do next
n Add more worker nodes as needed. The cluster must have a minimum of three nodes.
Warning Removing a node results in data loss. If a node must be removed, ensure that it has been
backed up first. Avoid removing nodes within 30 minutes of adding new nodes.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
VMware, Inc. 65
Administering vRealize Log Insight
3 In the Workers table, find the node you want, click the pause icon, and click Continue.
vRealize Log Insight removes the node from the cluster and sends out an email notification.
5 Once removed, a node can be bootstrapped as a standalone node or bootstrapped and joined to a
cluster.
Note External load balancers are not supported for use with vRealize Log Insight, including vRealize
Log Insight clusters.
It is a best practice to include the ILB in all deployments, including single-node instances. Send queries
and ingestion traffic to the ILB so that a cluster can easily be supported in the future if needed. The ILB
balances traffic across nodes in a cluster and minimizes administrative overhead.
The ILB ensures that incoming ingestion traffic is accepted by vRealize Log Insight even if some vRealize
Log Insight nodes become unavailable. The ILB also balances incoming traffic fairly among available
vRealize Log Insight nodes. vRealize Log Insight clients, using both the web user interface and ingestion
(through syslog or the Ingestion API), connect to vRealize Log Insight through the ILB address.
ILB requires that all vRealize Log Insight nodes be on the same Layer 2 networks, such as behind the
same switch or otherwise able to receive ARP requests from and send ARP requests to each other. The
ILB IP address must be set up so that any vRealize Log Insight node can own it and receive traffic for it.
Typically, this means that the ILB IP address is in the same subnet as the physical address of the
vRealize Log Insight nodes. After you configure the ILB IP address, try to ping it from a different network
to ensure that it is reachable.
To simplify future changes and upgrades, you can have clients point to an FQDN that resolves to the ILB
IP address, instead of pointing directly to the ILB IP address.
VMware, Inc. 66
Administering vRealize Log Insight
The Integrated Load Balancer supports one or more virtual IP addresses (vIPs). Each vIP balances
incoming ingestion and query traffic among available vRealize Log Insight nodes. It's a best practice to
connect all vRealize Log Insight clients through a vIP and not directly to a node.
To simplify future changes and upgrades, you can have clients point to a FQDN that resolves to the ILB
IP address, instead of pointing directly to the ILB IP address. vSphere and vRealize Operations
integrations as well as alert messages use the FQDN if provided. Otherwise, they use the ILB IP address.
vRealize Log Insight should be able to resolve the FQDN to the given IP address, which means that the
FQDN value you specify should match what is defined in DNS.
Prerequisites
n Verify that all vRealize Log Insight nodes and the specified Integrated Load Balancer IP address are
on the same network.
n If you are using vRealize Log Insight with NSX, verify that the Enable IP Discovery option is disabled
on the NSX logical switch.
n The vRealize Log Insight master and worker nodes must have the same certificates. Otherwise, the
vRealize Log Insight Agents configured to connect through SSL reject the connection. When
uploading a CA-signed certificate to vRealize Log Insight master and worker nodes, set the Common
Name to the ILB FQDN (or IP address) during the certificate generation request. See Generate a
Certificate Signing Request .
n You must synchronize the time on the vRealize Log Insight virtual appliance with an NTP server. See
Synchronize the Time on the Log Insight Virtual Appliance.
Procedure
3 In the Integrated Load Balancer section, select New Virtual IP Address and enter the virtual IP (vIP)
address to use for integrated load balancing.
4 (Optional) To configure multiple virtual IP addresses, click New Virtual IP Address and enter the IP
address. You can choose to enter the FQDN and tags.
n Each vIP should be in the same subnet as at least one network interface on each node and the
vIP must be available (not used by any other machine).
VMware, Inc. 67
Administering vRealize Log Insight
n Tags let you add fields with predefined values to events for easier querying. You can add multiple
comma-separated tags. All events coming into the system thru a vIP are marked with the vIP's
tags.
n You can configure a list of static tags (key=value) for an ILB vIP, so that each log message
received from the vIP is annotated with the configured tags.
5 (Optional) To enable vRealize Log Insight users to access the cluster via FQDN, point the clients to
the FQDN instead of directly to the configured ILB IP address.
You might want to have clients point to a FQDN that resolves to an IBM IP address to simplify future
changes and upgrades, you can have clients point to a FQDN instead of pointing directly to the ILB IP
address.
6 Click Save.
The Integrated Load Balancer is managed by one node in the vRealize Log Insight cluster, declared
the leader for that service. The current leader is denoted by the text (ILB) next to the node.
For example, the service determines if the cluster is running and configured as expected or if there are
any issues with integrations to other systems. Additional checks are listed below.
n Can the Active Directory hosts and Kerberos hosts be reached (if Active Directory is currently
configured)?
Procedure
1 At the command line, establish an SSH connection to the vRealize Log Insight virtual appliance and
log in as the root user.
VMware, Inc. 68
6
Ports and External Interfaces
vRealize Log Insight uses specific required services, ports, and external interfaces.
Communication Ports
vRealize Log Insight uses the communication ports and protocols listed in this topic. The required ports
are organized based on whether they are required for sources, for the user interface, between clusters,
for external services, or whether they can be safely blocked by a firewall. Some ports are used only if you
enable the corresponding integration.
Note vRealize Log Insight does not support WAN clustering (also called geo-clustering, high-availability
clustering, or remote clustering). All nodes in the cluster should be deployed in the same Layer 2 LAN. In
addition, the ports described in this section must be opened between nodes for proper communication.
Admin Workstation
The machine that a system administrator uses to manage the vRealize Log Insight virtual appliance
remotely.
User Workstation
The machine on which a vRealize Log Insight user uses a browser to access the Web interface of
vRealize Log Insight.
The endpoint that sends logs to vRealize Log Insight for analysis and search. For example, endpoints
include ESXi hosts, virtual machines or any system with an IP address.
The agent that resides on a Windows or Linux machine and sends operating system events and logs
to vRealize Log Insight over APIs.
VMware, Inc. 69
Administering vRealize Log Insight
Any vRealize Log Insight virtual appliance, master or worker, where the vRealize Log Insight services
reside. The base operating system of the appliance is SUSE 11 SP3.
System sending logs vRealize Log Insight 514 TCP, UDP Outbound syslog traffic
appliance configured as a
Forwarder destination
System sending logs vRealize Log Insight 1514, 6514 TCP Syslog data over SSL
appliance
vRealize Log Insight vRealize Log Insight 9000 TCP Log Insight Ingestion
Agents appliance API
vRealize Log Insight vRealize Log Insight 9543 TCP Log Insight Ingestion
Agents appliance API over SSL
User Workstation vRealize Log Insight 443 TCP HTTPS: Web interface
appliance
vRealize Log Insight vRealize Log Insight 7000 TCP Cassandra replication
appliance appliance and query
vRealize Log Insight vRealize Log Insight 9042 TCP Cassandra service for
appliance appliance native protocol clients
VMware, Inc. 70
Administering vRealize Log Insight
vRealize Log Insight vRealize Log Insight 9160 TCP Cassandra service for
appliance appliance Thrift clients
vRealize Log Insight vRealize Log Insight 59778, 16520–16580 TCP vRealize Log Insight
appliance appliance Thrift service
vRealize Log Insight NTP server 123 UDP NTPD: Provides NTP
appliance time synchronization
vRealize Log Insight Mail Server 25 TCP SMTP: mail service for
appliance outbound alerts
vRealize Log Insight Mail Server 465 TCP SMTPS: mail service
appliance over SSL for outbound
alerts
vRealize Log Insight DNS server 53 TCP, UDP DNS: name resolution
appliance service
vRealize Log Insight vCenter Server 443 TCP vCenter Server Web
appliance Service
vRealize Log Insight Third-party log 514 TCP, UDP syslog data
appliance manager
VMware, Inc. 71
Administering vRealize Log Insight
vRealize Log Insight Third-party log 9000 CFAPI Outbound Log Insight
appliance manager Ingestion API (CFAPI)
traffic configured as a
Forwarder destination
vRealize Log Insight Third-party log 9543 CFAPI Outbound Log Insight
appliance manager Ingestion API (CFAPI)
traffic configured as a
Forwarder destination
with encryption (SSL/
TLS)
vRealize Log Insight appliance 111 TCP, UDP RPCbind service that converts
RPC program numbers into
universal addresses.
VMware, Inc. 72
7
Monitor the Status of the
vRealize Log Insight Agents
You can monitor the status of the vRealize Log Insight Windows and Linux agents and view current
statistics about their operation.
Only those agents that are configured to send data through CFAPI appear on the Agents page. Agents
that are configured to send data through syslog appear on the Hosts page, as with other syslog sources.
If protocol changes from CFAPI to syslog, stats are not updated and represented on the Statistics page
and Agent status is shown as "disconnected". Data represented there is being sent from LI Agents every
30 sec. vRealize Log Insight can display information for up to 15,000 agents.
If you change protocol from CFAPI to syslog, statistics cease to be updated and represented on the Agent
page anymore and agent status is shown as disconnected. Data represented there is being sent from
vRealize Log Insight agent every thirty seconds.
Note If you change a host IP for a vRealize Log Insight server in agent configuration, the agent resets
page stats to zero.
Prerequisites
Verify that you are logged in to the vRealize Log Insight Web user interface as a user with the View
Admin permission. The URL format is [Link] where log-insight-host is the IP address or
host name of the vRealize Log Insight virtual appliance.
Procedure
VMware, Inc. 73
Administering vRealize Log Insight
Status information for each agent that sends data with CFAPI appears.
What to do next
You can use the information from the Agents page to monitor the operation of the installed vRealize Log
Insight Windows and Linux agents. Click the agent hostname to go to the Interactive Analytics page for
that host. After setting the hostname parameter from the LI Agent, and if default CFAPI proto is used and
points to a Log Insight instance, you can monitor the connection by opening the Agents statistics page
and verifying that the agent appears in the list of agents. You can use the links under the hostname
column to navigate to the Insight Agents page and check the logs coming from the mentioned Agent.
VMware, Inc. 74
8
Enable Agent Auto-Update from
the Server
You can enable auto-update for all agents from the vRealize Log Insight server.
Auto-update applies the latest available update to all agents connected to the server. You can disable the
auto-update feature for individual servers by editing the agent's [Link] file. For more information,
see Working with vRealize Log Insight Agents.
Prerequisites
Procedure
3 Click the toggle control for Enable Auto-update for all agents on the Agents page.
Results
VMware, Inc. 75
9
Centralized Agent
Configurations and Agent
Groups
Using the vRealize Log Insight server, you can configure agents from within the application's user
interface. Agents poll the vRealize Log Insight server regularly to determine if new configurations are
available.
You can group agents that require the same configuration. For example, you might group all vRealize Log
Insight Windows agents separately from the vRealize Log Insight Linux agents.
In the All Agents menu, existing agent groups from content packs are listed automatically. The agents
listed relate to content packs that you have already installed (for example the vSphere content pack),
which use agent groups. All user-created agent groups appear under Content Packs > Custom
Content, when you click My Content or Shared Content.
A user with at least a view-only admin role can export content packs with the agent group templates.
Note
n You cannot use the same content pack template more than once.
Only configuration sections beginning with [winlog], [filelog], and [parser] are used in content
packs. Additional sections are not exported as part of a content pack. Only single-line comments (lines
beginning with ; ) under the [winlog], [filelog], and [parser] sections, are preserved in a content
pack.
Note A single agent can belong to multiple agent groups and inherits all the settings from the centralized
agent configuration.
You can create a configuration for the All Agents group as described in Create an Agent Group. If an
agent is configured from the combination of a centralized agent configuration and another configuration,
the agent configuration is a result of merging both the configurations. For more information about
merging, see Agent Group Configuration Merging.
Note Use agent groups whenever possible, and avoid using the All Agents configuration unless needed.
VMware, Inc. 76
Administering vRealize Log Insight
See Working with vRealize Log Insight Agents for information about configuring agents and merging local
and server-side configurations.
Merging occurs server-side—and the resulting configuration is merged with the agent-side configuration.
The merged configuration is a result of the following rules.
n The individual group configurations have a higher priority and overrides the All Agents group settings.
n You cannot configure sections with the same name in different groups except with the All Agents
groups. However, the sections in individual groups have a higher priority.
Note To prevent agent loss, the hostname and port parameters of an agent configuration cannot be
changed centrally from the server.
The merged configuration is stored in the agent-side [Link] file. For windows
systems, this file is stored in %ProgramData%\VMware\Log Insight Agent and for Linux systems it is
stored in /var/lib/loginsight-agent/.
VMware, Inc. 77
Administering vRealize Log Insight
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
3 In the All Agents menu, Open the drop-down menu in the agent name field next to the Refresh
button and click New Group.
4 Provide a unique name and a description for the agent group and click New Group.
The agent group is created and appears in the All Agents list, but is not saved.
5 Specify one or more filters for the agent group. To create a filter, specify a field name, an operator,
and a value.
Filters can contain wildcards, such as * and ?. For example, you can select the OS filter contains and
specify the value windows to identify all your Windows agents for configuration.
a Choose one of the following fields to filter on:
n IP address
n hostname
n version
n OS
Operator Description
matches Finds strings that match the specified string and wildcard specification, where *
means zero or more characters and ? means any single character. Prefix and
postfix globbing is supported.
For example, *test* matches strings such as test123 or my-test-run.
does not match Excludes strings that match the specified string and wildcard specification,
where * means zero or more characters and ? means any single character.
Prefix and postfix globbing is supported.
For example, test* filters out test123, but does not exclude mytest123.
%test* does not filters out test123, but does exclude xtest123
starts with Finds strings that start with the specified character string.
For example, test finds test123 or test, but not my-test123.
does not start with Excludes strings that start with the specified character string.
For example, test filters out test123, but not my-test123.
6 Specify the agent configuration values in the Agent Configuration area and click Save New Group.
VMware, Inc. 78
Administering vRealize Log Insight
Results
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
3 In the All Agents menu, select the name of the appropriate agent group and click the pencil icon to
edit it.
Filters or Configuration Make the necessary changes and click Save Group.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
3 In the All Agents menu, select an agent template for the Available Templates list.
4 Click Copy Template to copy the content pack agent group to your active groups.
5 Click Copy.
VMware, Inc. 79
Administering vRealize Log Insight
Results
The content pack agent group is added to the active groups and the agents are configured according to
the filters that you specified.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
3 In the All Agents menu, select the name of the agent group to delete, by clicking the X icon next to
its name.
4 Click Delete.
Results
VMware, Inc. 80
10
Monitoring vRealize Log Insight
You can monitor the vRealize Log Insight virtual appliance and the hosts and devices that send log events
to vRealize Log Insight.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
3 If vRealize Log Insight is running as a cluster, click Show resources for and choose the node you
want to monitor.
VMware, Inc. 81
Administering vRealize Log Insight
4 Click the buttons on the System Monitor page to view the information that you need.
Option Description
Resources View information about the CPU, memory, IOPS (read and write activity), and
storage usage on the vRealize Log Insight virtual appliance.
The charts on the right represent historical data for the last 24 hours, and are
refreshed at five-minute intervals. The charts on the left display information for the
last five minutes, and are refreshed every three seconds.
Active Queries View information about the queries that are currently active in vRealize Log Insight.
Statistics View statistics about the log ingest operations and rates.
To view more detailed statistics, click Show advanced statistics.
What to do next
You can use the information from the System Monitor page to manage resources on the vRealize Log
Insight virtual appliance.
Entries in host tables expire three months after the last ingested event.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
Note If you have configured a vCenter Server to send events and alarms, but have not configured
the individual ESXi hosts to send logs, the Hostname column lists both the vCenter Server and the
individual ESXi hosts as the source instead of listing just the vCenter Server.
What to do next
Users with administrator privileges can set up a system notification that is sent when hosts have been
inactive. For more information, see Configure a System Notification to Report on Inactive Hosts.
VMware, Inc. 82
Administering vRealize Log Insight
You enable the notification from the Hosts screen and specify a threshold that triggers the notification.
You can apply this to all hosts or to smaller list of hosts.
Prerequisites
Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit Admin
permission. The URL format is [Link] where log-insight-host is the IP address or host
name of the vRealize Log Insight virtual appliance.
Procedure
Note If you have configured a vCenter Server to send events and alarms, but have not configured
the individual ESXi hosts to send logs, the Hostname column lists both the vCenter Server and the
individual ESXi hosts as the source instead of listing just the vCenter Server.
3 Select Inactive hosts notification on the Hosts page to display a form for configuring when and for
which hosts the notification should be sent.
4 Specify how long the host should be inactive before sending a notification.
Values can range from 10 minutes to the maximum of the host Time to Live (TTL) period, for which
the default is three months.
For example
Send alert listing hosts that are inactive for 8 hours of last received event.
VMware, Inc. 83
Administering vRealize Log Insight
5 You control which hosts are monitored for notification with the Inactive hosts notification whitelist
setting. When this setting is not selected, notifications are sent for all inactive hosts.
n To have notifications sent for all inactive hosts, clear the check box.
n To have notifications sent for only some inactive hosts, select Inactive hosts notification
whitelist and specify the host names in a comma-separated list.
6 Click Save.
Results
System notifications are sent to the address specified on the Configuration>SMTP Server page when a
host is inactive for longer than the specified limit.
VMware, Inc. 84
11
Integrating vRealize Log Insight
with VMware Products
vRealize Log Insight can integrate with other VMware products to use events and log data, and to provide
better visibility into events that occur in a virtual environment.
vRealize Log Insight and vRealize Operations Manager can be integrated in two independent ways.
Notification Events
vRealize Log Insight Administrator users can set up vRealize Log Insight to send notification events
to vRealize Operations Manager based on queries that you create. See Configure vRealize Log
Insight to Send Notification Events to vRealize Operations Manager.
Launch in Context
Launch in context is a feature in vRealize Operations Manager that lets you launch an external
application via URL in a specific context. The context is defined by the active UI element and object
selection. Launch in context lets the vRealize Log Insight adapter add menu items to a number of
different views within the Custom user interface and the vSphere user interface of vRealize
VMware, Inc. 85
Administering vRealize Log Insight
Operations Manager. See Enable Launch in Context for vRealize Log Insight in vRealize Operations
Manager.
Note Notification events do not depend on the launch in context configuration. You can send notification
events from vRealize Log Insight to vRealize Operations Manager even if you do not enable the launch in
context feature.
If the environment changes, vRealize Log Insight administrator users can change, add, or remove
vSphere systems from vRealize Log Insight, change or remove the instance of vRealize Operations
Manager to which alert notifications are sent, and change the passwords that are used to connect to
vSphere systems and vRealize Operations Manager.
n Configure vRealize Log Insight to Pull Events, Tasks, and Alarms from vCenter Server Instance
vRealize Log Insight can collect two types of data from vCenter Server instances and the ESXi hosts that
they manage.
n Events, tasks, and alerts are structured data with specific meaning. If configured,vRealize Log Insight
pulls events, tasks, and alerts from the registered vCenter Server instances.
n Logs contain unstructured data that can be analyzed in vRealize Log Insight. ESXi hosts or vCenter
Server Appliance instances can push their logs to vRealize Log Insight through syslog.
VMware, Inc. 86
Administering vRealize Log Insight
Prerequisites
n For the level of integration that you want to achieve, verify that you have user credentials with enough
privileges to perform the necessary configuration on the vCenter Server system and its ESXi hosts.
Note You must configure the permission on the top-level folder within the vCenter Server inventory,
and verify that the Propagate to children check box is selected.
n Verify that you know the IP address or domain name of the vCenter Server system.
n Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit
Admin permission. The URL format is [Link] where log-insight-host is the IP
address or host name of the vRealize Log Insight virtual appliance.
Procedure
3 Type the IP address and credentials for a vCenter Server, and click Test Connection.
4 (Optional) To register another vCenter Server, click Add vCenter Server and repeat steps 3 through
5.
Note Do not register vCenter Server systems with duplicate names or IP addresses. vRealize Log
Insight does not check for duplicate vCenter Server names. You must verify that the list of registered
vCenter Server systems does not contain duplicate entries.
5 Click Save.
What to do next
n Start collecting events, tasks, and alarms data from the vCenter Server instance that you registered.
See Configure vRealize Log Insight to Pull Events, Tasks, and Alarms from vCenter Server Instance.
n Start collecting syslog feeds from the ESXi hosts that the vCenter Server manages. See Configure an
ESXi Host to Forward Log Events to vRealize Log Insight.
VMware, Inc. 87
Administering vRealize Log Insight
The syslog server listens on ports 514/TCP, 1514/TCP, and 514/UDP, and is ready to ingest log
messages that are sent from other hosts. Messages that are ingested by the syslog server become
searchable in the vRealize Log Insight web user interface near real time. The maximum syslog message
length that vRealize Log Insight accepts is 10 KB.
You use the vRealize Log Insight Administration interface to configure ESXi hosts on a registered vCenter
Server to push syslog data to vRealize Log Insight.
Caution Running parallel configuration tasks might result in incorrect syslog settings on the target ESXi
hosts. Verify that no other administrative user is configuring the ESXi hosts that you intend to configure.
A vRealize Log Insight cluster can use an integrated load balancer to distribute ESXi and vCenter Server
Appliance syslog feeds between the individual nodes of the cluster.
For information on filtering syslog messages on ESXi hosts before messages are sent to vRealize Log
Insight, see the Configure Log Filtering on ESXi Hosts topic in the Setting Up ESXi section, of the
vSphere Installation and Setup guide.
For information on configuring syslog feeds from a vCenter Server Appliance, see Configure vCenter
Server to Forward Log Events to vRealize Log Insight.
Note vRealize Log Insight can receive syslog data from ESXi hosts version 5.5 and later.
Prerequisites
n Verify that the vCenter Server that manages the ESXi host is registered with your vRealize Log
Insight instance. Or, you can register the ESXi host and configure vCenter Server in a single
operation.
n Verify that you have user credentials with enough privileges to configure syslog on ESXi hosts.
n [Link] settings
Note You must configure the permission on the top-level folder within the vCenter Server inventory,
and verify that the Propagate to children check box is selected.
VMware, Inc. 88
Administering vRealize Log Insight
Procedure
3 In the vCenter Server table, locate the vCenter Server instance that manages the ESXi host from
which you want to receive syslog feeds and click Edit.
4 Select the Configure ESXi hosts to send logs to Log Insight check box in the opened edit view.
By default, vRealize Log Insight configures all reachable ESXi hosts of version 5.5 and later to send
their logs through UDP.
n To change the protocol for all ESXi hosts, select Configure all ESXi hosts, select a protocol, and
click OK.
n To set up specific ESX hosts logging only or to change the protocol for selected ESXi hosts, use
the following steps:
d Click OK.
6 (Optional) If you are using clusters, open the drop-down menu for the Target text box and select the
hostname or IP address for the load balancer that distributes syslog feeds.
7 Click Save.
What to do next
The ESXi host configurations are shown in the ESXi hosts configured column of the vCenter Server table.
If the hosts are configured, you can click View details in the hosts configured column to view detailed
information for the configured ESXi hosts.
You use the vRealize Log Insight Administration interface to configure ESXi hosts on a registered vCenter
Server to push syslog data to vRealize Log Insight.
Caution Running parallel configuration tasks might result in incorrect syslog settings on the target ESXi
hosts. Verify that no other administrative user is configuring the ESXi hosts that you intend to configure.
VMware, Inc. 89
Administering vRealize Log Insight
After the initial configuration is set up, you can enable an option to periodically look for and automatically
configure both existing and newly added vSphere ESXi hosts that are not configured yet. The currently
configured protocol is used to configure the ESXi hosts automatically.
A vRealize Log Insight cluster can use an integrated load balancer to distribute ESXi and vCenter Server
Appliance syslog feeds between the individual nodes of the cluster.
For information on filtering syslog messages on ESXi hosts before configured messages are sent to
vRealize Log Insight, see the Configure Log Filtering on ESXi Hosts topic in the Setting Up ESXi section,
of the vSphere Installation and Setup guide.
For information on configuring syslog feeds from a vCenter Server Appliance, see Configure vCenter
Server to Forward Log Events to vRealize Log Insight.
vRealize Log Insight can receive syslog data from ESXi hosts version 5.5 and later.
Prerequisites
n Verify that the vCenter Server that manages the ESXi host is registered with your vRealize Log
Insight instance.
n Verify that you have user credentials with enough privileges to configure syslog on ESXi hosts.
n [Link] settings
Note You must configure the permission on the top-level folder within the vCenter Server inventory,
and verify that the Propagate to children check box is selected.
Procedure
3 Select the Configure ESXi hosts to send logs to Log Insight check box.
5 To change the protocol for selected ESXi hosts, use the following steps:
b Verify that the current protocol is what you want, or select another protocol.
c To enable the automatic configuration of ESXi hosts with the currently configured protocol, select
Automatically configure all ESXi hosts. When enabled, vRealize Log Insight periodically looks
for and configures both existing and newly added vSphere ESXi hosts that are not configured yet.
d Click Configure to begin the configuration of the selected hosts. The ESXi dialog box closes.
f If you changed the protocol setting, click Save in the main window after you close the ESXi
configuration dialog box.
VMware, Inc. 90
Administering vRealize Log Insight
6 (Optional) If you are using clusters, you can specify a load balancer by opening the drop-down menu
for the Target text box on the vSphere Integration page and selecting the hostname or IP address
for the load balancer.
When you configure a notification alert in vRealize Log Insight, you select a resource in vRealize
Operations Manager that is associated with the notification events. See Add an Alert Query in Log Insight
to Send Notification Events to vRealize Operations Manager.
Listed below are sections of the vRealize Operations Manager UI where notification Events appear.
n Home > Recommendations dashboard > Top Health Alerts For Descendants widget
For additional information on where notification events appear, see the VMware vRealize Operations
Manager Documentation Center.
Configuration for vCenter Server 6.5 and later releases should be done through the vCenter Server
Appliance Management Interface. For more information about how to forward log events from vCenter
Server, see vSphere documentation about redirecting vCenter Server Appliance log files to another
machine.
For earlier versions of vSphere, although the vCenter Server Appliance does contain a syslog daemon
that could be used to route logs, the preferred method is to install a vRealize Log Insight agent.
For information about installing vRealize Log Insight agents, see Working with vRealize Log Insight
Agents.
The vSphere content pack contains agent groups defining specific log files to collect from vCenter Server
installations. The configuration is visible at [Link]
contentPackId=[Link].
For information about working with agent groups, see Chapter 9 Centralized Agent Configurations and
Agent Groups
For information about vCenter Server log file locations, see [Link] and
[Link]
VMware, Inc. 91
Administering vRealize Log Insight
You use the Administration UI to configure vRealize Log Insight to connect to vCenter Server systems.
The information is pulled from the vCenter Server systems by using the vSphere Web Services API and
appears as a vSphere content pack in the vRealize Log Insight web user interface.
Note that vSphere 6.5 has a new native high availability solution. For more information on HA and the use
of load balancers, see the white paper What's New in VMware vSphere 6.5 available on
[Link].
Note vRealize Log Insight can pull alarms, events, and tasks data only from vCenter Server 5.5 and
later.
Prerequisites
Note You must configure the permission on the top-level folder within the vCenter Server inventory, and
verify that the Propagate to children check box is selected.
Procedure
3 In the vCenter Server table, locate the vCenter Server instance from which you want to collect data.
4 Select the Collect vCenter Server events, tasks, and alarms check box in the opened edit view.
5 Click Save.
Results
vRealize Log Insight connects to the vCenter Server every two minutes and ingests all new information
since the last successful poll.
What to do next
n Analyze vSphere events using the vSphere content pack or custom queries.
VMware, Inc. 92
Administering vRealize Log Insight
vRealize Operations Manager supports both local user accounts and multiple LDAP sources. Both the
vRealize Operations Manager and VMware Identity Manager integrations are configured by the vRealize
Log Insight admin.
If your deployment uses a VMware Identity Manager integration in vRealize Log Insight, the VMware
Identity Manager fallback URL (Redirect URL Host) and the target field on the vRealize Operations
Manager integration page should have the exact same value.
Prerequisites
Verify that the integration user account has permissions to manipulate objects in vRealize Operations
Manager. See Minimum Required Permissions for a Local or Active Directory User Account.
Procedure
a Select Access Control from the vRealize Operations Manager web interface.
b Identify or create the integration user. The Source Type field is Local User.
c Note the value of the User Name field. You specify this user name when you configure the
integration in the vRealize Log Insight administration user interface.
u To determine the user name format for the LDAP user account that must be provided in vRealize Log
Insight, follow these instructions:
a Select Access Control from the vRealize Operations Manager web interface.
b Identify or create the integration user. Note the User Name and Source Type fields. For
example, a user named integration@[Link] from the source Active Directory - ad.
d Identify the authentication source corresponding to the Source Type from Step b. Note the
Source Display Name field. For example, "ad".
e The user name that entered in the vRealize Log Insight administration user interface is combined
from Step 3 and Step 5, in the form UserName@SourceDisplayName. For example,
integration@[Link]@ad.
If you assign permissions to a user for Launch in Context, the user can also configure alert integration.
Use the information in the alert integration table to assign permissions for alert integration only.
VMware, Inc. 93
Administering vRealize Log Insight
Create a custom role with the listed 1 Administration -> Rest APIs
permissions. a All other, Read, Write APIs
b Read access to APIs
Assign the preceding role to the local or 1 Adapter Instance -> vRealizeOpsMgrAPI [Check All]
Active Directory user (new or existing) 2 vSphere Hosts and Clusters [Check All]
and select objects/object hierarchies to 3 vSphere Networking [Check All]
assign.
4 vSphere Storage [Check All]
Create a custom role with the listed permissions. 1 Administration -> Rest APIs
a All other, Read, Write APIs
b Read access to APIs
c Delete resource
2 Administration -> Configuration -> Manage Resource
Relationships
3 Administration -> Resource Kind Management
a Create
b Edit
4 Administration -> Resource Management
a Create
b Delete
c Read
5 Administration -> Access -> Access Control -> Add, Edit, or
Delete a Role.
Assign the preceding role to the local or Active Directory user Select Allow Access to All Objects in the System.
(new or existing) and select objects/object hierarchies to assign.
You can integrate vRealize Log Insight with vRealize Operations Manager vApp and vRealize Operations
Manager Installable. Integrating with the Installable version requires additional changes to the vRealize
Operations Manager configuration. For information about configuring vRealize Operations Manager
Installable to integrate with vRealize Log Insight, see the Log Insight Getting Started Guide.
Integrating vRealize Log Insight alerts with vRealize Operations Manager allows you to view all
information about your environment in a single user interface.
VMware, Inc. 94
Administering vRealize Log Insight
You can send notification events from multiple vRealize Log Insight instances to a single vRealize
Operations Manager instance. You can enable launch in context for a single vRealize Log Insight instance
per vRealize Operations Manager instance.
vRealize Log Insight uses the vRealize Operations Manager REST API to create resources and
relationships in vRealize Operations Manager for configuring the launch-in-context adapter.
Prerequisites
n Create an integration user account in vRealize Operations Manager with required permissions. For
more information, see Requirements for Integrating With vRealize Operations Manager.
n Verify that you know the IP address or host name of the target vRealize Operations Manager
instance.
n Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit
Admin permission. The URL format is [Link] where log-insight-host is the IP
address or host name of the vRealize Log Insight virtual appliance.
Note In an environment running a vRealize Operations Manager cluster with a configured load balancer,
you can use the load balancer IP address if one is available.
Procedure
3 Type the IP address or host name of the master node or the load balancer if one is configured. Use a
vRealize Operations Manager user credential and click Test Connection. vRealize Log Insight uses
the credentials to push notification events to vRealize Operations Manager. Make sure that the
configured user has the minimum permissions required for the integration to work. See Minimum
Required Permissions for a Local or Active Directory User Account.
5 Click Save.
What to do next
n See relevant pages in the vRealize Operations Manager UI to view the notification events that
vRealize Log Insight sends.
You can integrate vRealize Log Insight with vRealize Operations Manager vApp and vRealize Operations
Manager Installable.
VMware, Inc. 95
Administering vRealize Log Insight
Integrating with vApp install and Installable (Windows, Linux) requires additional changes to the vRealize
Operations Manager configuration. See the topic about installing the vRealize Log Insight Management
Pack (Adapter) in vRealize Operations Manager 6.x and later in the vRealize Log Insight 4.0
documentation center.
Note that the vRealize Log Insight Management Pack is pre-installed in vRealize Operations Manager 6.0
and later and does not require configuration changes.
vRealize Operations Manager Installable (Windows version) is discontinued from vRealize Operations
Manager 6.5 and later.
Important One instance of vRealize Operations Manager supports launch in context for only one
instance of vRealize Log Insight. Because vRealize Log Insight does not check whether other instances
are already registered with vRealize Operations Manager, you might override the settings of another user.
Prerequisites
n Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit
Admin permission. The URL format is [Link] where log-insight-host is the IP
address or host name of the vRealize Log Insight virtual appliance.
n Verify that you know the IP address or host name of the target vRealize Operations Manager
instance.
n Verify that you have the required user credentials. See Minimum Required Permissions for a Local or
Active Directory User Account.
n If you are using vRealize Operations Manager 6.5 or later, use the procedure for enabling launch in
context in the vRealize Operations Manager 6.5 information center.
Procedure
3 Type the IP address or FQDN of the vRealize Operations Manager master node or load balancer if
one is configured and click Test Connection.
Note For Launch in Context functionality, you must provide a vRealize Operations Manager user
with administrator privileges.
4 Click Save.
Results
vRealize Log Insight configures the vRealize Operations Manager instance. This operation might take a
few minutes.
Items related to vRealize Log Insight appear in the menus of vRealize Operations Manager.
VMware, Inc. 96
Administering vRealize Log Insight
What to do next
Launch a vRealize Log Insight query from the vRealize Operations Manager instance. See vRealize Log
Insight Launch in Context
The resource identifier contains the IP address of the vRealize Log Insight instance, and is used by
vRealize Operations Manager to open vRealize Log Insight.
Launch in Context in the vSphere User Interface of vRealize Operations Manager 6.4 and
Earlier
The launch in context options that are related to vRealize Log Insight appear in the Actions drop-down
menu of the vSphere user interface. You can use these menu items to open vRealize Log Insight, and
search for log events from an object in vRealize Operations Manager.
The available launch in context action depends on the object that you select in vRealize Operations
Manager inventory. The time range of the queries is limited to 60 minutes before you click a launch in
context option.
Table 11-3. Objects in vRealize Operations Manager UI and Their Corresponding Launch in
Context Options and Actions
Object selected in
vRealize
Operations Launch in Context Option in the Action in vRealize
Manager Actions Drop-Down Menu Operations Manager Action in vRealize Log Insight
World Open vRealize Log Insight Opens vRealize Log Insight. vRealize Log Insight displays the
Interactive Analytics tab.
vCenter Server Open vRealize Log Insight Opens vRealize Log Insight. vRealize Log Insight displays the
Interactive Analytics tab.
Data center Search for logs in vRealize Log Opens vRealize Log Insight vRealize Log Insight displays the
Insight and passes the resource Interactive Analytics tab and
names of all host systems performs a query to find log events
under the selected data that contain names of hosts within
center object. the data center.
Cluster Search for logs in vRealize Log Opens vRealize Log Insight vRealize Log Insight displays the
Insight and passes the resource Interactive Analytics tab and
names of all host systems performs a query to find log events
under the selected Cluster that contain names of hosts within
object. the cluster.
VMware, Inc. 97
Administering vRealize Log Insight
Table 11-3. Objects in vRealize Operations Manager UI and Their Corresponding Launch in
Context Options and Actions (continued)
Object selected in
vRealize
Operations Launch in Context Option in the Action in vRealize
Manager Actions Drop-Down Menu Operations Manager Action in vRealize Log Insight
Host System Search for logs in vRealize Log Opens vRealize Log Insight vRealize Log Insight displays the
Insight and passes the resource Interactive Analytics tab and
name of the selected Host performs a query to find log events
object. that contain the name of the
selected Host system.
Virtual Machine Search for logs in vRealize Log Opens vRealize Log Insight vRealize Log Insight displays the
Insight and passes the IP address Interactive Analytics tab and
of the selected virtual performs a query to find log events
machine and the resource that contain the IP address of the
name of the related host virtual machine, and the name of the
system. host where the virtual machine
resides.
On the Alerts tab, if you select an alert and select Search for logs in Log Insight from the in-context
menu, the time range of the query is limited to one hour before the alert is triggered. For example, if an
alert was triggered at 2:00 PM, the query in vRealize Log Insight displays all log messages that occurred
between 1:00 PM and 2:00 PM. This helps you identify events that might have triggered the alert.
You can open vRealize Log Insight from metric charts in vRealize Operations Manager. The time range of
the query thatvRealize Log Insight runs matches the time range of the metric chart.
Note The time that you see in vRealize Log Insight and vRealize Operations Manager metric charts
might differ if the time setting of the virtual appliances is different.
Launch in Context in the vRealize Operations Manager 6.4 and Earlier User Interface
The launch in context icon appears on several pages of the user interface, but you can launch
vRealize Log Insight only from the pages that display vRealize Log Insight notification events:
n The Alerts widgets on your dashboards, when a vRealize Log Insight notification alert is selected.
When you select a vRealize Log Insight notification event in the Custom user interface, you can choose
between two launch in context actions.
VMware, Inc. 98
Administering vRealize Log Insight
Table 11-4. Launch in Context Options and Actions in vRealize Operations Manager UI
Launch in Context Option in vRealize Action in vRealize Operations
Operations Manager Manager Action in vRealize Log Insight
Open vRealize Log Insight Opens vRealize Log Insight. vRealize Log Insight displays the
Dashboards tab and loads the vSphere
Overview dashboard.
Search for Logs in vRealize Log Insight Opens vRealize Log Insight and vRealize Log Insight displays the
passes the ID of the query that Interactive Analytics tab and performs the
triggered the notification event. query that triggered the notification event.
When you select an alert that has not originated from vRealize Log Insight, the launch in context menu
contains the Search for VM and Host Logs in vRealize Log Insight menu item. If you select this menu
item, vRealize Operations Manager opens vRealize Log Insight and passes the identifiers of the object
that triggered the alert. vRealize Log Insight uses the resource identifiers to perform a search in the
available log events.
If you integrate vRealize Log Insight with vRealize Operations Manager, you can perform a Launch in
Context from a vRealize Log Insight event by selecting the gear icon to the left of the event and selecting
the option to view in vRealize Operations Manager.
For information about Launch in Context from vRealize Operations Manager to vRealize Log Insight, see
vRealize Log Insight Launch in Context.
Procedure
2 Locate an event that contains inventory mapping fields and hover over the event.
3 Click the gear icon and select Open Analysis in vRealize Operations Manager from the drop-down
menu.
A new browser tab opens directing you to the vRealize Operations Manager instance integrated with
vRealize Log Insight. Once you authenticate, you are directed to the Environment > Analysis
section of vRealize Operations Manager with the object selected.
Note When multiple vRealize Log Insight instances are connected to the same vRealize Operations
Manager instance, only the last vRealize Log Insight instance integrated with vRealize Operations
Manager has the Launch in Context feature. This also means that the Launch in Context feature is
overridden whenever a vRealize Log Insight instance is integrated with a vRealize Operations
Manager instance that was previously integrated with a different vRealize Log Insight instance.
VMware, Inc. 99
Administering vRealize Log Insight
You use the Administration UI of vRealize Log Insight to disable launch in context. If you do not have
access to vRealize Log Insight or if the vRealize Log Insight instance is deleted before the connection
with vRealize Operations Manager is disabled, you can unregister vRealize Log Insight from the
Administration UI of vRealize Operations Manager. See the Help in the vRealize Operations Manager
Administration portal.
Caution One instance of vRealize Operations Manager supports launch in context for only one instance
of vRealize Log Insight. If another instance of vRealize Log Insight has been registered after you
registered the instance that you want to disable, the second instance overrides the settings of the first one
without notifying you.
Prerequisites
n Verify that you are logged in to the vRealize Log Insight web user interface as a user with the Edit
Admin permission. The URL format is [Link] where log-insight-host is the IP
address or host name of the vRealize Log Insight virtual appliance.
Procedure
4 Click Save.
Results
vRealize Log Insight configures the vRealize Operations Manager instance to remove the vRealize Log
Insight adapter. This operation might take a few minutes.
Adding a DNS search path and domain improves matching when a virtual machine label and search
domain resolve to the IP address of the host that sends log messages to vRealize Log Insight. For
example, if you have a virtual machine named linux_01 in vRealize Operations Manager and the host
name linux_01.[Link] resolves to [Link], then adding a search domain allows vRealize
Log Insight to recognize and match that resource.
Procedure
For domain keys, use the same values, substituting DNS domain for Label and domain for Key ID.
6 Set the DNS search path and domain. For example, [Link].
What to do next
After vRealize Log Insight boots, you can validate the DNS configuration by logging in and viewing the
contents of the /etc/[Link] file. You should see the search and domain options near the end of
the file.
The instance of the adapter remains in the vRealize Operations Manager instance when you uninstall
vRealize Log Insight. As a result, the launch in context menu items continue to appear in the actions
menus, and point to a vRealize Log Insight instance that no longer exists.
To disable the launch in context functionality in vRealize Operations Manager, you must remove the
vRealize Log Insight adapter from the vRealize Operations Manager instance.
You can use the command line utility cURL to send REST calls to vRealize Operations Manager.
Note These steps are only required if Launch in Context was enabled.
Prerequisites
n Verify that cURL is installed on your system. Note that this tool is preinstalled in the vRealize
Operations Manager virtual appliance and the steps can be performed from the appliance using IP
address [Link].
n Verify that you know the IP address or host name of the target vRealize Operations Manager
instance.
n Depending on the vRealize Operations Manager license that you own, verify that you have the
minimum credentials required to remove the management pack. See Minimum Required Permissions
for a Local or Active Directory User Account.
Procedure
1 In cURL, run the following query on the vRealize Operations Manager virtual appliance to find the
vRealize Log Insight adapter.
Where admin is the administrator login name and ipaddress is the IP address (or hostname) of the
vRealize Operations Manager instance. You are prompted to enter the password for the user: admin.
From the curl output find the GUID value assigned to the identifier: <ops:resource
creationTime="{TIMESTAMP}" identifier=“{GUID}”>. You can use this GUID value in the
below command that removes the adapter instance.
2 Run the following command to remove the vRealize Log Insight adapter.
Where admin is the administrator login name and ipaddress is the IP address (or hostname) of the
vRealize Operations Manager instance. You are prompted to enter the password for the user: admin.
Results
vRealize Log Insight launch in context items are removed from the menus in vRealize Operations
Manager. For more information about launch in context, see the topic vRealize Log Insight Launch in
Context of the vRealize Log Insight in-product help.
The vRealize Operations Manager content pack provides a way to analyze all logs redirected from a
vRealize Operations Manager instance. The content pack contains dashboards, queries, and alerts to
provide diagnostics and troubleshooting capabilities to the vRealize Operations Manager administrator.
The dashboards are grouped according to the major components of vRealize Operations Manager such
as Analytics, UI, and Adapters to provide better manageability. You can enable various alerts to send
notification events in vRealize Operations Manager and emails to administrators.
You can download the vRealize Operations Manager content pack from https://
[Link]/store/loginsight?src=Product_Product_LogInsight_YES_US.
Use vRealize Log Insight features to safeguard your environment from attack.
Communication Ports
vRealize Log Insight uses the communication ports and protocols listed in this topic. The required ports
are organized based on whether they are required for sources, for the user interface, between clusters,
for external services, or whether they can be safely blocked by a firewall. Some ports are used only if you
enable the corresponding integration.
Note vRealize Log Insight does not support WAN clustering (also called geo-clustering, high-availability
clustering, or remote clustering). All nodes in the cluster should be deployed in the same Layer 2 LAN. In
addition, the ports described in this section must be opened between nodes for proper communication.
Admin Workstation
The machine that a system administrator uses to manage the vRealize Log Insight virtual appliance
remotely.
User Workstation
The machine on which a vRealize Log Insight user uses a browser to access the Web interface of
vRealize Log Insight.
The endpoint that sends logs to vRealize Log Insight for analysis and search. For example, endpoints
include ESXi hosts, virtual machines or any system with an IP address.
The agent that resides on a Windows or Linux machine and sends operating system events and logs
to vRealize Log Insight over APIs.
Any vRealize Log Insight virtual appliance, master or worker, where the vRealize Log Insight services
reside. The base operating system of the appliance is SUSE 11 SP3.
System sending logs vRealize Log Insight 514 TCP, UDP Outbound syslog traffic
appliance configured as a
Forwarder destination
System sending logs vRealize Log Insight 1514, 6514 TCP Syslog data over SSL
appliance
vRealize Log Insight vRealize Log Insight 9000 TCP Log Insight Ingestion
Agents appliance API
vRealize Log Insight vRealize Log Insight 9543 TCP Log Insight Ingestion
Agents appliance API over SSL
User Workstation vRealize Log Insight 443 TCP HTTPS: Web interface
appliance
vRealize Log Insight vRealize Log Insight 7000 TCP Cassandra replication
appliance appliance and query
vRealize Log Insight vRealize Log Insight 9042 TCP Cassandra service for
appliance appliance native protocol clients
vRealize Log Insight vRealize Log Insight 9160 TCP Cassandra service for
appliance appliance Thrift clients
vRealize Log Insight vRealize Log Insight 59778, 16520–16580 TCP vRealize Log Insight
appliance appliance Thrift service
vRealize Log Insight NTP server 123 UDP NTPD: Provides NTP
appliance time synchronization
vRealize Log Insight Mail Server 25 TCP SMTP: mail service for
appliance outbound alerts
vRealize Log Insight Mail Server 465 TCP SMTPS: mail service
appliance over SSL for outbound
alerts
vRealize Log Insight DNS server 53 TCP, UDP DNS: name resolution
appliance service
vRealize Log Insight vCenter Server 443 TCP vCenter Server Web
appliance Service
vRealize Log Insight Third-party log 514 TCP, UDP syslog data
appliance manager
vRealize Log Insight Third-party log 9000 CFAPI Outbound Log Insight
appliance manager Ingestion API (CFAPI)
traffic configured as a
Forwarder destination
vRealize Log Insight Third-party log 9543 CFAPI Outbound Log Insight
appliance manager Ingestion API (CFAPI)
traffic configured as a
Forwarder destination
with encryption (SSL/
TLS)
vRealize Log Insight appliance 111 TCP, UDP RPCbind service that converts
RPC program numbers into
universal addresses.
Note All security-related resources are accessible by the root account. Protecting this account is critical
to the security of vRealize Log Insight.
Note All security-related resources are accessible by the root account. Protecting this account is critical
to the security of vRealize Log Insight.
n /usr/lib/loginsight/application/etc/[Link]
n /usr/lib/loginsight/application/etc/[Link]
n /usr/lib/loginsight/application/etc/3rd_config/keystore
n /usr/lib/loginsight/application/etc/truststore
n /usr/lib/loginsight/application/3rd_party/apache-tomcat-*/conf/keystore
Note All security-related resources are accessible by the root account. Protecting this account is critical
to the security of vRealize Log Insight.
File Location
License /usr/lib/loginsight/application/etc/license/loginsight_dev.dlf
License /usr/lib/loginsight/application/etc/license/loginsight_cpu.dlf
File Location
License /usr/lib/loginsight/application/etc/license/loginsight_osi.dlf
If you need information on log rotation or log archiving for these files, see Log Rotation Schemes
Supported by vRealize Log Insight Agents in Working with vRealize Log Insight Agents and Enable or
Disable Data Archiving in vRealize Log Insight in Administering vRealize Log Insight.
File Description
/storage/var/loginsight/[Link] Used to track information about user-defined alerts that have been
triggered.
/storage/var/loginsight/plugins/vsphere/li- Used to trace events related to integration with vSphere Web Client.
[Link]
/storage/var/loginsight/ Used for the standard output of vRealize Log Insight daemon.
loginsight_daemon_stdout.log
/storage/var/loginsight/[Link] Used to track information about trace data collection sent to VMware
(if enabled).
/storage/var/loginsight/[Link] Used to track all run time information related to vRealize Log Insight.
/var/log/firstboot/[Link] Used to track the events that occur at first boot and configuration of
the vRealize Log Insight virtual appliance.
/storage/var/loginsight/[Link] Used to track information about system notifications that vRealize Log
Insight sends. Each alert is listed as a JSON entry.
/storage/var/loginsight/[Link] Used to track events related to the vRealize Log Insight user
interface.
/storage/var/loginsight/ui_runtime.log Used to track runtime events related to the vRealize Log Insight user
interface.
/storage/var/loginsight/[Link] Used to track events that occur during vRealize Log Insight upgrade.
File Description
/storage/var/loginsight/watchdog_log* Used to track the run time events of the watch dog process, which is
responsible for restarting vRealize Log Insight if it is shutdown for
some reason.
/storage/var/loginsight/pattern_matcher.log Used to track the pattern matching times and timeouts for field
extraction.
Note
n Some logs are available in debug level. For information about enabling the debug level for each node,
see Enable Debug Level for User Audit Log Messages.
n Each node in a vRealize Log Insight cluster has its own ui_runtime.log file. You can examine the
log files of the nodes to monitor the cluster.
Prerequisites
Verify that you have the root user credentials to log in to the vRealize Log Insight virtual appliance.
Procedure
2 For the appender with the name UI_RUNTIME_FILE, update the Threshold parameter value to DEBUG:
<appenders>
<appender name="UI_RUNTIME_FILE"
class="[Link]">
<param name="Threshold" value="DEBUG"/>
</appender>
</appenders>
3 Add a new logger for LoginActionBean with the DEBUG login level:
<loggers>
<logger name="[Link]" level="DEBUG"
appender="UI_RUNTIME_FILE" additivity="false"/>
</loggers>
Unless you set the root password property during deployment, the default root password is blank. You
must change the root password when you log in to the vRealize Log Insight console for the first time.
n Must contain at least one uppercase letter, one lowercase letter, one digit, and one special character
The default password for admin is blank. You must change the admin password in the Web user interface
during the initial configuration of vRealize Log Insight.
The Web user interface admin user has the administrator privileges only to the vRealize Log Insight web
user interface.
Required Ports
The following ports need to be open to network traffic from sources that send data to vRealize Log
Insight.
Port Protocol
The following ports need to be open to network traffic that needs to use the vRealize Log Insight UI.
Port Protocol
80/TCP HTTP
443/TCP HTTPS
The following set of ports should only be open on a vRealize Log Insight master node for network access
from worker nodes for maximum security.
Port Protocol
VMware releases patches to address security issues in maintenance releases. You can download these
patches from the vRealize Log Insight download page.
Before you apply an upgrade or patch to the guest operating system, consider the dependencies. See
Chapter 6 Ports and External Interfaces .
To guard against expensive data center downtime, follow these best practices for performing vRealize
Log Insight backup, restoration, and disaster recovery operations.
n Verify Restorations
n Disaster Recovery
Use the backup, restore, and disaster recovery information in this document for vRealize Log Insight
components, including the master node, worker node and forwarder.
n For information about master and worker cluster members, including configuration, log data and
customization, see Backup Nodes and Clusters.
n For information about Linux or Windows agent local configuration, see Backup Linux or Windows
Agents.
The information in this document does not apply to the following tools and products. You must to obtain
information about these tools and products from multiple resources.
n Third-party tools that are specifically used for backup, restore, and disaster recovery. For more
information, see the vendor documentation.
n vSphere Data Protection, Site Recovery Manager, and Symantec NetBackup. For additional
information on VMware BCDR solutions, see [Link]
[Link].
n Backup, restore, and disaster recovery capability for products that integrate with vRealize Log Insight.
n ESXi hosts
vRealize Log Insight includes all node IP addresses in each cluster node configuration file as described in
Knowledge Base article 2123058
All products that integrate with vRealize Log Insight (ESXi, vSphere, vRealize Operations) use the cluster
master node's fully qualified domain name (FQDN) or IP address as the syslog target. Those products
might use the FQDN or IP address of the load balancer, if configured, as the syslog target. Static IP
addresses reduce the risk of constantly updating the syslog target IP address in multiple locations.
Provide static IP addresses and optional virtual IP addresses for the load balancer. When configuring an
integrated load balancer, provide the optional FQDN for the virtual IP address. The FQDN is used when
an IP address is not reachable for any reason.
FQDN for vRealize Log Insight Cluster Nodes and Worker Node
When you use an FQDN for all nodes in the vRealize Log Insight cluster, you can save time on post-
restoration and recovery configuration changes, assuming that the same FQDN can be resolved on the
recovery site.
For the master node (load balancer when used), a fully resolvable FQDN is required. Otherwise, the ESXi
hosts fail to feed the syslog messages to vRealize Log Insight or to any remote target.
For system notifications, vRealize Log Insight uses FQDN host names, if available, instead of IP
addresses.
You can reasonably assume that only underlying IP addresses change post-backup and restoration or
disaster recovery operations. Using FQDN eliminates the need to change the syslog target address
(master node FQDN or internal load balancer FQDN) on all the external devices that feed logs to the
vRealize Log Insight cluster.
Verify that join requests from a vRealize Log Insight worker node use the FQDN of the vRealize Log
Insight master node.
The master node host value in the configuration file on each of the nodes is based on the value used by
the first worker node sending a join request. Using the FQDN of the master node for the join request
prevents making any manual changes to the master node host value post-disaster recovery. Otherwise,
the worker nodes cannot rejoin the master node until the master node host name is updated in the
configuration files on all restored cluster nodes.
The following recommendations should be included in a backup, restoration, and disaster recovery plan.
Perform a full backup of the entire vRealize Log Insight cluster. Do not rely on automatic procedures to
back up individual files and configurations.
Verify Fixes
Verify that fixes are implemented and warnings and errors are addressed before performing backup,
restoration, and disaster recovery operations. Backup, restoration, and disaster recovery tools usually
provide visual validations and steps to ensure that backup, restoration, and disaster recovery
configurations are successfully created.
Scheduling Backups
Depending on the cluster configuration, the first backup operation is usually a full backup. You should
allow for an extended period of time for the first backup to complete. Successive backups, which can be
incremental or full backups, finish relatively faster compared to the first backup operation.
Verify that you are following the tool-specific best practices and recommendations for third-party backup,
restoration, and disaster recovery tools.
For virtual machines deployed using VMware products, use additional tools that can provide special
features and configurations to support backup, restoration, and disaster recovery.
Based on the customer requirements, you might have a single or multiple vRealize Log Insight
forwarders. In addition, the forwarders can be installed as a standalone node or as a cluster. For the
purpose of backup, restoration, and disaster recovery operations, vRealize Log Insight forwarders are
identical to the primary vRealize Log Insight cluster nodes and handled the same way.
Prerequisites
n Verify that no configuration problems exist on source and target sites before performing the backup or
replication operations.
In configurations with reasonable ingestion and query loads, the memory and swap usage can reach
almost 100% capacity during backup and replication operations. Because memory is near capacity in
a live environment, part of the memory spike is due to the vRealize Log Insight cluster usage. Also,
the scheduled backup and replication operations can contribute significantly to the memory spike.
In some cases, worker nodes are disconnected momentarily for 1 to 3 minutes before rejoining
master nodes, possibly because of high memory usage.
n Reduce the memory throttling on vRealize Log Insight nodes by doing one or both of the following:
n Allocate additional memory over the vRealize Log Insight recommended configurations.
Procedure
1 Enable regular backup or replication of vRealize Log Insight forwarders by using the same
procedures that you use for the vRealize Log Insight server.
2 Verify that the backup frequency and backup types are appropriately selected based on the available
resources and customer-specific requirements.
3 If the resources are not a problem and if it is supported by the tool, enable concurrent cluster node
backups to speed up the backup process.
What to do next
Monitoring—As the backup is in progress, check any environment or performance problems in the
vRealize Log Insight setup. Most backup, restore, and disaster recovery tools provide monitoring
capabilities.
During the backup process, check all the relevant logs on the production system because the user
interface might not display all problems.
Agents are typically installed on Linux or Windows systems that also used for some other application or
service and might be included in existing backup procedures. A full file-level or block-level backup of the
machine that includes the entire agent installation and its configuration is sufficient for recovery. Agents
support both local and server-provided configuration.
If the agent is configured entirely from the vRealize Log Insight server, without any local change to the
[Link] configuration file, you can avoid creating a backup of the agent installation at all. Instead,
perform a fresh installation of the agent and retrieve the server backup.
If the agent has a custom local configuration, backup the [Link] file and restore it along with a
fresh installation of the agent. If you use the agent nodes for more than installing the agent software and if
these nodes need a full backup, follow the same backup procedure as for any other virtual machine.
If the agent configuration is done on the client side (on the agents) and if the agent nodes are used only
for vRealize Log Insight agent software installation, making a backup of the agent configuration file is
sufficient.
Prerequisites
Verify that the agent configuration is on the vRealize Log Insight server side.
Procedure
2 Replace the file on the recovered agent or Linux or Windows machine with the backup file.
Depending on the tool used for restoring, you can restore the virtual machines to the same host, a
different host on the same data center, or a different host on a target remote data center. See Changing
Configurations After Restoration
Prerequisites
n Verify that the restored nodes are in the powered off state.
n Verify that the cluster instances are powered off before restoring the cluster to a new site.
n Verify that no split-brain behavior occurs when the same IP addresses and FQDNs are used on the
recovery site.
n Verify that no one is accidentally using a partially working cluster on the primary site.
Procedure
Be sure the vRealize Log Insight server (the master node and all the worker nodes in a cluster setup)
are restored before restoring the forwarders.
What to do next
n When restoring a vRealize Log Insight cluster, if the same IP addresses are used, verify that all
restored node IP addresses and FQDNs are associated with their original counterparts.
For example, the following scenario would fail. In a three-node cluster with nodes A, B, and C, node A
is restored with IP address B, node B is restored with IP address C, and node C is restored
with IP address A.
n If the same IP addresses are used for only a subset of restored nodes, verify that for these
nodes, all restored images are associated with their original IP addresses.
n Most backup restoration and disaster recovery tools provide a monitoring view for watching the
progress of the restoration operations for failures or warnings. Take appropriate actions on any
identified problems.
n If manual configuration changes are required before the site can be fully restored, follow
the guidelines in the Changing Configurations After Restoration.
n When a successful restoration is finished, perform a spot check of the cluster that was restored.
Prerequisites
Procedure
1 Power off the existing cluster before beginning the restoration operation. By default, the same IP
addresses and FQDNs are used for the restored cluster nodes.
During the restoration process, the original copy of the cluster is overwritten with the restored version
unless a new name is provided to the virtual machine.
3 (Optional) If possible, verify that all network, IP, and FQDN settings that are used for the production
environment are preserved in the restored and recovered site.
What to do next
After a successful restoration and a sanity check, delete the old copy to conserve resources and to
prevent accidental split-brain situations if a user powers on the old copy.
Making changes to the configuration files directly from the appliance console is not officially supported in
vRealize Log Insight 3.0 and later releases. See Knowledge Base article 2123058 for information about
how to make these changes by using the Web UI interface.
These configuration changes are specific to vRealize Log Insight builds that can be used with any backup
recovery tool.
Recovering to a different host requires manual configuration changes on the vRealize Log Insight cluster.
You can assume that the restored vRealize Log Insight nodes have different IP addresses and FQDNs
than their source counterparts from which a backup was taken.
Prerequisites
Procedure
1 List all new IP addresses and FQDNs that were assigned to each vRealize Log Insight node.
2 Make the following configuration changes on the master node by using the steps described in
Knowledge Base article 2123058.
a In the vRealize Log Insight config section, look for lines that resemble the following lines.
<distributed overwrite-children="true">
<daemon host="[Link]" port="16520" token="c4c4c6a7-f85c-4f28-
a48f-43aeea27cd0e">
<service-group name="standalone" />
</daemon>
<daemon host="[Link]" port="16520" token="a5c65b52-aff5-43ea-8a6d-38807ebc6167">
<service-group name="workernode" />
</daemon>
<daemon host="[Link]" port="16520" token="a2b57cb5-a6ac-48ee-8e10-17134e1e462e">
<service-group name="workernode" />
</daemon>
</distributed>
The code shows three nodes. The first node is the master node, which shows <service-group
name=standalone>, and the remaining two nodes are worker nodes, which show <service-
group name="workernode">
b For the master node, in the newly recovered environment, verify that the DNS entry that was
used in the pre-recovery environment can be reused.
n If the DNS entry can be reused, update only the DNS entry to point to the new IP address of
the master node.
n If the DNS entry cannot be reused, replace the master node entry with a new DNS name
(pointing to the new IP address).
n If the DNS name cannot be assigned, as a last option, update the configuration entry with the
new IP address.
c Update the worker node IP addresses as well to reflect the new IP addresses.
d In the same configuration file, verify that you have entries that represent NTP, SMTP, and
database and appenders sections.
<ntp>
<ntp-servers value="[Link], [Link]" />
</ntp>
<smtp>
<server value="[Link]" />
<default-sender value="[Link]@[Link]" />
</smtp>
<database>
<password value="xserttt" />
<host value="[Link]" />
<port value="12543" />
</database>
n If the configured NTP server values are no longer valid in the new environment, update these
values in the <ntp>...</ntp> section
n If the configured SMTP server values are no longer valid in the new environment, update
these values in the <smtp>...</smtp> section.
n Optionally, change the default-sender value in the SMTP section. The value can be any
value but as a good practice, represent the source from where the email is being sent.
n In the <database>..</database> section, change the host value to point to the master
node FQDN or IP address.
e In the same configuration file, update the vRealize Log Insight ILB configuration section.
<load-balancer>
<leadership-lease-renewal-secs value="5" />
<high-availability-enabled value="true" />
<high-availability-ip value="[Link]" />
<high-availability-fqdn value="[Link]" />
<layer4-enabled value="true" />
<ui-balancing-enabled value="true" />
</load-balancer>
g Ensure that you also update the FQDN of the load balancer.
h Restart from the Web UI through the Cluster tab on the Administration page. For each node
listed, select its host name or IP address to open the details panel and click Restart Log Insight.
i Wait 2 minutes after the vRealize Log Insight service starts to allow enough time for the
Cassandra service to start before bringing other worker nodes online.
What to do next
Verify that the restored vRealize Log Insight nodes have been assigned different IP addresses and
FQDNs than their source counterparts from which a backup was taken.
Verify Restorations
You must verify that all restored vRealize Log Insight clusters are fully functional.
Prerequisites
Confirm that the backup and restoration process is complete before verifying node and cluster
configurations.
Procedure
1 Log in to vRealize Log Insight using the internal load balancer (ILB) IP address or the FQDN (if
configured).
a Verify that you can access all individual cluster nodes using the respective IP addresses or
FQDNs.
b Verify the status of cluster nodes from the cluster page and ensure that the ILB, if configured, is
also in an active state.
c Verify the vSphere integration. If required, reconfigure the integration. Reconfiguration is required
when the ILB and/or the master node IP address or FQDN is changed post-recovery.
d Verify the vRealize Operations Manager integration and reconfigure again if needed.
e Verify that all content packs and UI features are functioning properly.
f Verify that vRealize Log Insight forwarders and agents are functioning properly, if configured.
4 Verify that other key features of vRealize Log Insight are functioning as expected.
What to do next
Make any necessary adjustments to your backup and recovery plan to address any issues that may have
been identified during your backup, restoration, and verification operations.
Disaster Recovery
A well-documented and well-tested recovery plan is essential to quickly returning a cluster to a working
state.
The choice of replication type is critical when configuring a virtual machine for disaster recovery. Consider
the Recovery Point Objective (RPO), the Recovery Time Objective (RTO), and the cost and scalability
when deciding on a replication type.
In a disaster recovery scenario, sometimes you cannot restore to the same site if the primary site is fully
down. But based on the option you choose, some manual steps are required to fully restore and return
the vRealize Log Insight cluster to a running state.
Unless the vRealize Log Insight cluster is fully down and inaccessible, verify that the cluster instances are
powered off before restoring the cluster to a new site.
During an outage or disaster, recover the vRealize Log Insight cluster as soon as possible.
You can solve common problems related to vRealize Log Insight administration before calling VMware
Support Services.
n Use the Virtual Appliance Console to Create a Support Bundle of vRealize Log Insight
n Upgrade Fails Because the Signature of the .pak file Cannot Be Validated
n Missing vmw_object_id Field in the First Log Message After Integration with VMware Products
Problem
The vRealize Log Insight web client requires LocalStorage or DOM storage support, but your filesystem
integrity level prohibits Internet Explorer from using LocalStorage. The console and debugger display the
error SCRIPT5: Access is Denied.
Cause
vRealize Log Insight cannot access LocalStorage or DOM Storage support. Internet Explorer keeps this
storage data in the folder set with the CachePath parameter, nominally at %USERPROFILE%\AppData
\LocalLow\Microsoft\Internet Explorer\DOMstore. If this folder has an integrity level other than
low, Internet Explorer is unable to use LocalStorage.
Solution
You can use the following command to set the integrity level of a user account.
Problem
vRealize Log Insight runs out of disk space if the rate of incoming logs exceeds 3 percent of the storage
space per minute.
Cause
In normal situations, vRealize Log Insight never runs out of disk because every minute it checks if the free
space is less than 3 percent. If the free space on the vRealize Log Insight virtual appliance drops below 3
percent, old data buckets are retired.
However, if the disk is small and log ingestion rate is so high that the free space (3 percent) is filled out
within 1 minute, vRealize Log Insight runs out of disk.
If archiving is enabled, vRealize Log Insight archives the bucket before retiring it. If the free space is filled
before the old bucket is archived and retired, vRealize Log Insight runs out of disk.
Solution
u Increase the storage capacity of the vRealize Log Insight virtual appliance. See Increase the Storage
Capacity of the vRealize Log Insight Virtual Appliance.
Problem
The vRealize Log Insight repository import utility does not check for available disk space on the vRealize
Log Insight virtual appliance. Therefore, the import of archived logs might fail if the virtual appliance runs
out of disk space.
Solution
Increase the storage capacity of the vRealize Log Insight virtual appliance and start the import again.
Increase the Storage Capacity of the vRealize Log Insight Virtual Appliance. Note, though, that
information that was successfully imported before failure will be duplicated.
Prerequisites
n Verify that you have the root user credentials to log in to the vRealize Log Insight virtual appliance.
n If you plan to connect to the vRealize Log Insight virtual appliance by using SSH, verify that TCP port
22 is open.
Procedure
1 Establish an SSH connection to the vRealize Log Insight vApp and log in as the root user.
To generate a support bundle and include only files that have changed within a certain time period,
execute the loginsight-support command with the --days constraint. For example, --days=1 will
only include files that have changed within 1 day.
Results
The support information is collected and saved in a *.[Link] file that has the following naming
convention: loginsight-support-YYYY-MM-DD_HHMMSS.[Link], where xxxxx is the process ID
under which the loginsight-support process ran.
What to do next
Prerequisites
n Verify that you have the root user credentials to log in to the vRealize Log Insight virtual appliance.
Problem
If vRealize Log Insight has only one Admin user and the Admin user forgets the password, the application
cannot be administered. If an Admin user is the only user of vRealize Log Insight, the whole Web user
interface becomes inaccessible.
Cause
If a user does not remember their current password, vRealize Log Insight does not provide a user
interface for Admin users to reset their own passwords.
Note Admin users who can log in can reset the password of other Admin users. Reset the Admin user
password only when all Admin user accounts' passwords are unknown.
Solution
1 Establish an SSH connection to the vRealize Log Insight virtual appliance and log in as the root user.
2 To get the Cassandra credentials for the script that resets the Admin user password, run the following
command and note the user and password values:
root@localhost [ ~ ]# /usr/lib/loginsight/application/lib/apache-cassandra-3*/bin/credentials-
look-up
The user and password values are generated in the following format:
3 Run the script that resets the Admin user password with the Cassandra user and password values as
arguments, and press Enter. The following example uses the Cassandra credentials generated in the
previous step:
The script resets the Admin user password, generates a new password, and displays it on the screen.
What to do next
Log in to the vRealize Log Insight Web user interface with the new password and change the Admin user
password.
You may not be able to log in as root for a variety of reasons including:
n You have not changed the default password. By default, vRealize Log Insight sets a blank password
for the root user and disables SSH access. Once the password is set, SSH access for the root user is
enabled.
n You set an SSH key during the deployment of the vRealize Log Insight virtual appliance. If an SSH
key is specified through OVF, then password authentication is disabled. Either log in with the set SSH
key or see the solution steps below.
n You entered the password incorrectly multiple times and you are now temporarily locked out. In this
case, entering the correct password will not get you in until the lock out period has elapsed. You can
either wait or restart the virtual appliance.
Problem
If you cannot establish SSH connections or use the console of the vRealize Log Insight virtual appliance,
you cannot accomplish some of the administration tasks, nor can you reset the password of the admin
user.
Solution
1 In the vSphere Client, perform a guest shutdown of the vRealize Log Insight virtual appliance.
If you are using SSH keys instead of password authentication, then edit or add the [Link] key.
6 Enter a password.
You can add an SSH key here instead if you are not using password authentication.
What to do next
After vRealize Log Insight boots, validate that you can log in as the root user.
Problem
A red sign with an exclamation mark appears in the vRealize Log Insight toolbar when an alert could not
be delivered to vRealize Operations Manager.
Cause
Connectivity problems prevent vRealize Operations Manager vRealize Log Insight from sending alert
notifications to vRealize Operations Manager.
Solution
u Click on the red icon to open the list of error messages, and scroll down to view the latest message.
The red sign disappears from the toolbar when you open the list of error messages, or if the problem
is resolved.
u To fix the connectivity problem with vRealize Operations Manager, try the following.
n Verify that the vRealize Operations Manager vApp is not shut down.
n Verify that the you can connect to vRealize Operations Manager via the Test Connection button
in the vRealize Operations Manager section of the Administration page of the vRealize Log
Insight Web user interface.
n Verify that you have the correct credentials by logging directly into vRealize Operations Manager.
n Check vRealize Log Insight and vRealize Operations Manager logs for messages related to
connectivity problems.
n Verify that no alerts are filtered out in vRealize Operations Manager vSphere User Interface.
Problem
You cannot log in to vRealize Log Insight by using your Active Directory domain user credentials, despite
that an administrator has added your Active Directory account to vRealize Log Insight.
Cause
The most common causes are expired passwords, incorrect credentials, connectivity problems, or lack of
synch between the vRealize Log Insight virtual appliance and Active Directory clocks.
Solution
n Verify that your credentials are valid, your password has not expired, and your Active Directory
account is not locked.
n If you have not specified a domain to use with Active Directory authentication, verify that you have an
account on the default domain stored in the latest vRealize Log Insight configuration at /storage/
core/loginsight/config/[Link]#[number] where [number] is the largest.
n Verify vRealize Log Insight has connectivity to the Active Directory server.
n Go to the Authentication section of the Administration page of the vRealize Log Insight Web
user interface, fill in your user credentials, and click the Test Connection button.
n Verify that the vRealize Log Insight and Active Directory clocks are in synch.
n Use an NTP server to synchronize the vRealize Log Insight and Active Directory clocks.
Prerequisites
n Verify that you have the root user credentials to log in to the vRealize Log Insight virtual appliance.
n If you plan to connect to the vRealize Log Insight virtual appliance by using SSH, verify that TCP port
22 is open.
Procedure
1 Establish an SSH connection to the vRealize Log Insight vApp and log in as the root user.
2 Copy the SSL certificate for the SMTP server to the vRealize Log Insight vApp.
Note The outer quotes are inserted by using the back quote symbol that is on the same key as tilde
on your keyboard. Do not use single quotes.
What to do next
Navigate to Administration > Smtp and use Send Test Email to test your settings. See Configure the
SMTP Server for vRealize Log Insight
Problem
Upgrading vRealize Log Insight fails and you see an error message Upgrade Failed. Failed to
upgrade: Signature of the PAK file cannot be validated.
Cause
n The vRealize Log Insight virtual appliance root file system does not have enough disk space.
Solution
u Verify the md5sum of the .pak file against the VMware download site.
u Verify that at least one valid license is configured on vRealize Log Insight.
u Log in to the vRealize Log Insight virtual appliance and run df -h to check the available disk space.
Note Do not put files on the vRealize Log Insight virtual appliance root file system.
Problem
Upgrading vRealize Log Insight fails and you see an error message Upgrade Failed. Internal
Server Error.
Cause
A connection problem occurred between the client and the server. For example, when you attempt to
upgrade from a client that is on a WAN.
Solution
Problem
The first log message that you receive after you integrate vRealize Log Insight with vCenter Server and
vRealize Operations Manager does not contain the associated vmw_object_id field. The missing field
can have an impact on the alert delivery mechanism when a vRealize Operations Manager object is
specified as an alert target.
Note Ensure that the vCenter Server is also integrated with vRealize Operations Manager.
Solution
Wait for two minutes. The next log message that you receive will contain the vmw_object_id field.
Removing a worker node from a vRealize Log Insight cluster can lead to data loss if the node is not backed up prior to removal. The node will stop receiving and processing log messages, which could impact log ingestion and processing capabilities. Additionally, proper cluster function requires a minimum of three healthy nodes, so removing nodes might affect the cluster's ability to evenly distribute logging tasks and maintain efficient performance. To avert issues, nodes should not be removed within 30 minutes of adding new ones, and any node removal should be handled with care to avoid disrupting the cluster's balance and performance .
System notifications in vRealize Log Insight can be configured to alert administrators about critical system events, such as reaching disk space limits or changes in health status. Administrators can configure these notifications to be sent via email, specifying recipient addresses and setting thresholds for different alerts. Alternatively, notifications can be directed to third-party applications through webhooks. This configuration aims to ensure that administrators are promptly informed of any issues that require attention, allowing for proactive system management and reducing the risk of unhandled critical situations .
The Integrated Load Balancer (ILB) in vRealize Log Insight plays a crucial role by distributing incoming traffic across the nodes within a cluster, which is essential for maintaining system performance and availability. By balancing the load, the ILB ensures that no single node is overwhelmed, thus enabling efficient log ingestion and query performance. The presence of an ILB is particularly beneficial when some nodes become unavailable, as it helps maintain continuous service. The ILB minimizes the administrative burden required for traffic management, reducing the risk of service disruption in the event of node failures .
Configuring Active Directory support in vRealize Log Insight involves specific steps: 1. Log in to the vRealize Log Insight web interface with 'Edit Admin' permissions. 2. Navigate to 'Administration', then 'Access Control'. 3. Click 'Users and Groups' and add a new group, selecting 'Active Directory' from the Type drop-down. 4. Make sure the domain matches the binding user's domain or a trusted domain, enter the group name, and assign necessary roles. This setup allows AD users to authenticate using their credentials, and inherit appropriate roles based on their group membership .
In vRealize Log Insight, role inheritance for users integrated with VMware Identity Manager and Active Directory is handled based on the roles assigned to both the user and any groups the user belongs to. If a user is part of an Active Directory group that has a specific role assigned, and the user also has an individual role within vRealize Log Insight, they inherit the privileges of both roles. This means users will have access to all the capabilities that either of their roles provides. For example, if a user, such as Bob, is assigned the 'User' role individually but is also part of a group that has the 'View Admin' role, Bob will have privileges for both roles when he logs in .
vRealize Log Insight verifies user groups from VMware Identity Manager by checking synchronization with the defined group and domain settings. It uses the VMware Identity Manager's single sign-on authentication to integrate with Active Directory, ensuring that group information within Identity Manager matches with the user's assigned AD group roles. When a user logs in, the system verifies group membership against Active Directory, inheriting roles from both personal and group assignments. If synchronization issues are detected, such as ill-defined group-domain mappings, Log Insight issues alerts for manual re-confirmation or correction .
The integration of vRealize Log Insight with vRealize Operations Manager requires several key prerequisites: 1. An integration user account with necessary permissions must be created in vRealize Operations Manager. 2. You need the IP address or host name of the target vRealize Operations Manager instance. 3. You must be logged in to vRealize Log Insight with 'Edit Admin' permissions. 4. The configured user credentials must have permissions to send notification events from Log Insight to Operations Manager. This setup enables the viewing and management of environment alerts within a single interface, enhancing operational oversight .
A master node failure in a vRealize Log Insight cluster significantly impacts the functionality and performance. Since the master node orchestrates query aggregation and manages cluster configuration, its failure halts new configuration changes and query submissions until the master node is restored. Meanwhile, worker nodes continue to ingest log messages, but their inability to redistribute configurations or queries could affect data processing and result accuracy. The detection and resolution of such failures are critical for maintaining the integrity and operational effectiveness of the Log Insight environment .
In a cluster setup, vRealize Log Insight manages log ingestion and query performance by distributing tasks across multiple nodes. The master node aggregates results from query execution, while worker nodes ingest logs and perform initial data processing. Clustering allows for linear scaling as additional nodes are added, increasing throughput capacity and query efficiency. High availability is ensured as each node handles a subset of data, so failure of individual nodes does not stop the whole system, provided other nodes remain operational. This approach facilitates smooth operation and optimizes resource utilization within a cluster environment .
vRealize Log Insight ensures role synchronization by inheriting assigned roles from both direct user assignments and any groups users belong to. When a user accesses the system via Active Directory and VMware Identity Manager, they automatically receive the roles assigned to both their individual account and their AD group memberships. This results in users having a composite set of permissions enabling all functionality allowed by either source. This inheritance model allows seamless and dynamic permissions scaling as user roles or group memberships are updated in Active Directory or VMware Identity Manager .









