Setting up purge triggers from a command line
You can use ConfigManager.exe from a Command Line Interface (CLI) to create and execute purge triggers.
Note: This operation, performed from a CLI, is intended primarily for system administrators working with customers in a cloud environment. Customers working in an on-premises installation environment can use the Configuration Manager utility to accomplish the same ends.
Resetting all purge triggers
Use this command line syntax as a string, for example:
ConfigManager.exe -U:SCM -service:SEPT -config:Test -action:reset
where:
-serviceisSEPTorSETEVENTPURGETRIGGERSas service name.-configis the configuration name.-actionisresetto reset the values and reset the trigger as inactive with default values.
Setting purge triggers
Use this command line syntax as a string, for example:
ConfigManager.exe -U:SCM -service:SEPT -config:Test -purgeeventdata:true -purgeintervaleventdata:24 -purgedaysoldevetdata:30
where:
-serviceisSEPTorSETEVENTPURGETRIGGERSas service name.-configis the configuration name.-purgeeventdatais a flag to enable or disable the purging of event data and is specified astrueorfalse.-purgeintervaleventdatais the interval between purge events and is specified as integer value in hours.-purgedaysoldeventdatais the age of the event data to be purged and is specified as integer value in days.
Setting up the time of adding, updating, or deleting event configuration
Use this command line syntax as a string, for example:
ConfigManager.exe -U:SCM -service:EVENT -mode:new -config:Test -sleep:10 -maxthreds:5 -purgeeventdata:true -purgeintervaleventdata:24 -purgedaysoldevetdata:30
where:
-serviceis the service name.-modeis an action and is specified asnew,edit, ordelete.-configis the configuration name.-sleepis an optional flag and is the amount of time the Event Service is to wait—after seeing nothing in the queue (that is not already being worked on) or upon spawning its last allowed thread—before checking the queue again.-maxthreadsis an optional flag and is the maximum number of requests that can be taken from the queue and worked on simultaneously.-purgeeventdatais a flag to enable or disable the purging of event data and is specified astrueorfalse.-purgeintervaleventdatais the interval between purge events and is specified as integer value in hours.-purgedaysoldeventdatais the age of the event data to be purged and is specified as integer value in days.