Aaron Hill's numbers are tumbling, his playing time is dwindling and his name keeps surfacing in trade rumors. He has not had many moments to savor this season, but he entered a game in the 10th inning on Wednesday afternoon and set into motion a series of events that ended with the Diamondbacks celebrating a comeback win over the Miami Marlins.

Hill's opposite-field single in a nine-pitch at-bat against Marlins closer Steve Cishek started a three-run rally for the Diamondbacks, who would later get a walkoff double from Paul Goldschmidt to come away with a 4-3 win over the Marlins, allowing them to secure a rare series victory at Chase Field.

Injuries have upset the balance of the Diamondbacks' roster and led to the promotions of young infielders Didi Gregorius and Nick Ahmed, players the organization does not want stagnating on the bench. Combine that will Hill's lack of production — he entered Wednesday with a career-low .627 OPS — and it explains why he's begun to find himself on the bench more often, usually once every few games.

"I get it," Hill said. "They've got to see what these young guys can do. It's fun to watch these guys play. They're great athletes and great ballplayers."

His day off this series came on Wednesday, but after the Diamondbacks coughed up a pair of runs in the top of the 10th, manager Kirk Gibson sent Hill to the plate against Cishek to lead off the bottom of the inning.

Hill got ahead 2-1, but with Cishek's slider in the back of his mind, he fouled off fastball after fastball before, finally, on the ninth pitch of the at-bat, he grounded an outside fastball through the right side for a single.

"I was just battling," Hill said. "I've been feeling good the last couple of days. I was just trying to get something up. He made some good pitches and I was just lucky enough to foul some balls off."

After a walk to Ender Inciarte and an RBI single by David Peralta, Goldschmidt came to the plate in a situation in which the Marlins had little choice but to pitch to him. If they walked him, they would put the go-ahead run in scoring position for the left-handed hitting Miguel Montero.

"They had to throw to him and he had a good approach and he really stung it," Gibson said.

Cishek threw a slider, the pitch spun over the middle of the plate, maybe knee high, and Goldschmidt drove it into the left-center-field gap, scoring Inciarte and Peralta with the tying and winning runs.

"It was probably a good thing I got to face him (Tuesday) in the ninth, so I got to see a few pitches from him," Goldschmidt said. "He's a really good pitcher. Fortunately the pitch was in the middle of the plate and I was able to hit it."

But it all began with Hill's single, a hit that came in the kind of tough at-bat the Diamondbacks had become accustomed to seeing from him the previous two seasons. There have been fewer of them this year, and he admits the playing-time situation isn't ideal for working out of a slump.

"Obviously, everybody wants to play every day," Hill said. "We're up here because we're competitors and we want to play every day. It comes down to your attitude and how you deal with things. It's been tough, but I've got a great clubhouse here of guys that are very supportive. They've got everybody's back here and that definitely helps."

The Diamondbacks shower Paul Goldschmidt after his walk-off 2-run double to defeat the Miami Marlins at Chase Field on Wednesday, July 9, 2014. The Diamondbacks won 4-3 in 10 innings. Charlie Leight/azcentral sports

Miami Marlins' Adeiny Hechavarria tags Miguel Montero on a rundown in seventh inning, as the Diamondbacks play the Miami Marlins at Chase Field on Wednesday, July 9, 2014. The Diamondbacks defeated the Marlins 4-3 in 10 innings. Charlie Leight/azcentral sports

The Diamondbacks' David Peralta runs toward home to score the winning run as the D-Backs play the Miami Marlins at Chase Field on Wednesday, July 9, 2014. The Diamondbacks defeated the Marlins 4-3 in 10 innings. Charlie Leight/azcentral sports

The Diamondbacks' David Peralta scores the winning run off a Paul Goldschmidt walk-off double as the D-Backs play the Miami Marlins at Chase Field on Wednesday, July 9, 2014. The Diamondbacks defeated the Marlins 4-3 in 10 innings. Charlie Leight/azcentral sports

The Diamondbacks' David Peralta scores the winning run off a Paul Goldschmidt walk-off double as the D-Backs play the Miami Marlins at Chase Field on Wednesday, July 9, 2014. The Diamondbacks defeated the Marlins 4-3 in 10 innings. Charlie Leight/azcentral sports

The Diamondbacks' Paul Goldschmidt gets congratulations from David Peralta after his walk-off 2-run double to defeat the Miami Marlins at Chase Field on Wednesday, July 9, 2014. The Diamondbacks won 4-3 in 10 innings. Charlie Leight/azcentral sports

The Diamondbacks' Martin Prado grabs David Peralta after Peralta scored the winning run as the D-Backs defeat the Miami Marlins at Chase Field on Wednesday, July 9, 2014. The Diamondbacks won 4-3 in 10 innings. Charlie Leight/azcentral sports

Miami Marlins' Marcell Ozuna (13) celebrates with teammate Ed Lucas, his two run home run against the Arizona Diamondbacks in in the 9th inning of their MLB game Tuesday, July 8,, 2014 in Phoenix, Ariz. David KadlubowskI/azcentral sports

