NSX manager syslog is not reporting NSX user successful LOGIN events
search cancel

NSX manager syslog is not reporting NSX user successful LOGIN events

book

Article ID: 399588

calendar_today

Updated On:

Products

VMware NSX VMware vSphere ESXi

Issue/Introduction

  • After enabling syslog for NSX managers, successful LOGIN events are not reported in /var/log/syslog and subsequently not seen on the remote syslog server.
  • Successful login events are expected to look similar to the following:

  • These events are also not seen in the NSX audit logs (/var/log/audit/audit.log).
  • Only LOGOUT events and failed LOGIN events are reported in SYSLOG.

Environment

  • VMware NSX 4.2.x
  • VMware NSX 9.0.x

Cause

A defect was introduced in VMware NSX 4.2.0 and above such that syslog includes the full user info but suppresses logging the successful operation.

Resolution

This issue is resolved in VMware NSX 4.2.3.3 and NSX 9.0.2.

Workaround:

Filter for AAA events in NSX syslog: (Note: AAA stands for Authentication, Authorization, and Accounting)

Log snippet:

YYYY-MM-DDT14:18:05.183Z #### NSX 5070 - [nsx@6876 audit="true" comp="nsx-manager" level="INFO" reqId="####" subcomp="manager" username="###"] UserName="###", Src="###", ModuleName="AAA", Operation="GetCurrentUserInfo", Operation status="success", New value=[{"root_path":"/","provide_flat_listing":false}]

Additional Information

VMware NSX 4.2.3.3 Release Notes

VMware NSX 9.0.2 Release Notes