List system dumps: Request

Prev Next

To list all the system dumps, send the following request:

GET https://<IA_IP_address>/config/v1/system/getsysdumps

Required header:

--user <username>:<password>

Options

  • IA_IP_address—IP address of the NDR appliance running the NDR API.

  • username—Administrator user name.

  • password—Administrator password.

Example

GET https://xxx.xxx.xxx.xxx/config/v1/system/getsysdumps

Required header:

--user npadmin:hammerhead

List system dumps: Response

HTTP/1.1 [Response Code] [Response Message]
Date: [Date]
Content-Type: [Content Type]
	[			
"filename": "filename1", "filename2"]
 

Response fields

  • Response Code—A standard HTTP response code.

  • Response Message—A standard HTTP response message.

  • Date—Standard HTML date format.

  • Content Type—The response format.

  • System Dump File Name—System dump file name.

Example

HTTP/1.1 200 OK
Date: Thu, 26 Jan 2017 19:10:40 GMT
Content-Type: application/json; charset=utf-8

[
   "filename": "sysdump-1485457793.tar.gz", "sysdump-1485457793.tar.gz"
]

cURL code sample: List system dumps

The code sample was run with cURL 7.57.0.

curl -k --user npadmin:hammerhead https://xxx.xxx.xxx.xxx/config/v1/system/getsysdumps

This cURL sample includes the following options:

  • -k—This option explicitly allows cURL to perform insecure SSL connections and transfers, which allows you to test your SSL connection without installing a CA certificate.

  • --user npadmin:hammerhead—Replace npadmin with the user name for your NDR appliance. Replace hammerhead with the password for your NDR appliance.

  • https://xxx.xxx.xxx.xxx/config/v1/system/getsysdumps—The system dump request URL. Replace xxx.xxx.xxx.xxx with the IP address of your NDR appliance.

Results

This example returns a list of all system dumps. The output is in JSON.