In the Correlation rules window, go to the General tab and add the created local variable to the Identical fields section. Prefix the local variable name with a "$" character.
In Correlation rules window, go to the Selectors tab, select an existing filter or create a new filter and click Add condition.
Select the event field as the operand.
Select the local variable as the event field value and prefix the variable name with a "$" character.
Specify the remaining filter settings.
Click Save.
For an example of using local variables, refer to the rule provided with KUMA: R403_Access to malicious resources from a host with disabled protection or an out-of-date anti-virus database.