Recent advances in the computing power and storage devices have made computer-based recording of polysomnograms (PSGs) very attractive. Digital PSGs offer the possibility of automating many tedious and time-consuming tasks of identifying sleep related events. Automation not only alleviates these laborious tasks, but also introduces a measure of objectivity in the scoring of various discrete events. In this paper we briefly review some automatic methods that have been previously developed by the authors. Automatic sleep staging methods is emphasized with some illustrative results on inter-scorer variations. We also discuss the leg movement event, respiratory event, sleep spindle and rapid-eye-movement detection methods.