After losing two games in a row for the first time since June 20-21, the Dodgers have bounced back with two straight victories.
Greinke (12-3) gave up six hits without a walk and struck out seven. He won his fourth consecutive start. Kenley Jansen allowed a walk and struck out one in the ninth for his 21st save.
Giancarlo Stanton hit the home run for Miami in the opening inning, but the Dodgers took the lead with a three-run fourth that featured a go-ahead single by Andre Ethier.
Nathan Eovaldi (2-4) suffered the setback, giving up three runs on six hits in just three-plus innings.
Newt Gingrich fires back at Mandela backlash
Reindeer recovered after escaping from Santa during lighting ceremony