Hi, is there anyone good at merging data in a table? I have these 3 instances that use 2 different jobs, so the data appears on 6 lines instead of 3. I’ve been trying to join by instance, but the instance names are slightly different as 1 job is from blackbox and the other from pushgateway.
I did try and use the label_replace option to give them a column with the same name I could try and use to join or merge, but no luck either.
For example on my blackbox query it was something like this:
probe_http_status_code{job="blackbox-as", instance=~"http://(abc.*)-<http://domain.com/health|domain.com/health>"
and I added the label_replace
probe_http_status_code{job="blackbox-as", instance=~"http://(abc.*)-<http://domain.com/health%22}|domain.com/health"}>,
"type", "test", "instance", ".*"
)```
If I use the transformation merge series/tables then I see just the 3 instance over 6 lines instead of 3. If I join by label I get no options, I was expecting 'test'. I did also try a join by field and used OUTER (TIME SERIES) and chose type, but no luck, as it seems to create a type 1 (pushgateway) and type 2 (blackbox).
Is there any way I can join this data?