manuelkasper / AS-Stats

A simple tool to generate per-AS traffic graphs from NetFlow/sFlow records
BSD 2-Clause "Simplified" License
195 stars 67 forks source link

Graphs: smooth network bursting (enhansment) #65

Open acoul opened 7 years ago

acoul commented 7 years ago

the following patch helped a lot in smoothing the graphs on network bursts:

- "--slope-mode --alt-autoscale -u 0 -l 0 --imgformat=PNG --base=1000 --height=$height --width=$width " . + "--logarithmic --slope-mode --alt-autoscale -u 0 --imgformat=PNG --base=1000 --height=$height --width=$width " .

it may be nice to have this as an option in the config file.

acoul commented 7 years ago

while this is great for the spikes issue, we loose the negative display.

There is this an interesting blog about using trends to fight the spike issue.

I've also bumped into this: negative logarithms

an example of the issue and the same graph with logarithmic scale.