vRealize Log Insight is not able to ingest it's own
runtime.log files, so a second receiving vRealize Log Insight instance must exist or be setup.
vRealize Log Insight comes with a pre-installed Agent.
To make sure it's installed, run
rpm -qa | grep VMware-Log-Insight-Agent in command line.
If no results appear, please download and install the corresponding LI Agent.
Once a receiving vRealize Log Insight instance is designated, configure it to receive the
runtime.log files of the sending instance.
- Log into the receiving vRealize Log Insight UI as an administrator.
- Navigate to Administration > Agents.
- Choose or create an Agent group at the top if desired.
- Under Agent Configuration, click Edit.
- Create the below Agent configuration. Adjust the values as needed for your environment.
Note: There are two options for configuring the filelog|runtime-log section. Users either need to add the configuration into the liagent.ini file or configure an agent group.
--------- Agent Config ----------
[server]
hostname=fqdn or IP
proto=cfapi
port=9000 # or 9543
ssl=no # or yes accordingly
[filelog|runtime-log]
directory=/storage/var/loginsight
include=runtime.log;runtime.log.*
event_marker=\[\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}.\d{3}\+\d{4}\]
---------- End Config ----------
Note: The event marker is a regular expression that denotes the start of an event in the log file.
- Click Save Configuration.