You can use this query from the Ad hoc reports page as a place to start from, then add the various filters as you need.
Analytics and reporting
Query Needed (Login/Logout)
This discussion has been locked so you can no longer reply to it.