cinovo-syslog-pipe

Pipe syslog to cinovo-logger.

                                                   ___
       __                                         /\_ \
  ___ /\_\    ___     ___   __  __    ___         \//\ \     ___      __      __      __   _ __
 /'___\/\ \ /' _ `\  / __`\/\ \/\ \  / __`\  _______\ \ \   / __`\  /'_ `\  /'_ `\  /'__`\/\`'__\
/\ \__/\ \ \/\ \/\ \/\ \L\ \ \ \_/ |/\ \L\ \/\______\\_\ \_/\ \L\ \/\ \L\ \/\ \L\ \/\  __/\ \ \/
\ \____\\ \_\ \_\ \_\ \____/\ \___/ \ \____/\/______//\____\ \____/\ \____ \ \____ \ \____\\ \_\
 \/____/ \/_/\/_/\/_/\/___/  \/__/   \/___/          \/____/\/___/  \/___L\ \/___L\ \/____/ \/_/
                                                                      /\____/ /\____/
                                                                      \_/__/  \_/__/

cinovo-syslog-pipe

cinovo-syslog-pipe can forward syslog udp packages to cinovo-logger. It can help you to send logs from your system to AWS SQS or SNS.

npm install -g cinovo-syslog-pipe
syslogpipe --port=8514 --console

You must configure a forwarding rule in your syslogd.

/etc/rsyslog.conf

*.* @localhost:8514

Restart your syslogd.

Send a message to your local syslog.

logger "test"

You should now se the log on your console.

Now you listen on port 8514 for udp packages in thr syslog format which are printed to console.

You can start the pipe with syslogpipe.

  • --port: Number - UDP port to listen on
  • --tcp: activate tcp mode (optiona)
  • --console: activate the console endpoint
  • --aws-region: String -
  • --aws-sqs-queue: String -
  • --aws-access-key-id: String -
  • --aws-secret-access-key: String -
  • --aws-region: String -
  • --aws-sns-topic: String -
  • --aws-access-key-id: String -
  • --aws-secret-access-key: String -

You could also use the pipe within node as a module.

Listening on port for udp packages and forwarding them to an instance of cinovo-logger.

  • port: Number
  • logger: Logger

Listening on port for tcp packages and forwarding them to an instance of cinovo-logger.

  • port: Number
  • logger: Logger