Taking 2 different expressions and combining info for a 3rd result

I have 2 different expressions. One gives me host names that I need, the other gives me it’s status. I’m trying to figure out how to pull the data together so I have the names and status in one.
ex. -
apCombinedStatsSessionAgentStatus{function=“TEST DEVICE”} ( looking at values of 3)

apSipSAStatsSessionAgentHostname{function=“TEST DEVICE”} (specifically the field apSipSAStatsSessionAgentHostname=)