I'd try computing FFT on signals corresponding to your data.
For example, I'd transform the chunk beg_time
=1, end_time
=5, data_size
=100 into a square pulse from 1 to 5 units of time with the amplitude 100.
If you want analyze everything together, you superimpose all the pulses you've got.
If it doesn't make sense to put everything together, superimpose only the pulses from the same src_ip
or from the same pair of src_ip
and dst_ip
.
And then run the FFT on those signals obtained through superposition and see if there any noticeable peaks in the frequency domain, or it all looks randomish, no outstanding peaks.
FFT runs in O(n*log(n)) time, where n
is the number of signal samples.
I'm sure there must be better ways to do it, but it may be worth a try.