Get Strings as Table
function Flow_GetSTringAsTable (dpiMsg, ruleEngine) require 'LOG' -- Get all the SNMP method calls in a session and display each one in a separate log statement if GetLatestApplication(dpiMsg) == 'snmp' then local headersAsTable = GetStrings(dpiMsg, 'snmp', 'method') for key, value in pairs(headersAsTable) do EZINFO("Index: ", key, " method: ", value); end end end |