aws-log-replay

    2.6.0 • Public • Published

    aws-log-replay

    Build Status

    Transform and replay a stream of AWS CloudFront, ELB Classic, or ALB logs. You can use s3scan to easily stream logs into these tools.

    This project uses the AWS JavaScript SDK: you will need to configure your own credentials.

    generatepath

    Takes different types of logs as input and streams only the path to stdout. Supported types include "cloudfront" for CloudFront logs and "lb" for ELB Classic or ALB logs.

    Usage: generatepath <type>

    pathreplay

    Makes replay requests to the baseurl. Expects paths to be piped to stdin. (Optional) Control concurrency of replay requests with --concurrency flag. Default is 100.

    Usage: pathreplay <baseurl> [--concurrency=<n>]

    sample

    Emits a repeatable set of input lines piped to stdin at a given sampling rate. The number of lines emitted will approach the specific rate over sufficiently large samples, but may diverge for small sample sizes. Sampling rates should be specified as a decimal number between zero and one. Optionally accepts a filter argument that restricts the sampled set to lines matching the specified regular expression.

    Usage: sample --rate=<rate> [--filter=<filter>]

    Keywords

    none

    Install

    npm i aws-log-replay

    DownloadsWeekly Downloads

    1

    Version

    2.6.0

    License

    BSD-2-Clause

    Unpacked Size

    12.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • ajashton
    • alulsh
    • amyleew
    • ansis
    • apendleton
    • arunasank
    • bergwerkgis
    • bhousel
    • dnomadb
    • emilymcafee
    • emilymdubois
    • flippmoke
    • freenerd
    • geohacker
    • ghoshkaj
    • gretacb
    • ian29
    • ianshward
    • ingalls
    • isiyu
    • jfirebaugh
    • kaidalgleish
    • kkaefer
    • lbud
    • lxbarth
    • lyzidiamond
    • mapbox-admin
    • mapsam
    • mattficke
    • mcwhittemore
    • miccolis
    • mollymerp
    • morganherlocker
    • natslaughter
    • nickidlugash
    • planemad
    • rclark
    • rmrice
    • samanbb
    • sbma44
    • sgillies
    • springmeyer
    • themarex
    • willwhite
    • zmully