winston-kinesis-transport
v0.0.2
Published
Transport created for Winston using AWS Kinesis
Downloads
839
Readme
Winston Kinesis Transport - Encapsulating a configuration to create a transport with AWS Kinesis service associated
Installing
Add to your package.json dependencies
npm install --save winston-kinesis-transport
or
yarn add --save winston-kinesis-transport
Configuration
const options = {
streamName: 'Stream name configured on AWS Kinesis',
configuration: { //Configuration for AWS Service
region: 'AWS Region',
correctClockSkew: 'true or false, used here to activate or deactivate',
accessKeyId: 'AWS Kinesis Access Id',
secretAccessKey: 'AWS Kinesis secret'
}
}
const winstonKinesisTransport = new WinstonKinesisTransport({options})