You can set or change the target Log Insight server that the Log Insight Windows Agent sends event to, if you have not set the values during the installation process.

Log in to the Windows machine on which you installed the Log Insight Windows Agent and start the Services manager to verify that the VMware vCenter Log Insight Agent service is installed.

1

Navigate to the program data folder of the Log Insight Windows Agent.

%ProgramData%\VMware\Log Insight Agent

2

Open the liagent.ini file in any text editor.

3

Modify the following parameters and set the values for your environment.

Parameter

Description

proto

The protocol that the Log Insight Windows Agent uses to send events to the Log Insight server. The possible values are cfapi and syslog. VMware recommends using the default cfapi setting.

hostname

The IP address or host name of the Log Insight virtual appliance.

port

The communication port that Log Insight Windows Agent uses to send events to the Log Insight server. The default values are 9000 for cfapi and 514 for syslog

[server]
proto=server_protocol
hostname=loginsight_host
port=port_number
4

Save and close the liagent.ini file.

5

Restart the VMware Log Insight Agent service.

Note

Any change you make to the liagent.ini file requires a restart of the VMware Log Insight Agent service for the configuration change to take effect.

[server]
proto=cfapi
hostname=LOGINSIGHT
port=9000