Were is the knock sensor on a 1997 subaru impreza outback?

You can find the knock sensor on the top side of the engine under the intake manifold. It is easiest to find from the driver's side and is at the back of the engine block.