Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Page Tree
rootResource - asmsystemevent

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

Tip

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://

...

192.

...

168.

...

0.

...

111/rest/asmsystemevent?action=exportlog

HTTP Method

POST

Requires Authentication:

true

...

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

Code Block
languagebash
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:

...

languagehtml/xml

...

Noprint
Panel
bgColortransparent
titleBGColor#DDD
title[asmsystemevent - REST API Methods|Resource - asmsystemevent]

Page Tree
root@parent