Edit Field Filter

Definition

Description

If event matches Condition set FieldName to Expression.

 

 

Comments

If FieldName does not exist, the FieldName is added after the last field in the event. If Expression is non-existent, set to "".

 

Example

<filter objectId="Filter.EditField" type="EditFieldFilter">
	<parameter type="Condition">
		<negatePrimaryCondition>false</negatePrimaryCondition>
		<conditionRelation>Any</conditionRelation>
		<conditionSpec>
			<negate>false</negate>
			<fieldName>ev:msg</fieldName>
			<operator>containsString</operator>
			<valueType>string</valueType>
			<value>delete</value>
		</conditionSpec>
	</parameter>
	<parameter type="FieldName">ev:msg</parameter>
	<parameter type="Expression">
		<type>String</type>
		<formatString>this is %1% and %2%</formatString>
		<formatParmSpec>					<!—0..N of these, 0 is fixed string -->
			<type>EventType</type>			<!—only supported type right now -->
			<name>the name</name>
		</formatParmSpec>
	</parameter>
</filter>