このページは、お客様の言語ではご利用いただけません。Huawei Cloudは、より多くの言語バージョンを追加するために懸命に取り組んでいます。ご協力ありがとうございました。

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Forwarding Data to GeminiDB Influx

Updated on 2024-11-06 GMT+08:00

Scenarios

Forward data to GeminiDB Influx and cloud-native time series database with full compatibility with the service. GeminiDB Influx reads and writes time series data with high performance and compression ratio in high concurrency scenarios, provides cold and hot tiered storage, elastic scale-out, and monitoring and alarm reporting. It stores the data with compression algorithms, allows you to query data using SQL-like statements, and supports multi-dimensional aggregation computing and visual analysis. It is widely used to monitor resources, services, IoT devices, and industrial production processes, evaluate production quality, and trace faults. GeminiDB Influx can achieve very high throughput and concurrency, so it can handle a large number of connections in a very short period of time, making it an excellent choice for IoT applications.

Buying GeminiDB Influx Instances

  1. Log in to GeminiDB Influx and click Buy Now.
  2. Select either of the Pay-per-use or Yearly/Monthly as the Billing Mode, configure specifications and storage space as required, and set Compatible API to InfluxDB. For details, see Buying a Cluster Instance.

    Figure 1 Buying an InfluxDB Instance

  3. Download the InfluxDB client and connect to an instance through the client by referring to Connecting to an Instance over a Public Network.
  4. After connecting to the instance through the client, run the following command to create a database. ${databaseName} can be customized.

    create database ${databaseName}
    Figure 2 Creating a database

Configuring IoTDA

You can configure data forwarding rules in IoTDA to forward data reported by devices to InfluxDB.

  1. Go to the IoTDA service page and click Access Console.
  2. In the navigation pane, choose Rules > Data Forwarding, and click Create Rule in the upper left corner.
  3. Set the parameters based on the table below. The following parameter values are only examples. You can create a rule by referring to Data Forwarding Overview and click Create Rule.

    Table 1 Rule parameters

    Parameter

    Description

    Rule Name

    Customize a name, for example, iotda-InfluxDB.

    Description

    Enter a rule description, for example, forwarding data to InfluxDB.

    Data Source

    Select Device.

    Trigger

    Device added is automatically configured.

    Resource Space

    Select All resource spaces.

  4. Click the Set Forwarding Target tab, click Add to set a forwarding target, and click Next.

    Table 2 Forwarding target parameters

    Parameter

    Description

    Forwarding Target

    Select GeminiDB Influx.

    Database Instance Address

    Enter the connection address of the Influx instance you purchased. IoTDA enterprise edition instances support private network access of Influx instances in the same VPC and subnet.

    Database Name

    Enter the name of the database created in InfluxDB.

    Access Account

    Enter the InfluxDB account name.

    Access Password

    Password of the InfluxDB.

    Certificate ID

    Truststore certificate, which is used by the client to verify the server certificate. If this parameter is left blank, the default certificate provided by GeminiDB Influx is used. For GeminiDB Influx instances using private certificates, upload a custom CA on the Rules > Server Certificates page and complete binding.

  5. Set the target fields and click OK to complete configuration.

    Table 3 Field mapping parameters

    Parameter

    Description

    Save To

    Enter the table name, which is user-defined.

    Field Mappings

    Configure the field mappings. You can customize the target field and configure the forwarding field by referring to Push a Device Addition Notification.

    Figure 3 Creating a forwarding target - to InfluxDB
    Figure 4 Setting InfluxDB field mapping

  6. Click Enable Rule to activate the configured data forwarding rule.

Verifying Configurations

Log in to the IoTDA console and create a device.

Expected result:

Log in to InfluxDB through the client. Access the database and query data.

show databases //Query the database.
use test_influxdb //Switch the database.
select * from demo //Query data.
Figure 5 Test message

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback