000022765 - How to generate activity log history from a script in RSA Authentication Manager

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000022765
Applies ToRSA Authentication Manager Administration API
User wishes to generate RSA Authentication Manager activity reports periodically
IssueHow to generate activity log history from a script in RSA Authentication Manager
Resolution

The RSA Authentication Manager Administration Toolkit function Sd_ListHistory can be used to output Server activity for a specified user or for all users for a specific number of days starting with the current day. Shown below is an example TCL script that can be executed by <ACE_HOME>/utils/tcl/bin/tcl-sd. This script will output the previous 30 days of activity log for all users:


Sd_ApiInit "" "" 1

set line 0
while {1} {
# yesterday through current time activity for single user
#       set line [Sd_ListHistory 1 -tuser]

# 30 days all activity, column format
        set line [Sd_ListHistory 30 * -o pretty]
        if {$line == "Done"} break
        puts $line
}

Sd_ApiEnd


NOTE: The returned log entries are filtered based on Coordinated Universal Time (UTC) but presented in local time. For more information, refer to Sd_ListHistory in the RSA Authentication Manager 6.1 Administration Toolkit Reference Guide.

Legacy Article IDa30223

Attachments

    Outcomes