ATLANTA -- Rookie Logan Webb allowed only two hits and one run in six innings, Evan Longoria drove in two runs with two hits and the San Francisco Giants beat Dallas Keuchel and the Atlanta Braves 4-1 on Sunday.
Braves manager Brian Snitker, preparing the NL East champions for the playoffs, rested outfielder Ronald Acuña Jr., third baseman Josh Donaldson and second baseman Ozzie Albies. Albies had his second straight day off before reaching on a pinch-hit single in the ninth.
Webb (2-2) was sharp in his seventh start, preventing the Braves from a three-game sweep in their final regular-season game at SunTrust Park.
Webb struck out seven. He opened the game with five scoreless innings before Adeiny Hechavarría tripled in the sixth and scored on Freddie Freeman's groundout.
Relievers Tyler Rogers and Will Smith closed out the combined five-hitter. Smith pitched the ninth for his 34th save.
After being outscored 14-1 in losing the first two games of the series, the Giants scored three runs in the sixth off Keuchel (8-7).
Longoria was only 2 for 17 on the road trip before driving in Austin Slater with a double to right-center off Keuchel in the sixth. Joey Rickard's double to left field drove in Longoria and Kevin Pillar, who reached on shortstop Dansby Swanson's fielding error.
Longoria added a run-scoring single off Luke Jackson in the seventh.
Rickard and Mike Yastrzemski had two hits.
Webb allowed only one baserunner through four innings before issuing back-to-back walks to Matt Joyce and Tyler Flowers with one out in the fifth. After the right-hander threw two straight balls to Billy Hamilton, pitching coach Curt Young visited the rookie on the mound.
Webb recovered by striking out Hamilton and Keuchel to end the inning.
Swanson hit leadoff for only the second time this season and was 0 for 4 with two strikeouts. He whiffed on Longoria's grounder in the ninth for his second fielding error.
Keuchel allowed three runs, two of them earned, on six hits in six innings.
The Braves haven't given up on utility player Johan Camargo returning from a right shin fracture. Camargo has been on the injured list since Sept. 12. With Charlie Culberson out for the season with facial fractures after being hit by a pitch, the Braves' bench has lost its most versatile players.
Hechavarría, a shortstop who made his second straight start at second base, is filling the utility role. Rookie Austin Riley started at third base after playing first base on Saturday night, adding more versatility.
The turnout of 33,674 for the final home game left the Braves with their top attendance total since 2007. The season attendance was 2,655,100 — about 100,000 more than 2018's total of 2,555,781. The 2007 total was 2,745,207.
Giants: Following an off day Monday, the Giants finish the season with a six-game homestand which opens on Tuesday night against Colorado with LHP Madison Bumgarner (9-9, 3.86) facing RHP Jeff Hoffman.
Braves: Atlanta opens a two-game series at Kansas City on Tuesday night with RHP Julio Teheran (10-10, 3.55) facing Danny Duffy.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP—Sports