Sure.
We are collecting the amount of bytes downloaded on a per 1m interval in a doc that looks like this:
{
"timestamp": 1504702131146
"bytes": 1000
}
And we want to display the average gbps (gigabit per second) over time, regardless of the time interval that Kibana chooses.
Basically we need to do something like this: (params.bytes * 8) / ((params._interval * 1000) * (1000 * 1000 * 1000)), which is bytes as bits/(interval as seconds * bits as gigabits).
Makes sense?