Cloud logging support for Node-Red via logentries.com service
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
node-red-contrib-logentries.html
node-red-contrib-logentries.js
package.json

README.md

node-red-contrib-logentries

** A Node-Red wrapper for logentries.com **

What it is

An easy-to-use wrapper for the logentries.com service. The node-red-contrib-logentries node makes it very easy to log directly to your logentries.com account direct from Node-Red.

Key Features:

  • Drag and drop on node-red
  • fully configurable
  • cloud logging enables many sources to arrive in one viewable, searchable location

Installation

npm install node-red-contrib-logentries

- This will download this module and place in your node_modules directory
- This also installs the required NodeJs package for logentries service. 

Usage

When you open the node-Red GUI, there will be a node under the "storage" section called logentries which you can drag onto the board. Then double click to set the configuration.

This module sends your logging entries to the cloud hosted logging service logentries.com. You will need an account with this service for the module to work.

Once you have logentries.com account, you need just one configuration item to initialize a logging instance (you can create more than one):

  • TOKEN: As supplied by Logentries when you create a logfile of source type Token TCP.

logentries.com User Guide

logentries.com service.

Company site: logentries.com

Advanced Topic

If you have advanced port blocking in play and wish to override ports, navigate to your subdirectory of node_modules\logentries\lib and edit logentries.js file so that line 57 is changed from: port: opts.secure ? 20000 : 10000, - to this: port: opts.port || (opts.secure ? 20000 : 10000),