How to send data to InfluxDB
In this tutorial you will learn how to send data to InfluxDB

Benefits of the InfluxDB output connector:
Directly stream device data from akenza to InfluxDB and subsequently process it in InfluxDB
Easily process low-power device data e.g. LoRaWAN device data in InfluxDB
In this tutorial, you will learn, how to send data to InfluxDB. The following steps are explained in more detail:
1. Setup an InfluxDB
First, you will need to either set up an InfluxDB OSS 2.0 or set up an InfluxDB cloud account in order to successfully process data from akenza to InfluxDB.
1.1 Create an Organization
In the navigation menu on the left, select the Account dropdown. Select Create Organization. In the window that appears accordingly, enter an Organization Name and Bucket Name and select Create.
1.2 Create an InfluxDB bucket
Navigate to Data - Buckets
Create a new Bucket to define where you want to store the data forwarded from akenza

1.3 Add an API Token
Navigate to Data - API Tokens
Create a new API Token with Write access to the Bucket you want to store the data

2. Setup a Data Flow in akenza
Create a new Data Flow in akenza with Influx DB as Output Connector. Define a Connector Name, insert the InfluxDB URL under which your InfluxDB can be reached. Put the Organization Id of the organization created in step one in the InfluxDB Org field. Chose the Bucket name created in step one into the InfluxDB Bucket field. Copy the API Token created in step one into the InfluxDB API Token field.

Create a new device using the Data Flow and start sending data.
3. Visualize data
In order to check if uplinks arrive in your InfluxDB bucket, navigate to Explore and create a query by selecting the Bucket created in step one, a measurement name and clicking submit. The data should now be shown. This query can be refined by selecting more filters.

4. Use alerts and tasks
Once a device is connected to the InfluxDB, device data can be further used on various services in InfluxDB.
5. Useful Links
Last updated
Was this helpful?