How do you track Kellogg with Dogmeat in Fallout 4?

Quick answer: Follow Dogmeat south from Diamond City and show him each clue he finds: a cigar, a bloody rag, the Assaultron remains and bloody bandages. The trail ends at Fort Hagen.
Show walkthrough (quest spoilers)
Start the trail
Dogmeat starts at Diamond City and heads south. Stay close and follow him; he stops when he finds a clue. At a pond you find a San Francisco Sunlights cigar, Kellogg’s brand, so show it to him.
Along the railroad
The trail follows the railroad tracks. Mole rats, mongrels and sometimes a Yao Guai attack along the way, so keep your weapon ready. At an underpass, show Dogmeat a bloody rag to keep him on the scent.
Toward Fort Hagen
Further on you pass the remains of an Assaultron and a cave in a forest, where a Deathclaw can be waiting. Bloody bandages on a fence near Fort Hagen are the last clue.
End of the trail
Dogmeat stops at Fort Hagen. Go in through the roof hatch or the parking lot. See the Reunions walkthrough for the fight inside.
