A financial services company is analyzing VPN logs to track user session durations. The logs contain a `user_id`, `event_type` (with values 'login' and 'logout'), and `timestamp`. The analyst needs to calculate the duration of each session. The following two searches are proposed. Which statement accurately compares them? **Search A:** `index=vpn sourcetype=vpn_logs | transaction user_id startswith="event_type=login" endswith="event_type=logout" | table user_id, duration` **Search B:** `index=vpn sourcetype=vpn_logs | stats first(_time) as start_time, last(_time) as end_time by user_id | eval duration = end_time - start_time | table user_id, duration`