LIagent not forwarding audit logs from SDDC to VMware Aria Operations for Logs
search cancel

LIagent not forwarding audit logs from SDDC to VMware Aria Operations for Logs

book

Article ID: 411562

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

The preinstalled LIagent on the SDDC appliance does not send the 'audit.log' log by default. 

Environment

  • SDDC 5.x
  • VMware Aria Operations for Logs 8.18.x

Cause

The 'audit.log' logfile is an OS level logfile; it is not created by the SDDC manager. While the LI agent is preconfigured to send SDDC relevant logs, it needs to be configured to send Linux Systemd related logs.

Resolution

Ensure you have installed the Linux Systemd content pack on your Aria Operations for Logs Instance.

  1. Navigate to the 'Content Packs' menu, then 'Marketplace'.
  2. Find the 'Linux - Systemd' content pack, select and click 'Install'
  3. Confirm the content pack is installed under the 'Installed Content Packs' category in the middle column of the UI.

Next, we need to push the Linux Systemd agent template to the appropriate SDDC agent.

  1. Navigate to 'Management' and then 'Agents'.
  2. In the dropdown menu, copy the 'Linux -Systemd' template by clicking the copy icon to the right of the template.
  3. Give the group a name.
  4. Using the IP of the SDDC manager, filter for the agents you want to send the template to, and hit enter.
  5. When the target IP is listed, hit the 'Save New Group' button below the template configuration, at the bottom of the window.

You should now see audit events in the 'Explore Logs' tab for the SDDC host.

Additional Information

This method can be used to apply pre-configured templates, which are included with content packs. You can also configure your own agent configuration here.

When filtering for hosts, a template can be applied to multiple hosts by using different filters, like 'matches', 'does not match', 'starts with', and 'does not start with' in conjunction with either IP or Hostname.