Scenario
A user named Sarah reports that she uploaded a document but it disappeared from her folder. You need to figure out what happened.Investigation
Get the session ID
From your application logs or the user’s support ticket, identify the session ID. If you are using the auto-session feature, this is typically your framework’s session ID.
Identify the issue
The timeline reveals that Sarah uploaded the document at 09:05, then 27 seconds later a
document.moved action moved it to the “Archive” folder. This was likely an accidental drag-and-drop.You can now inform Sarah where her document went and investigate whether the move was intentional or triggered by a UI bug.Additional Queries
Filter by actor within a session
Search for specific actions
Check geolocation
If the session shows actions from unexpected locations, the account may be compromised:ip_country and ip_city on each event to verify consistent location.
Tips
- Include
session_idon every event for maximum debugging value. The auto-session feature in the Laravel SDK does this automatically. - Use descriptive action names (
document.moved, notaction_42) so timelines are readable without looking up codes. - Include targets on multi-resource actions so you can see source/destination without parsing metadata.