evtctxgetvar()
Loads the user variable in the event context associated with the key. If no event context exists with the specified key or no variable exists, it returns null
.
Syntax
evtctxgetvar(TOPIC, KEY, VARIABLE)
TOPIC
- Topic of the event context.
KEY
- Unique key that distinguishes the event context.
VARIABLE
- User variable to load.
Usage
Use the sessionkey field value as the identifier of the web_session
context and load the client_ip
variable
evtctxgetvar("web_session", sessionkey, "client_ip")