New docs portal launching December 21st! All Exabeam, LogRhythm, and API documentation is moving to docs.exabeam.com. Existing links will redirect automatically, but we recommend updating your bookmarks.
5.0.7 5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0
5.0.7 5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0

Classify Newegg Traffic


function Flow_ClassifyNeweggTraffic (dpiMsg) local function isempty(s) return s == nil or s == '' end local app = GetString(dpiMsg, "internal", "application") if app == "http" then local location = GetString(dpiMsg, "http", "location") local headerRaw = GetString(dpiMsg, "http", "header_raw") if not isempty(location) then foundInLocation = string.find(location, "newegg", 1, true) end
if not isempty(headerRaw) then foundInHeader = string.find(headerRaw, "newegg", 1, true) end
if foundInLocation or foundInHeader then SetCustomApplication(dpiMsg, "newegg") end endend