We investigate Rayleigh scattering in dissipative optical lattices. In particular, following recent proposals [S. Guibal, Phys. Rev. Lett. 78, 4709 (1997)]; C. Jurczak, Phys. Rev. Lett. 77, 1727 (1996)]], we study whether the Rayleigh resonance originates from the diffraction on a density grating and is therefore a probe of transport of atoms in optical lattices. It turns out that this is not the case: the Rayleigh line is instead a measure of the cooling rate, while spatial diffusion contributes to the scattering spectrum with a much broader resonance.