traildust

    1.0.2 • Public • Published

    Traildust

    Traildust is a command-line tool that helps you understand your Cloudtrail logs.

    The Traildust tool

    Installation

    You need npm to use Traildust.

    npm install -g traildust
    

    Usage

    When installed, you can easily start the tool using:

    traildust
    

    The 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-bucket
    

    Or you can target a specific event, using the id parameter:

    traildust --id=e6049254-6722-4e6d-9141-95a85f496b1a
    

    By 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=~/logs
    

    If 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
    

    Install

    npm i traildust

    DownloadsWeekly Downloads

    3

    Version

    1.0.2

    License

    ISC

    Last publish

    Collaborators

    • benjamin.netter