Table of Contents

Search

  1. Preface
  2. Introduction to Data Integration Hub
  3. Security
  4. Events
  5. User Policies
  6. Operation Console Management
  7. System Properties
  8. Connections
  9. Connectivity to Informatica Intelligent Cloud Services
  10. Integration of Data Integration Hub with Enterprise Data Catalog
  11. Document Management
  12. Entity Management
  13. Export and Import
  14. Data Integration Hub Utilities
  15. Dashboard and Reports Management

Administrator Guide

Administrator Guide

Event Purge Script

Event Purge Script

Use the purge batch script to delete the events in the
Data Integration Hub
repository. You must have the Archiving privilege to purge events.
For more information on privileges, see the Administrator Role Privileges section.
You can find the purge script (purge.sh or purge.bat) in the following directory:
<DIH_HOME>\dx-tools\
In the
Data Integration Hub
repository utility, run the
purge.bat
or
purge.sh
command with the following syntax in a single line:
purge.bat/sh -d <days> [-excludesystemevents] [-p <password>] [-P <password>] [--server <hostname:port>] [-u <loginName>] [-U <loginName>]
The following list describes parameters and arguments for the purge scripts.
-u or --user
Argument: userID.
Optional. Identifier of the Operation Console user account to archive the logs stored in the Data Integration Hub repository.
The user account must have Archiving privilege to all the data in the repository.
If you use Informatica platform authentication, the user ID must specify the Informatica security domain, separated by the @ symbol. Informatica security domain, separated by the @ symbol.
Administrator@SecurityDomain
You must specify at least one of the user name options, -u or -U.
-U
Argument: Environment variable.
Optional. Environment variable that contains the value of UserID.
Identifier of the Operation Console user account must have the Archiving privilege.
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.
-p or --password
Argument: password.
Optional. Password of the Operation Console user that executes the archive command. This option contains the clear text password.
You must specify at least one of the password options, -p or -P to determine the user's password required to execute this command.
-P
Argument: Environment variable.
Optional. Environment variable that contains the value of the password.
Password for the Operation Console user that executes the archive command. The password must be encrypted.
You must specify at least one of the password options, -p or -P.
--server
Argument: “<hostname:port>”
Optional. Host name and port number of the
Data Integration Hub
server. If you do not enter a value, the archive utility connects to the localhost server with the default port 18095. You must enclose the argument in quotation marks. For example:
purge --server “localhost:18095”...
--excludesystemevents
Argument: Exclude System Events
Optional. The system events are purged if the parameter is not specified. The system events are ignored if the parameter is specified.
-d
Argument: days.
The number of days before which the event purge occurs. The value can be greater than or equal to the value mentioned for
dih.staging.max.lifetime
.

0 COMMENTS

We’d like to hear from you!