Update
This commit is contained in:
parent
a292dd5bdf
commit
780b052802
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -45,7 +45,7 @@ const processLogLine = async (line, test = false) => {
|
|||
date: parseTimestamp(line), // Log timestamp
|
||||
srcIp: line.match(/SRC=([\d.]+)/)?.[1] || null, // Source IP address
|
||||
dstIp: line.match(/DST=([\d.]+)/)?.[1] || null, // Destination IP address
|
||||
proto: line.match(/PROTO=(\S+)/)?.[1] || null, // Protocol (TCP, UDP, ICMP, etc.)
|
||||
proto: line.match(/PROTO=(\S+)/)?.[1] || null, // Protocol (TCP, UDP, etc.)
|
||||
spt: toNumber(line, /SPT=(\d+)/), // Source port
|
||||
dpt: toNumber(line, /DPT=(\d+)/), // Destination port
|
||||
in: line.match(/IN=(\w+)/)?.[1] || null, // Input interface
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue