Longitudinal magnetic fluctuations in Langevin spin dynamics