@vrsbrazil/winston-kinesis-transport

0.0.6 • Public • Published

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 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})

Package Sidebar

Install

npm i @vrsbrazil/winston-kinesis-transport

Weekly Downloads

1

Version

0.0.6

License

ISC

Unpacked Size

13.7 kB

Total Files

9

Last publish

Collaborators

  • vrsbrazil