User Stat Rules

Configuring User Stat Rules

Each stat rule configuration consists of four parts: the producer event, the name, an operator and a parameter.

Event

Each stat rule will be triggered by a specific event name logged by the title. Note that multiple stat rules may be triggered by a single event.

Name

Important
When one or more fields are included as part of the statistic rule name, this rule becomes a stat template. At run-time, the actual value of fields from the producer event will be inserted into the stat instance name.

Data type recommendations

OPERATOR

The value of the stat instance is calculated at run-time when processing the producer event. The stat rule executes an OPERATION with the specified PARAMETER. The list of supported operation options is:

PARAMETER

The parameter can be either a constant value or a field name from the producing event.

Operator Parameter
SUM Constant or field
MIN Field
MAX Field
REPLACE Constant or field

The data type of the resulting stat instance is determined by the parameter’s data type.

Integer, Float, and Boolean data types supported by all operators.

The Unicode string data type is supported only by the REPLACE operator.

Stat Data Type Parameter Data Type Notes
Integer Int32, Int64, UInt32, UInt64, Boolean <ul><li>The largest integer value supported is 56-bit.</li><li>Boolean is converted from TRUE to 1, and FALSE to 0.</li></ul>
Float Float, Double 64-bit float
String UnicodeString, GUID The maximum string length is 50 characters.