In a lua sandbox filter, I'd like to get the value of the "Severity"
message variable, but in the "process_message" function if I do:

    local severity = read_message("Severity")
    if severity == nil then
        return -1, "severity can't be nil"
    end

when a message is processed by the sandbox, it always returns "severity
can't be nil" whereas the message Severity was set to 5.

Is "read_message" the right function to use to read the message Severity?

Thanks.
Bruno
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to