Ubuntu 14.04
statistic match options:
--mode mode Match mode (random, nth)
random mode:
[!] --probability p Probability
nth mode:
[!] --every n Match every nth packet
--packet p Initial counter value (0 <= p <= n-1, default 0)
Example)
-A OUTPUT ! -s 192.XXX.XXX.211/32 -m statistic --mode nth --every 100 --packet 1 -j LOG --log-prefix "eth0_OUTPUT_BAD_LOG:"