How many wires on the switch?

Can you link the part number?

Generally the l x p in the circle is the 3 prong flasher designator
X= power
L= load (switch)
P= pilot (flashing light in switch)

Trace the blue and black and see if you can determine which one is for the pilot light

Of course all the above could be wrong without knowing what type of switch you have