1.0.2 • Published 8 years ago
traildust v1.0.2
Traildust
Traildust is a command-line tool that helps you understand your Cloudtrail logs.

Installation
You need npm to use Traildust.
npm install -g traildustUsage
When installed, you can easily start the tool using:
traildustThe tool will first look for gzipped logs, then will parse all events, then will ask you to filter them before display them.
You can also specify criteria directly from the command-line:
traildust --criteria.requestParameters.bucketName=your-bucketOr you can target a specific event, using the id parameter:
traildust --id=e6049254-6722-4e6d-9141-95a85f496b1aBy default, the tool will suggest to look for log files in the current path. Alternatively, you can specify a path using the path parameter:
traildust --path=~/logsIf your logs are on S3, you can easily sync them with a local folder using the AWS command-line tool:
aws s3 sync logs s3://my-logs-bucket