This is not the latest version of Ivanti Workspace Control documentation.
View available documentation.

Export Audit Trail

The Audit Trail can be exported to a CSV file using the Export to file option or the pwrtech command line.

Export to file

To export the Audit Trail to a CSV file, follow these steps:

  1. Open the Workspace Control Console and navigate to Diagnostics > Audit Trail.

  2. Export the Audit Trail to a CSV file using one of the following methods:

    • Right-click in the right-side pane and select Export to file from the context-menu.

    • From the main menu, select Action > Audit Trail > Export to file.

    • From the main toolbar, select the (Export to file) button.

  3. In the Export to file window, select a location where to save the CSV file, enter an appropriate name for the file and then select Save.

Export using the command line

Ivanti recommends to test first by exporting just one or two days of data.

The Audit Trail information can also be exported using the pwrtech command line:

pwrtech.exe /exportlog /type=audittrail /output=<output filepath> [/outputtype=csv] [/start=<start date>] [/end=<end date>]

/outputtype, /start and /end are optional parameters. If /outputtype is not specified, then the security logs are exported as XML files instead of CSV files.

Replace the following with the appropriate values:

  • <output filepath> — Enter the full filepath where to save the CSV or XML file.
    For example: C:\export\audit_trail.csv.

  • <start date> — Enter the start date to export log entries starting with the specified date.
    The format for date is YYYYMMDD. For example: 20211230.

  • <end date> — Enter the end date to export log entries up to the specified date.
    The format for date is YYYYMMDD. For example: 20220123.

For example:
pwrtech.exe /exportlog /type=audittrail /output=C:\export\audit_trail.csv /outputtype=csv /start=20211230 /end=20220123

Introduced in Ivanti Workspace Control 2022.2 (version 10.9.30.0).