Grouping values in pairs

Hi,

I am configuring some new graphs to view backup period jobs. If a backup runs correctly, two “1” values are saved with the start and the end epoch timestamp. I would like to group in pairs these values in grafana. By this way, the graph will shows the backups execution windows. Furthermore, if I have more that 1 backup, I will see the overlapping between jobs.

So, How can I do that? Obviously, as I show in the attached image, the values are connected, but I only want connect the two values of every execution of each job.
grafana_example

As you can see, the line of the middle shouldn’t exists.

Thanks beforehand!!