How to Configure Log Forwarding and Agent Ingestion for vCenter Server Appliance 9.x
search cancel

How to Configure Log Forwarding and Agent Ingestion for vCenter Server Appliance 9.x

book

Article ID: 454400

calendar_today

Updated On:

Products

VCF Operations VMware vSphere ESXi

Issue/Introduction

 This article clarifies when to use the vCenter LogInsight Agent, VAMI Syslog settings, and vSphere API integration for collecting logs from vCenter Server 9.x . Understanding vCenter Log Collection Methods: LogInsight Agent, VAMI Syslog, and vSphere Integration.

Environment

  • vCenter Server 9.0
  • VCF Operations for Logs 9.0

Resolution

When monitoring vCenter Server (VCSA), there are three primary methods for log ingestion into Aria Operations for Logs. Choosing the correct one depends on the type of data required.

1. vSphere Integration (UI)

  • Scope: vCenter Events, Tasks, Alarms, and general appliance health.
  • Details: This is the primary, recommended configuration for most deployments. It uses the vSphere API to ingest data.
  • Configuration: Add the vCenter Server directly within the LogInsight UI. This method does not interact with local OS files.

2. VAMI Syslog Settings (:5480)

  • Scope: Collecting VCSA appliance system logs (OS-level logs).
  • Details: Use this method to send system-level logs from the VCSA appliance OS to a central logging server.
  • Configuration: Configure the remote syslog settings via the VAMI interface (port 5480).

3. vCenter LogInsight Agent

  • Scope: Ingesting specific local OS log files that are not covered by API integration or standard syslog.
  • Details: This should be considered a "last resort" for deep-level file ingestion. In vCenter 9.x, the agent is pre-installed but inactive by default; the liagent.ini file is missing because it is not enabled out-of-the-box.
  • Configuration:
    • If there is specific requirement that cannot be met by options 1 or 2, the configuration file must be manually created
    • Create the file at: /var/lib/loginsight-agent/liagent.ini
    • Populate it with standard LogInsight agent configuration syntax to define the specific log paths required.