Can I have a single line in chart for multiple series

Hi Team,

I am creating a line chart using the following query.
{seriesName=“testSeries”, source=“Online Source”, instanceID=~“myInstance”}

For the first time this query gives a series(key value pair) of properties of a online server. Also series contains the entry of the online server name. But as the server restarts, a server with different name is getting created. So because the change in the name of server, different color line in chart is created.

My question is, can I merge the newly created series of new server name, so that if server restarts chart will always show single line(same color) chart.

Regards,
Vikram Goel