System Administration > Configuration > Fabric > NSX Edge > Diagnosis

get diagnosis log limit <log-num> context <context-line-num>

Get two number of diagnosis entries

Parameters:

Option Description
<log-num> Specify number of log entries
Allowed pattern: ^([0-9]+)$
<context-line-num> Specify the numbers of context logs before and after the error log
Allowed pattern: ^([0-9]+)$


Example:

nsx-edge-c0-1> get diagnosis log limit 1 context 1 2018-01-03T20:04:17.102262+00:00 host-326432070547636738750820273082671025578 NSX 5838 - [nsx@6876 comp="nsx-manager" subcomp="node-mgmt" username="root" level="INFO" audit="True"] 127.0.0.1 - - [2018-01-03 20:04:17] 'GET /api/v1/node/configuration' 200 1201 "" "curl/7.47.0" 0.144964 *********************************************************************** ERROR:2018-01-03T20:04:17.421993+00:00 host-326432070547636738750820273082671025578 NSX 5838 - [nsx@6876 comp="nsx-manager" subcomp="node-mgmt" username="root" level="ERROR" errorCode="NODE10"] Error setting system time, rc: 1, err: Failed to create bus connection: No such file or directory *********************************************************************** 2018-01-03T20:04:17.526811Z host-326432070547636738750820273082671025578 NSX 6075 - [nsx@6876 comp="nsx-controller" subcomp="cfgAgent" tid="71757700" level="verbose"] Checking global lock, current checked count: 1

Mode:

Basic

Availability: