Search for Files Uploaded by Specific User
TLDR - Quick Summary
What: Search for files uploaded by specific SFTP user in Cloud Logging
Location: GCP Console > Operations > Logging > Logs Explorer
Query:
jsonPayload.user:"username_here" AND jsonPayload.message:"upload"Use Case: User activity monitoring, troubleshooting, audit trails
Overview
Tracking file uploads by a specific user in SFTP logs can help monitor activity and troubleshoot issues. This guide explains how to search for files uploaded by a particular user using logging tools in AWS.
GCP Cloud Logging
Steps to Search for Files Uploaded by a User
- Access Cloud Logging:
- Open
Google Cloud Console>Operations>Logging>Log Explorer.
- Run the Query:
jsonPayload.user:"username_here" AND
jsonPayload.message:"upload"
- Replace
username_herewith the actual username.
- View Results:
- The logs will show all related file uploads by the user.