Distributed troubleshooting of web sessions using clustering