Get a whiff of (something)

To learn a little about something (almost by chance).

Whenever the reporters get a whiff of a scandal they start asking questions.