Skip to main content
Skip table of contents

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
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.