Skip to content

jfmonteil/pentaho-influxdb-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pentaho InfluxDB Plugin

Jean-François Monteil jfmonteil@gmail.com

InfluxDB is a Database specialized in time series, used massively for IoT projects (https://www.influxdata.com/)

The package contains 2 steps :

  • InfluxDB Input : Reads specified fields from a query on InfluxDB
  • Execute InfluxQL : Executes an InfluxQL query and retrunrs the result as JSON

a number of sample transformations are included in the sample directory.

Installation

In delivery rep you will find a zip that you can unzip in your pentaho/design-tools/data-integration/plugin folder. Otherwise : mvn install

Input step

The step is fully Metadata Injection compatible

Input Step

Step Name : Name of the step

InfluxDB Connection

Select InfluxDB connection, create a new one New Button, or edit one Edit Button

Input Step

Database

Browse button lets you see available databases

Query

InfluxDBQL query (on Measurement tables or continuous Query)

Returns

  • Field name : Name fo the InfluxDB field, tag or value First field should be time

  • InfluxDB name : InfluxDB type : Tag or field

  • Retrun type : Pentaho return type

  • Length

  • Format : Be careful avout timestam, "time" format : Defaul should be : yyyy-MM-dd'T'HH:mm:ss'Z'

  • Get Output Fields button lets you guess fields and retrun types from query.

Preview button : lets you preview X rows

Execute InfluxQL

Executes an InfluxQL query and retrunrs the result as JSON

Input Step

Step Name : Name of the step

InfluxDB Connection

Select InfluxDB connection, create a new one New Button, or edit one Edit Button Input Step

Database

Browse button lets you see available databases

Query

InfluxDBQL query that can be any query not just select : examples here : https://docs.influxdata.com/influxdb/v1.7/query_language/schema_exploration/#run-a-show-field-keys-query-without-the-on-clause Works alo to create databases. Does not work for inserting rows though. Output is a single text field with JSON format.

About

Pentaho InfluxDB step plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages