Download Log Parser 2.2 from the microsoft site. After the installation google is your friend
Example
Hits on a particular page by IP address
LogParser -i:IISW3C "SELECT c-ip, COUNT(*) As Hits FROM C:\WINDOWS\system32\LogFiles\temp\*.log WHERE EXTRACT_FILENAME(cs-uri-stem) = 'default.aspx' AND sc-status = '200' GROUP BY c-ip Order by Hits DESC" -o:DataGrid
Another great way to analyse log files is the tool: Log Parser Studio. With this tool you can easy query loggings with a GUI: