Web usage mining uses data mining technologies to discover usage patterns from Web data so as to understand and better serve the needs of Web-based applications.Web usage mining consists of 3 phases,namely,preprocessing,pattern discovery and pattern analysis.This paper describes each of these phases in detail.