You can view statistics and logs for an NSX Data Center for vSphere edge gateway.

View Statistics in the VMware Cloud Director Service Provider Admin Portal

You can view statistics on the Edge Gateway Services screen.

Procedure

  1. Open Edge Gateway Services.
    1. From the primary left navigation panel, select Resources, and from the page top navigation bar, select the Cloud Resources tab.
    2. From the secondary left panel, select Edge Gateways.
    3. Click the radio button next to the name of the target edge gateway, and click Services.
  2. Click the Statistics tab.
  3. Navigate through the tabs depending on the type of statistics you want to see.
    Option Description
    Connections The Connections screen provides operational visibility. The screen displays graphs for the traffic flowing through the interfaces of the selected edge gateway and for the firewall.

    Select the period for which you want to view the statistics.

    IPsec VPN The IPsec VPN screen displays the IPsec VPN status and statistics, and status and statistics for each tunnel.
    L2 VPN The L2 VPN screen displays the L2 VPN status and statistics.

Enable Logging in the VMware Cloud Director Service Provider Admin Portal

You can enable logging for an edge gateway. In addition to enabling logging for the features for which you want to collect log data, to complete the configuration, you must have a Syslog server to receive the collected log data. When you configure a Syslog server on the Edge Settings screen, you are able to access the logged data from that Syslog server.

Prerequisites

  • Verify that your role includes the Configure System Logging right.

Procedure

  1. Open Edge Gateway Services.
    1. From the primary left navigation panel, select Resources, and from the page top navigation bar, select the Cloud Resources tab.
    2. From the secondary left panel, select Edge Gateways.
    3. Click the radio button next to the name of the target edge gateway, and click Services.
  2. On the Edge Settings tab, click the Edit Syslog server button.

    You can customize the Syslog server for the networking-related logs of your edge gateway for those services that have logging enabled.

    If the VMware Cloud Director system administrator has already configured a Syslog server for the VMware Cloud Director environment, the system uses that Syslog server by default and its IP address is displayed on the Edge Settings screen.

  3. Enable logging per feature.
    • On the NAT tab, click the DNAT Rule button, and turn on the Enable logging toggle.

      Logs the address translation.

    • On the NAT tab, click the SNAT Rule button, and turn on the Enable logging toggle.

      Logs the address translation.

    • On the Routing tab, click Routing Configuration, and under Dynamic Routing Configuration, turn on the Enable logging toggle.

      Logs the dynamic routing activities. From the Log Level drop-down menu, you can select the lower bound of the message status level to log.

    • On the Load Balancer tab, click Global Configuration, and turn on the Enable logging toggle.

      Logs the traffic flow for the load balancer. From the Log Level drop-down menu, you can select the lower bound of the message status level to log.

    • On the VPN tab, navigate to IPSec VPN > Logging Settings, and turn on the Enable logging toggle.

      Logs the traffic flow between the local subnet and peer subnet. From the Log Level drop-down menu, you can select the lower bound of the message status level to log.

    • On the SSL VPN-Plus tab, click General Settings, and turn on the Enable logging toggle.

      Maintains a log of the traffic passing through the SSL VPN gateway.

    • On the SSL VPN-Plus tab, click Server Settings, and turn on the Enable logging toggle.

      Logs the activities that occur on the SSL VPN server, for Syslog. From the Log Level drop-down menu, you can select the lower bound of the message status level to log.