顺藤摸瓜

shùn téng mō guā

lit. to follow the vine to get to the melon

to track sth following clues

shùn

to obey

téng

rattan

to feel with the hand

guā

melon; gourd; squash