Display bytes per second in Line viz


with the lockdown, I'm currently working on a dashboard to sum up the throughput on our remote connection systems.

I've created a custom script as such :

{ "script" : "doc['Bytes'].value / 60" }

and forced the histogram value to "minute".

I want to have a divider related to the duration of the bucket, but I don't know how to to this.

Is there a way ?

Thanks for your answer.

Hi, could you give a bit more information on what you're trying to do? I don't understand why you need a custom divider at all.

Indeed, my message was not very clear. And now I've changed the way I'm loading the data so I'll try to explain myself.

I'm using logstash to query my border firewall throught snmp and get the details about all its interfaces.

l'm loading the datas into an elasticsearch index.

I've created a Line viz to display the data, using the Serial Diff Aggregation :

Now I want to convert the data to bits per second, if there is a way to do so.

I've found a way to have the viz I want :

So now I have the visualization I want.

Thanks for help :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.