Arizona Diamondbacks relief pitcher Addison Reed (43) following the 9th inning where he gave up a two-run home run to Miami Marlins' Marcell Ozuna (13) in their MLB game Tuesday, July 8,, 2014 in Phoenix, Ariz. David KadlubowskI/azcentral sports

Arizona Diamondbacks relief pitcher Addison Reed (43) watches as he gives up a two-run home run to Miami Marlins' Marcell Ozuna (13) in the 9th inning of their MLB game Tuesday, July 8,, 2014 in Phoenix, Ariz. David KadlubowskI/azcentral sports

Miami Marlins' Marcell Ozuna (13) celebrates his two-run home run against the Arizona Diamondbacks in the 9th inning of their MLB game Tuesday, July 8,, 2014 in Phoenix, Ariz. David KadlubowskI/azcentral sports

Miami Marlins catcher Jarrod Saltalamacchia (39) can't make the throw on Arizona Diamondbacks' Vidal Nuno (54) following a bunt in the 2nd inning of their MLB game Tuesday, July 8,, 2014 in Phoenix, Ariz. David KadlubowskI/azcentral sports

Arizona Diamondbacks shortstop Nick Ahmed (13) makes a play for an out against Miami Marlins' Brad Hand (52) in the 3rd inning of their MLB game Tuesday, July 8,, 2014 in Phoenix, Ariz. David KadlubowskI/azcentral sports

Arizona Diamondbacks shortstop Nick Ahmed (13) watches his foul ball in the 4th inning of their MLB game against the Miami Marlins Tuesday, July 8,, 2014 in Phoenix, Ariz. David KadlubowskI/azcentral sports

Arizona Diamondbacks' Aaron Hill is forced out at second as Miami Marlins second baseman Ed Lucas (59) turns a double play on a ball hit by Paul Goldschmidt in the 5th inning of their MLB game Tuesday, July 8,, 2014 in Phoenix, Ariz. David KadlubowskI/azcentral sports

Arizona Diamondbacks' Vidal Nuno (54) scores on a single by Aaron Hill in the 6th inning of their MLB game against the Miami Marlins Tuesday, July 8,, 2014 in Phoenix, Ariz. David Kadlubowski David KadlubowskI/The Republic

Diamondbacks' David Peralta celebrates with Paul Goldschmidt after Goldschmidt scored in the fourth inning against the Marlins at Chase Field in Phoenix, AZ on Monday, July 7, 2014. Patrick Breen/azcentral sports

Diamondbacks' Gerardo Parra hits hands with Ender Inciarte after the two scored against the Marlins in the second inning at Chase Field in Phoenix, AZ on Monday, July 7, 2014. Patrick Breen/azcentral sports

Like this topic? You may also like these photo galleries:

Recap:Paul Goldschmidt's two-run double gave the Diamondbacks a walkoff win over the Miami Marlins on Wednesday and secured them just their fourth series victory at Chase Field this season.

After right-handers Josh Collmenter and Nathan Eovaldi each allowed just one run in seven innings, the Marlins scored twice off reliever Brad Ziegler in the top of the 10th before the Diamondbacks rallied for three runs off Marlins closer Steve Cishek to win it.

Strong again:With three runs allowed in 10 innings, the Diamondbacks' pitching staff has posted a 2.85 ERA in the past 12 games.

But the team has won just half of those games as the offense has had difficulty finding consistency, scoring three runs or less eight times.

"The pitching has been unbelievable for our team," Goldschmidt said. "We've been letting them down as a group. You've got to score more than one run, for the most part, to win games and we haven't been doing that. It was nice to be able to score some there at the end."

Collmenter gave up just seven hits and a walk in seven innings. In three games against the Marlins, Diamondbacks starters allowed just two runs on 17 hits and four walks in 20 innings.

One bad pitch: Ziegler essentially made one mistake — a change-up he left up to the Marlins' Donovan Solano — that resulted in two earned runs and nearly cost the Diamondbacks' the game.

After Ziegler retired the side in order in the ninth, he was sent back out for the 10th, an inning that began with the Marlins' Adeiny Hechevarria chopping a single over the head of third baseman Martin Prado.

After a sac bunt and a strikeout, Ziegler fell behind Christian Yelich 2-0 when the dugout ordered an intentional walk, bringing up Solano.

Solano pulled an 0-1 pitch into the left-field corner to drive in two runs and give the Marlins what turned out to be a short-lived 3-1 lead.

"I'm trying to throw that pitch at the knees or lower and I threw it belt high if not higher," Ziegler said. "That's a pitch that, even if you're not looking for it, if it's in that location it's pretty easy to hit."

View from the press box:Roger Kieschnick might only be hitting .207, but in recent days he's been a positive contributor by virtue of his mere presence. In three of the past four games, he's been sent up as a pinch-hitter, causing the other team to make a pitching change, and then been replaced by a pinch-hitter. In two of those instances, the pinch-hitter has delivered a hit. The respect he's getting from opposing managers must have to do with the good numbers he posted against right-handers in the minors.