InfluxDB 3.0
Write data to InfluxDB 3.0 with this project.
How to run
Create a Quix account or log in and visit the Code Samples to use this project.
Clicking Deploy
on the Sample, deploys a pre-built container in Quix. Complete the environment variables to configure the container.
Clicking Edit code
on the Sample, forks the project to your own Git repo so you can customize it before deploying.
Environment Variables
The code sample uses the following environment variables:
- input: This is the input topic (Default:
detection-result
, Required:True
) - INFLUXDB_HOST: Host address for the InfluxDB instance. (Default:
eu-central-1-1.aws.cloud2.influxdata.com
, Required:True
) - INFLUXDB_TOKEN: Authentication token to access InfluxDB. (Default:
<TOKEN>
, Required:True
) - INFLUXDB_ORG: Organization name in InfluxDB. (Default:
<ORG>
, Required:False
) - INFLUXDB_DATABASE: Database name in InfluxDB where data should be stored. (Default:
<DATABASE>
, Required:True
) - INFLUXDB_TAG_COLUMNS: Columns to be used as tags when writing data to InfluxDB. (Default:
['tag1', 'tag2']
, Required:False
) - INFLUXDB_MEASUREMENT_NAME: The InfluxDB measurement to write data to. If not specified, the name of the input topic will be used. (Default:
<INSERT MEASUREMENT>
, Required:False
)
Requirements / Prerequisites
You will need to have an InfluxDB 3.0 instance available and an API authentication token.
Contribute
Submit forked projects to the Quix GitHub repo. Any new project that we accept will be attributed to you and you'll receive $200 in Quix credit.
Open Source
This project is open source under the Apache 2.0 license and available in our GitHub repo. Please star us and mention us on social to show your appreciation.