Optional
additionalA container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.
Arithmetic operation between one or more log attributes.
Optional
isWhether or not the processor is enabled.
Optional
isIf true
, it replaces all missing attributes of expression by 0
, false
skip the operation if an attribute is missing.
Optional
nameName of the processor.
Name of the attribute that contains the result of the arithmetic operation.
Type of logs arithmetic processor.
Generated using TypeDoc
Use the Arithmetic Processor to add a new attribute (without spaces or special characters in the new attribute name) to a log with the result of the provided formula. This enables you to remap different time attributes with different units into a single attribute, or to compute operations on attributes within the same log.
The formula can use parentheses and the basic arithmetic operators
-
,+
,*
,/
.By default, the calculation is skipped if an attribute is missing. Select “Replace missing attribute by 0” to automatically populate missing attribute values with 0 to ensure that the calculation is done. An attribute is missing if it is not found in the log attributes, or if it cannot be converted to a number.
Notes:
-
needs to be space split in the formula as it can also be contained in attribute names.0.1234567891
, the actual value stored for the attribute is0.123456789
.