Nigeria's President Goodluck Jonathan on Thursday made a surprise visit to the troubled northeast, which is in the grip of escalating Boko Haram violence that is threatening next month's election.