Spectral diagnostic of a resonantly laser created plasma