Table of Contents

Search

  1. Preface
  2. Product Overview
  3. Security
  4. Applications
  5. Partner and Account Information
  6. Events
  7. Event Archiving
  8. User Policies
  9. Schedules
  10. B2B Data Exchange Administrative Tasks
  11. On-boarding Checklist Template
  12. System Properties
  13. Repository Management
  14. Document Management
  15. B2B Data Exchange Utilities
  16. DX Toggle Server REST API
  17. Dashboard and Reports Management

Administrator Guide

Administrator Guide

Export Audit Events Script

Export Audit Events Script

Use the auditExport batch script to export the audit events to XML.
The following is an example of a sample batch script to export audit event object:
auditExport.bat -u <username> -p <password> -f /data/exportfile.xml
The following table describes parameters and arguments for the auditExport batch script.
Parameter Name
Argument
Description
Mandatory
-c or -command
command
Specify the command to execute. You can specify one of the following commands:
  • start. Starts to export the specified audit event object in the B2B Data Exchange repository.
  • abort. Stops exporting the audit event object in the B2B Data Exchange repository.
No
-from or -from_date
date
List the object type. Search for audit records created on and after the specified date. The supported date formats are "dd/MM/yyyy HH:mm:ss" and "dd/MM/yyyy".
No
-to or --to_date
-to or --to_date
List the object type. Search for audit records created on and before the specified date. The supported date formats are "dd/MM/yyyy HH:mm:ss" and "dd/MM/yyyy".
No
-name or --ObjectName
name
The name of the object.
No
-type or --ObjectType
type
List the object type. Specify one of the following commands:
  • Partner
  • Account
  • Profile
  • Endpoint
  • UserGroup
  • User
  • Monitor
  • PortalUser
No
-act or --ActionType
action
List the action type. Specify one of the following commands:
  • Create
  • Edit
  • Delete
No
-f or --filename
file
The file in which the audit report is saved.
The parameter is mandatory for the start command.
No
--server
"hostname:port"
The location of the Data Exchange Engine server.
Optional. Host name and port number of the B2B Data Exchange server. If you do not enter an argument, the utility connects to the localhost server with the default port 18095. The argument must be enclosed in quotation marks.
For example:
auditExport.bat --server “localhost:18095”
No
-u or --user
userID
Identifier of the Operation Console user account. If you use Informatica platform authentication, the user ID must specify the Informatica security domain, separated by the @ symbol.
For example:
Administrator@SecurityDomain
You must specify at least one of the user name options, -u or -U to determine the UserID required to execute this command.
No
-U
Environment variable
Environment variable that contains the UserID value.
If you use Informatica platform authentication, the user ID must specify the Informatica security domain, separated by the @ symbol.
For example:
Administrator@SecurityDomain
You must specify at least one of the user name options, -u or -U to determine the UserID required to execute this command.
No
-p or --password
password
Password of the Operation Console user. This option contains the clear text password.
You must specify at least one of the password options, -p or -P to determine the UserID required to execute this command.
No
-P
Environment variable
Environment variable that contains the password value.
Password for the Operation Console user that executes the auditExport command. The password must be encrypted.
You must specify at least one of the password options, -p or -P to determine the user's password required to execute this command.
No
The following is an example of a sample batch script to export the audit report:
auditExport.bat -f "path/file.xml" -from "18/12/2003 12:55:43" -to "21/03/2021" -name "Objects" -type "Partner" -act "Edit" -u sys -p sys -c abort

0 COMMENTS

We’d like to hear from you!