MIAMI -- Rookie Trent Grisham is enjoying being part of a race for a postseason berth.
"He plays with a smile on his face, but he's a competitive person," Brewers manager Craig Counsell said. "He's done a nice job. You get five hits in a big September game and lead the offense from a rookie, that's as much as you can ask."
Milwaukee moved within six games of idle first-place St. Louis in the NL Central. The Brewers remain two games out of the second wild-card spot occupied by the division rival Chicago Cubs.
"It's a lot of fun, exciting for sure," said Grisham, who joined the team on Aug. 1. "All of the guys made me feel like I'm part of the team and go and just help compete with them on this run."
"It was a long game and to keep your focus and concentrate and put up zeroes on the pitching-side, (Grandal) is going to be a little exhausted tonight for sure, but the way he's swinging the bat we need him in there," Counsell said.
The game featured 15 pitchers who combined for 14 walks. The Marlins loaded the bases in four innings while the Brewers did it three times.
"It was the next guy up to get out of a jam and clean up some messes," Counsell said.
Grisham grounded out to lead off the game before recording hits in each of his next five at-bats, including a double and a triple. Needing a homer for the cycle in the ninth, he blooped a single to left-center.
"It's still the same approach I had the whole game, just do damage, try to get a good swing off, and have another good at-bat," Grisham said.
The Brewers led 4-3 before breaking the game open with a four-run seventh.
Grisham hit a two-run triple before Grandal went deep, his 26th homer this season. That's one short of his career high.
"The four-run inning took the sting out of us," Marlins manager Don Mattingly said. "That kind of took the wind out of our sails it seemed like."
"Matt has done a really good job of coming in those situations for us and he was big tonight," Lyles said.
The Brewers got two runs in the first inning off Robert Dugger (0-2). Cain singled with the bases loaded and Cory Spangenburg followed with a run-scoring groundout.
Pinch-hitter Ryan Braun hit a sacrifice fly in the sixth to push the lead to 4-1.
Miguel Rojas's two-run single pulled the Marlins within 4-3.
Marlins manager Don Mattingly's uncertain future with the organization past this season is not weighing on him.
"Not really," Mattingly said. "I'm in a pretty good spot in my mind. I have to make a choice too. So not really. We'll talk. We've talked about getting together and I assume we'll get together quickly because they've got to do a whole staff depending on what direction they want to go so not really, no. I feel pretty good."
The Marlins have gone through an extended rebuilding process since Mattingly arrived in 2016 and won 79 games. The wins have decreased each season since and the Marlins have NL's worst record this year.
"I do like the thought of young guys getting better and growing in this organization is really what I was thinking when I first came here. That's still something that I want, but the losses are hard to deal with and over time," Mattingly said. "We have a chance to lose over 100 games. We didn't lose 100 last year, but we have a chance this year and you don't quite know where the next year or two is going."
Brewers: IF Mike Moustakas (hand) took batting practice before the game and could return to the lineup in the series. "Moose is improving, he's taking batting practice and that's a very good sign so we're getting closer there," manager Craig Counsell said. ... 2B Keston Hiura (hamstring) also took batting practice and C Manny Pina (concussion) could also make his return in the series.
Grandal was charged with a passed ball on ball four with Harold Ramirez on first in the seventh. Instead of going toward the backstop to retrieve the ball, he reached toward home plate umpire Mark Carlson for the ball, allowing Ramirez to advance to third on the play before going to the ball.
Brewers: RHP Chase Anderson (6-4, 4.58 ERA) is 1-1 with a 2.55 ERA in four starts at Marlins Park.
Marlins: RHP Elieser Hernandez (3-5, 5.23) allowed five runs, three earned, in the first inning of his last start at Pittsburgh.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
AL West offseason preview: Can Angels land an ace?
Will Gerrit Cole end up with the Angels? Can the Astros afford to keep their team together? We answer big offseason questions for the AL West.
Twins pitcher Jake Odorizzi: Betting on self as 2020 free agent
Pitcher Jake Odorizzi said accepting the Twins' $17.8 million qualifying offer came down to "betting on myself and returning to a place I know very well and enjoyed."
Sources: Pirates hire Ben Cherington as new GM
The Pirates have hired Ben Cherington as the team's new general manager, according to multiple reports and confirmed by ESPN.
AL Central offseason preview: Francisco Lindor's future, Twins' rotation in focus
The Indians have a big decision to make about their biggest star, Minnesota needs a lot of arms and the White Sox could be on the cusp of good things.
Way-too-early 2020 MLB awards predictions
Will Juan Soto rise to the top? Can anyone unseat Mike Trout? Here's the first look at next year's hardware hopefuls.
Trout on 3rd MVP: 'I always try to be the best player'
Mike Trout joins SVP after winning the American League MVP award and says it was special to be recognized as the league's best player for the third time.