SMAuditImport: A new utility to import SiteMinder audit text files into ODBC audit database.

Document ID : KB000053544
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Customer is auditing to a text files and he would like to know if there's any utility that can help him to import this information into an ODBC Audit database.

Solution:

Starting with SiteMinder Policy Server 6 SP5 CR31, SiteMinder Policy Server includes the smauditimport tool.

SMauditimport has been added to the Policy server to allow the loading of SiteMinder text audit files into ODBC databases. The smauditimport tool reads a SiteMinder audit data text file and imports it into an ODBC database that has been pre-configured with the appropriate SiteMinder audit schema.

Usage:  smauditimport fname dsn user password -vfb <bulkloadsize> 
fname:    Full path to the log file you want to import. 
dsn:      Data Source Name. 
user:     DB user name. 
password: DB password. 
-v:      (optional) verify 
-f:      (optional) force 
-b <bulkloadsize>: (optional) number of records to bulk insert at a time. Default is 100. 

Example:

smauditimport c:\mylogs\smaccess.log "SM SQL Server Wire DS" dbuser dbpassword 

Notes:

  • SMAuditImport only imports enhanced audit text files. For more information about enhanced audit format, please check the Knowledge Base article "Enhanced TEXT Auditing Feature in SiteMinder Policy Server" (TEC485123) available at support.ca.com.