Difference between two consecutive points


My points in my DB are the total up-links, I want to display the difference between the two, so the difference of 159123 - 159085 at epoch 1596352429461149465

DB points
1596348829461149465 eui-b827ebfffe400c98 159085
1596352429461149465 eui-b827ebfffe400c98 159123

The result I want to post to a new DB.


In flux, there’s a difference() built in function. I actually used it in my out setup last week when I needed to know if error counters were increasing on a nic card.


This is for Flux? I use Influx, let me have a look.