node-red-contrib-syslog 1.1.0

A Node-RED syslog formatter

npm install node-red-contrib-syslog

This node will format msg.payload as a valid syslog message which can be sent to a syslog server via a UDP or TCP node.

msg.payload should be the message you want to send as a string. The message level, category, process, pid and hostname can be set within the node properties.

You can also set the properties dynamically by passing a msg.syslog object:

  • msg.syslog.level (0-7)
  • msg.syslog.category (0-23)
  • msg.syslog.process
  • msg.syslog.pid
  • msg.syslog.hostname
  • msg.syslog.time

This node will also parse incoming syslog formatted messages. It would typically come from an UDP input node set to output a Buffer. The msg.payload will contain the main message and the parsed properties will be available in the msg.syslog object.

Node Info

Version: 1.1.0
Updated 3 weeks, 6 days ago
License: Apache-2.0

Downloads

8 in the last day
25 in the last week
108 in the last month

Nodes

  • syslog-node

Keywords

  • node-red
  • syslog

Maintainers

  • natcl