Log data preprocessing for mining Web browsing patterns