Actions
Feature #6410
openLog packets/bytes per second in Suricata stats
Effort:
Difficulty:
Label:
Beginner, C, Good First Issue
Description
In Suricata stats it could be nice to have an average of packet/bits per second (pps/bps) in the given delta between stats windows.
Say that stats are refreshed every 8 seconds (1 stats window). Then the average can be calculated as delta of packets/bytes between two stats windows divided by stats refresh interval.
e.g.
stat_window_new.pps = (stat_window_new.kernel_packets - stat_window_old.kernel_packets) / stat_refresh_interval
Actions