I have lots of netflow data (i.e src_ip, dest_ip, beg_time, end_time, data_size, etc)
and some of them are happening periodically that I want to find out.
Consider I have n netflow(maybe around 10^6) and m of them are periodic. How could I find which ones are periodic?
I can write a code but it will be at least O(n^3 logn), which will take forever for after 10^4 number of netflow.
I have searched about it but couldn't find anything.
Note: You can consider data is sorted according to start time and start time is 32 bit unsigned int(uint32 in c++)
Correction: src_ip
is unique and dest_ip
is not unique, time for periodicity
is unknown. It may be 5 min or it may be 5 days. You can forget about src_ip, dest_ip, end_time, data_size
and other attributes of flow. I'm only looking for events whose beginning times are periodic and you can consider, I have eleminated events which are unrelated like different src_ip's, and so on...
Any help will be appreciated,
Thanks