0.0.6 • Published 11 years ago

cinovo-loganalyzer-aws v0.0.6

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago
       __                                         /\_ \                                            /\_ \
  ___ /\_\    ___     ___   __  __    ___         \//\ \     ___      __      __      ___      __  \//\ \    __  __  ____      __   _ __
 /'___\/\ \ /' _ `\  / __`\/\ \/\ \  / __`\  _______\ \ \   / __`\  /'_ `\  /'__`\  /' _ `\  /'__`\  \ \ \  /\ \/\ \/\_ ,`\  /'__`\/\`'__\
/\ \__/\ \ \/\ \/\ \/\ \L\ \ \ \_/ |/\ \L\ \/\______\\_\ \_/\ \L\ \/\ \L\ \/\ \L\.\_/\ \/\ \/\ \L\.\_ \_\ \_\ \ \_\ \/_/  /_/\  __/\ \ \/
\ \____\\ \_\ \_\ \_\ \____/\ \___/ \ \____/\/______//\____\ \____/\ \____ \ \__/.\_\ \_\ \_\ \__/.\_\/\____\\/`____ \/\____\ \____\\ \_\
 \/____/ \/_/\/_/\/_/\/___/  \/__/   \/___/          \/____/\/___/  \/___L\ \/__/\/_/\/_/\/_/\/__/\/_/\/____/ `/___/> \/____/\/____/ \/_/
                                                                      /\____/                                    /\___/
                                                                      \_/__/                                     \/__/

cinovo-loganalyzer-aws

AWS SQS sourcepoint and SNS siren for cinovo-loganalyzer.

API

sourcepoint.sqs(cfg)

Sync creates an SQS sourcepoint.

  • cfg: Object region: String - your AWS region queueUrl: String - the URL of the SQS queue to take action on accessKeyId: String - your AWS access key ID (optional) secretAccessKey: String - your AWS secret access key (optional)

return: Sourcepoint - use the sourcepoint like this loganalyzer.connect(sourcepoint, callback)

Events

consume()

We start to consume messages.

consumed(consumeTime)

We consumed some messages.

  • consumeTime: Number - consume time in ms

siren.sns(cfg)

Sync crated an SNS siren.

  • cfg: Object region: String - your AWS region topicArn: String - the topic you want to publish to accessKeyId: String - your AWS access key ID (optional) secretAccessKey: String - your AWS secret access key (optional) batchMaxSize: Number - (default 10) cfg.batchMaxAge: Number - in seconds (default 10)

return: Siren - use the siren like this loganalyzer.hook(siren)

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago