Velocity in a rule action - Basic
This is a very basic for users new to using velocity. Velocity is a powerful scripting language. A very simple of using velocity is to set values based on variables from a rule. In the example provided we are setting the event name to include the targeted system of an attack. Any field in ESM is available to use as a velocity variable and is represented using a $fieldName in camel notation. When using velocity in rules be sure to aggregate on the field for which he value is trying to be extracted.