Set Variable Filter

Definition

Description

If event matches Condition, set Variable to the value of Expression for the duration of TimeInterval.

 

 

Comments

The TimeInterval is started whenever a value is set. After the expiration of the TimeInterval, the value for the Variable is automatically deleted to free memory and storage  space.

If Variable is missing or invalid, the filter is disabled.

If scope of Variable is System (read only), the filter is disabled.

If TimeInterval is missing, 10 min will be used as default interval.

According to the VariableName and the VariableScope parameters, a full variable name is generated.

This variable can also be accessed as a variable array with an empty string ("") as its index.

 

Example

<filter disabled="False" objectId="set" type="SetVariableFilter">
	<parameter autoSetDescription="true" comments="Add comments for Condition..." description="Match all Events" type="Condition">
		<negatePrimaryCondition>false</negatePrimaryCondition>
		<conditionRelation>All</conditionRelation>
	</parameter>
	<parameter type="Variable">ecs0:var</parameter>
	<parameter autoSetDescription="true" comments="Add comments for Expression..." description="1234" type="Expression">
		<type>String</type>
		<formatString>1234</formatString>
	</parameter>
	<parameter type="TimeInterval">
		<time>25</time>
		<units>min</units>
	</parameter>
</filter>