Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
DynamoDB Transport for Winston
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
package.json
winston-dynamodb.coffee
winston-dynamodb.js

README.md

DynamoDB Transport for Winston

A DynamoDB transport for winston.

Usage

  var winston = require('winston');

  require('winston-dynamodb').DynamoDB;

  winston.add(winston.transports.DynamoDB, options);

Options

accessKeyId     : your AWS access key id
secretAccessKey : your AWS secret access key
region          : the region where the domain is hosted
tableName       : DynamoDB table name

Prerequisite

Make a table with tableName

The table should have

  • hash key: (String) level
  • range key: (String) timestamp

Region

Available Regions

  • us-east-1
  • us-west-1
  • us-west-2
  • eu-west-1
  • ap-northeast-1
  • ap-southeast-1
  • ap-southeast-2
  • sa-east-1

AWS Credentials

All of these options are values that you can find from your Amazon Web Services account: 'accessKeyId', 'secretAccessKey' and 'awsAccountId'.

Installation

  $ npm install winston
  $ npm install winston-dynamodb

Author: JeongWoo Chang

Something went wrong with that request. Please try again.