Universal Messaging 10.7 | Administration Guide | Using Command Central to Manage Universal Messaging | Using the Command Line to Manage Universal Messaging | Durable Subscribers Monitoring | Purge Events
 
Purge Events
Purges a set of events or all events for a durable subscriber.
Syntax
*To purge a range fo events:
sagcc exec administration component nodeAlias Universal-Messaging-instanceName
durablesubscribers purgeStartEndID startEID=startEventID endEID=endEventID
durableName=durableSubscriberName chanName=channelName
*To purge all events:
sagcc exec administration component nodeAlias Universal-Messaging-instanceName
durablesubscribers purgeAll durableName=durableSubscriberName chanName=channelName
*To purge specific events using filtering criteria:
sagcc exec administration component nodeAlias Universal-Messaging-instanceName
durablesubscribers purgeFilter durableName=durableSubscriberName chanName=channelName
filter=filterExpression
Arguments and Options
nodeAlias
Required. The alias name of the installation in which the Universal Messaging server instance is installed.
Universal-Messaging-instanceName
Required. The ID of the Universal Messaging server instance for which you want to purge events.
durableName=durableSubscriberName
Required. The name of the durable subscriber for which you want to purge events.
chanName=channelName
Required. The name of the channel to which the durable subscriber is subscribed.
[startEID=startEventID]
Required for purging a range of events. The ID of the first event in the range.
[endEID=endEventID]
Required for purging a range of events. The ID of the last event in the range
[filter=filterExpression]
Required when using a filter to purge events. The criteria used to purge events.
Examples
*To purge the events with IDs from "10" to "20" for durable subscriber "dsubscriber1" on channel "channel2", on the server instance with ID "Universal-Messaging-umserver", installed in the installation with alias name "sag01":
sagcc exec administration component sag01 Universal-Messaging-umserver
durablesubscribers purgeStartEndID startEID=10 endEID=20 durableName=dsubscriber1
chanName=channel2
*To purge all events for durable subscriber "dsubscriber1" on channel "channel2", on the server instance with ID "Universal-Messaging-umserver", installed in the installation with alias name "sag01":
sagcc exec administration component sag01 Universal-Messaging-umserver
durablesubscribers purgeAll durableName=dsubscriber1 chanName=channel2
*To purge the events with a size between "10.0" and "12.0" for durable subscriber "dsubscriber1" on channel "channel2", on the server instance with ID "Universal-Messaging-umserver", installed in the installation with alias name "sag01":
sagcc exec administration component sag01 Universal-Messaging-umserver
durablesubscribers purgeFilter durableName=dsubscriber1 chanName=channel2
filter=size BETWEEN 10.0 AND 12.0