The Set Debug Mode API
Using the Set Debug Mode API, you can set the debug mode of a collector.
METHOD | PUT |
URI |
|
SAMPLE URI |
|
SAMPLE RESPONSE |
|
SAMPLE cURL COMMAND |
|
Query Parameters
Query parameters include the Payload parameter, which is a JSON file, which contains the following properties.
Parameter | Description | Required? | Values |
---|---|---|---|
interfaceName |
The interface name of the collector. | Yes | String |
debugMode |
The debug log level for the collector. | Yes |
|
Response Parameters
Parameter | Data Type | Required? | Description |
---|---|---|---|
ErrorCode |
Integer | Yes | For example, ErrorCode = 0 implies the operation was successful. |
ErrorMessage |
String | Yes | For example, NULL. |