Socket
Socket
Sign inDemoInstall

cloudfront-log-reader

Package Overview
Dependencies
Maintainers
43
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudfront-log-reader

Read CloudFront logs files stored in AWS S3


Version published
Weekly downloads
18
increased by5.88%
Maintainers
43
Weekly downloads
 
Created
Source

cloudfront-log-reader

Exposes AWS CloudFront logs from S3 as a node.js readable stream and provides additional tools for working with CF logs. See api.md for JS API.

var reader = require('cloudfront-log-reader');
var logStream = reader.LogStream('s3://mybucket/cf-logs/');
logStream.pipe(process.stdout);

This module also provides two small wrapper commands for usings its functionality from the commandline.

cflogreader

Streams CF log lines to stdout.

Usage: cflogreader <s3url>

generatepath

Takes different types of logs as input and streams paths to stdout. Supported types include "cloudfront" and "elb".

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>]

FAQs

Package last updated on 19 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc