You can use logs that are in the various NSX components and on the hosts to detect and troubleshoot problems.
You can collect the support bundle data for NSX components like NSX Manager, hosts, edges, and controllers using the Support Bundle collection tool. For details, refer to NSX Administration Guide.