Expression macros are useful for formula calculations. They are calculated by expanding all macros inside and evaluating the resulting expression.
Expression macros have a special syntax:
See example of using an expression macro in the event name.
In the following locations:
only a single function, from the following set: avg, last, max, min, is allowed as an expression macro, e.g.:
Expressions such as {?last(/host/item1)/last(/host/item2)}, {?count(/host/item1,5m)} and {?last(/host/item1)*10} are incorrect in these locations.
However, in:
complex expressions are allowed, e.g.:
See also: