Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-influxdb

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-influxdb

Node-RED nodes to save and query data from an influxdb time series database

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2K
increased by8.6%
Maintainers
1
Weekly downloads
 
Created
Source

node-red-contrib-influxdb

A Node-RED node to write and query data from an influxdb time series database. These nodes use the influxDB client for node.js, specifically calling the writePoint(), writePoints(), and query() methods. Currently it can only communicate with one influxdb host.

Pre-requesites

To run this you'll need access to an influxdb database version 0.9.x, possibly later. See the influxdb site for more information.

Install

Run the following command in the root directory of your Node-RED install. Usually this is ~/.node-red .

npm install node-red-node-influxdb

Usage

Nodes to write and query data from an influxdb time series database.

Input Node

Queries one or more measurements in an influxdb database. The query is specified in the node configuration or in the msg.query property. Setting it in the node will override the msg.query. The result is returned in msg.payload.

Output Node

Writes one or more points (fields and tags) to a measurement.

The fields and tags to write are in msg.payload. If the message is a string, number, or boolean, it will be written as a single value to the specified measurement (called value).

If msg.payload is an object containing multiple properties, the fields will be written to the measurement.

If msg.payload is an array containing two objects, the first object will be written as the set of named fields, the second is the set of named tags.

Finally, if msg.payload is an array of arrays, it will be written as a series of points containing fields and tags.

Keywords

FAQs

Package last updated on 12 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc