Walker Buehler lasted just four innings because of right elbow discomfort, and the Dodgers lost 7-2 to the San Francisco Giants to open a three-game series.