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.
2014: NFL Cheerleaders [PHOTOS]
Michael Sam cut from the Dallas Cowboys