Getting network traffic per second using Telegraf + Loki

Hello everyone, I’m using Telegraf to send metrics from our Linux Virtual Machines directly to Loki (not using InfluxDB).
It happens that the net input in Telegraf sends bytes_received and bytes_sent to Loki and I tried to create a visualization to see the networking traffic per second using those data, but the visualization is showing as an increased total, not by second (kb/s for instance).

I saw that if using InfluxDB I could use a derivative function. Is there a way to achieve the same without InfluxDB?

Image to show how it is right now:

What I’m trying to achieve:

There is no derivative function in Loki. If your intent is to store metrics, I’d recommend you to use Mimir instead.