Description Syntax Examples updateDMSEventFilter

DMS Custom WLST Commands 6-21

6.2.12.3 Examples

The following example updates the name of the destination jfr: updateDMSEventDestinationid=jfr, name=Alternative Flight-Recorder Destination jfr updated. The following example attempts to update a destination that does not exist. The command returns an error: updateDMSEventDestinationid=destination1, props={loggerName: MyNewTrace2-logger} Destination destination1 does not yet exist. Unable to update this.

6.2.13 updateDMSEventFilter

Command Category: DMS Event Tracing Use with WLST: Online

6.2.13.1 Description

Updates an existing filter in the Event Tracing configuration. You must be connected to the Administration Server to update an event filter. If you are not, an error is returned.

6.2.13.2 Syntax

updateDMSEventFilterid=id [, name=name] [,etypes=etypes], props= {prop-name: value...} [,server=server_name] props Optional. The namevalue properties to use for the destination. You can add a new property, or update or remove an existing one. If you update properties, you must specify all properties. If you omit a property, it is removed. For example, if a destination contains the properties LoggerName and severity, and you omit severity, it will be removed from the destination. See addDMSEventFilter for information about the syntax and allowed values. server Optional. The server on which to perform this operation. The default is the server to which you are connected. Argument Definition id The unique identifier for the filter to be updated. name Optional. The name of the filter to be updated. etypes Optional. A string containing a comma-separated list of eventaction pairs. See addDMSEventFilter for a list of valid values. props prop-name: The name of the filter property. condition is the only valid property, and only one condition may be specified. See addDMSEventFilter for information on the syntax of prop-name. value: The value of the property of the filter. server Optional. The server on which to perform this operation. The default is the server to which you are connected. Argument Definition 6-22 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

6.2.13.3 Examples

The following example updates the filter properties for the filter with the id mds1: updateDMSEventFilterid=mds1, props={condition: NOUNTYPE equals XYZ_Total_Connections AND CONTEXT user equals bruce} Filter mds1 updated. The following example attempts to update a filter that does not exist: updateDMSEventFilterid=Filter2 Filter Filter2 does not yet exist. Unable to update this.

6.2.14 updateDMSEventRoute