Skip to content

Latest commit

 

History

History
64 lines (35 loc) · 2.07 KB

README.md

File metadata and controls

64 lines (35 loc) · 2.07 KB

node-red-contrib-logsene

![Gitter](https://badges.gitter.im/Join Chat.svg)

A Node-Red wrapper for Logsene

It makes your "Things" logging to the cloud. Where else? On your device is not much space!

Introduction

The node-red-contrib-logsene node makes it easy to log directly from node-red to Logsene by Sematext. If no text is specified in "msg.log" it logs "msg.payload". In any case it adds the complete msg object as JSON object.

Features:

  • Drag and drop on node-red
  • Settings UI - for Logsene Token and name of the log for your app
  • Logging to Sematext SaaS service Logsene On-Premises edition

Requirements

Installation and usage

  1. Change to your node-red working directory then use

    npm install node-red-contrib-logsene

  2. Restart node-red

  3. Open your browser (e.g. http://localhost:1880)

  4. The module 'logsene' registers to node-red you can find in the storage section on the left side panel in node-red.

  5. Drag the Logsene module to your worksheet

  6. double click on it to configure

  7. Enter the Logsene app token and name the log (e.g. iotLogger)

    • current limitation: pls. don't use special characters in it like '-'

What can I do with it?

  1. For example you want to log from a browser or app via WebSocket to the Logsene service:

websocket -> logsene

  1. You want to track msg objects from MQTT devices

mqtt -> logsene

  1. You want to log all tweets about you using sentiment analysis

twitter -> sentiment -> logsene

  1. Debug Node-Red flows - log msg objects in your flow at different places

Add parallel connection to outgoing connectors, in Logsene view by timestamp how your message changed in the flow

img