"smoked herring" early 15c. (they turn red when cured), as opposed to white herring "fresh herring." Supposedly used by fugitives to put bloodhounds off their scent (1680s), hence metaphoric sense (1864) of "something used to divert attention from the basic issue;" earlier simply "a false lead":

Though I have not the honour of being one of those sagacious country gentlemen, who have so long vociferated for the American war, who have so long run on the red-herring scent of American taxation before they found out there was no game on foot; (etc.) [Parliamentary speech dated March 20, 1782, reprinted in "Beauties of the British Senate," London, 1786]