AV 8579 then JA 5172 at Bogotá
Bucaramanga → Bogota → Santa Marta
Timetable, Bogota time
15:05AV 8579 from Bucaramanga at the gate
15:00JA 5172 to Santa Marta leaves the gate
23 h 55 apart on the timetable, overnight
JA 5172 leaves 23 h 55 after AV 8579 arrives on the timetable: more than half a day, so not a connection we count.