Skip to content

Commit

Permalink
Add Timestamp field to Snort data structure in GetRawDataFromMetrics …
Browse files Browse the repository at this point in the history
…function (#3)
  • Loading branch information
fadhilyori authored Feb 21, 2025
1 parent 97523d7 commit d76c7e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func GetRawDataFromMetrics(data *pb.SensorEvent, metric *pb.Metric) *types.Snort
TCPLen: metric.SnortTcpLen,
TCPSeq: metric.SnortTcpSeq,
TCPWin: metric.SnortTcpWin,
Timestamp: metric.SnortTimestamp,
TOS: data.SnortTypeOfService,
TTL: metric.SnortTimeToLive,
UDPLen: metric.SnortUdpLength,
Expand Down

0 comments on commit d76c7e0

Please sign in to comment.