You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

REST API Method: POST /rest/asmsystemevent?action=exportlog

This resource exports all the ASM System Log events from the ASM. This action is applied without an ID.

The downloaded filename is 'System Events.evtx' as displayed in the response header. The filename should be saved with a .evtx file extension so it can be viewed with the Microsoft Event viewer. If the file is too big, it will be chunked into 4KB chunks and sent to the client.

URL:

https://134.56.227.163/rest/asmsystemevent?action=exportlog

HTTP Method

POST

Requires Authentication:

true

Usage Example: (about cURL | requires a session token)

curl --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 134.56.227.163.crt --data -i http://134.56.227.163/rest/asmsystemevent?action=exportlog -o SystemEvents.evtx

Response:


 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     2      0     11 --:--:-- --:--:-- --:--:--     0
  • No labels