Gatling live monitoring (gatling - influxdb - grafana)

Hi,

Am connecting gatling with influxdb and grafana to make a live monitoring for the test.

How can i calculate active number of user from data written in influx and display it on grafana. ??

Here are the column that has been written in influx :

time count max mean min percentiles50 percentiles75 percentiles95 percentiles99 request simulation status stdDev

Thanks
Khaled ALRimawi