Hey i have a Legacy B4 and recently had little problems like a slight missing or misfire. I changed plugs and didn't help. However i change coil pack and that solved my problem. Try plugs also make sure the car is reaching the correct temperature
Sent from my iPhone using Tapatalk