Search for Files Uploaded by Specific User
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.
AWS CloudWatch Logs
Steps to Search for Files Uploaded by a User
- Access CloudWatch Logs:
- Navigate to the AWS Management Console.
- Open
CloudWatch
>Logs
>Log Groups
.
- Find the Correct Log Group:
- Locate the log group associated with AWS Transfer Family (SFTP service).
- Run the Query:
fields @message
| filter @message like "username_here"
- Replace
username_here
with the actual username.
- Refine Your Search:
- Use time filters to narrow results.
- Use additional filters for specific SFTP events.