Skip to main content

InfluxDB

info

For InfluxDB ingestion, first distinguish 1.x from 2.x: authentication differs, as do end boundaries for ordinary and scan queries. Record the source version, read mode, and time zone during verification. For cutover, see InfluxDB 1.x Business Cutover.

Entry point: taosExplorer → Data In → InfluxDB.

1. Prerequisites​

Confirm whether the source is 1.x or 2.x. Obtain the corresponding authentication details and a Measurement, time range, and tag set containing data. The actual reading host is taosX or the selected taosX-Agent. Confirm that the matching InfluxDB plugin and runtime environment are available.

PrerequisiteHow to confirm
Source versionThis entry point distinguishes authentication configuration for 1.7/1.8 and 2.0–2.7. Do not apply this page to other major versions merely because the name matches. Check compatibility separately for specific distributions.
Network and pluginAccess the source HTTP/HTTPS address and port from the actual reading host; 8086 is common. Confirm matching plugins and runtime dependencies on that host.
1.x identityThe source administrator supplies a username/password that can read the intended database/retention policy. Do not apply InfluxDB 2.x organization-permission terminology.
2.x identityThe source administrator supplies the organization ID, Token, and read permissions on the actual Bucket. Source changes for DBRP creation require separate authorization.
Data and targetRecord the Measurement, tag set, field types, and typical values in a small window. Use nanosecond precision and a writable target.

An authorized TDengine TSDB administrator creates a nanosecond-precision test database in taosExplorer's Data Browser or the taos CLI to accommodate the source's various precisions:

CREATE DATABASE influx_demo PRECISION 'ns';

2. Minimal Configuration​

  1. Add an InfluxDB data source, select target database influx_demo, select an agent if needed, and enter the actual address.
  2. For 1.x, use the corresponding username/password; for 2.x, use the organization ID and Token. The organization ID is not its display name. The Token needs read permissions on the selected scope.
  3. If DBRP mapping is required, confirm with the source administrator first. Automatic mapping changes source configuration; do not enable it without authorization.
  4. Check connectivity, click Get Schema, select a Bucket, and select only one test Measurement. Do not leave Measurement empty initially, as that expands the scope to all Measurements.
  5. Specify start/end times and the page time zone. Start with a manageable small read window and set delay according to source lateness. Submit and start.

InfluxDB HTTP/HTTPS protocol, address, and port settings

2.1 Configure Authentication by Source Version​

  1. Under Data In, click Create New Task, select InfluxDB, and enter the task name, target database, and agent.
  2. Under Connection Configuration, select HTTP or HTTPS and enter the actual server address and port. Gray address and port values are format hints, not default connection details for a remote source.
  3. Under Authentication, switch to the tab matching the source version, then select the actual Version. For 1.x, enter username and password and confirm the read mode. Use the ordinary read path initially; do not switch directly to scan mode to bypass slow queries.

The image shows version 1.8 and ordinary tagset read mode, with username and password not yet entered. For actual connections, use the source administrator's read-only identity and a version matching the source service. This image does not demonstrate successful authentication.

InfluxDB 1.8 and tagset mode with username and password not yet entered

  1. For 2.x, enter the organization ID and a Token with read permission on the selected Bucket. Add Database Retention Policy is initially disabled. Obtain source administrator authorization before creating mappings. Do not enable source changes by default for read-only ingestion.

InfluxDB 2.x organization, Token, and database retention policy

  1. Click Check Connectivity and handle results using the table below. After success, get the schema and configure the test scope. If connectivity fails, check authentication version and actual permissions first. Do not repeatedly change source Buckets or expand Token permissions. Before submission, check the target database, Measurement, and time range. After submission, confirm the task is running in the list, then query actual data as described below.
Check resultNext step
Data source available and version returnedCheck the returned product and version, then get the schema. One success does not mean all Buckets, time ranges, or target writes are available.
Connection refusedThe request did not connect to the service. Check address, port, and source listener from the actual collection host. Bucket or organization parameters in the error do not imply authentication succeeded.
Authentication or access deniedCheck user, organization ID, Token, and object read permissions against the actual source version. Ask the source administrator; do not switch directly to an administrator Token.
Timeout or TLS errorCheck the network from collection host to source, HTTPS configuration, and certificates, then retain the complete error. Do not switch to HTTP to bypass it.

If the dropdown is empty after schema retrieval, confirm whether the request succeeded and whether the identity can see the intended Bucket. Select the Bucket before checking the Measurement list. Leaving it empty expands scope and is not a solution for a missing test object. Source version, connectivity, schema, window reads, and target writes are separate checks; record each separately.

3. Windows and Model​

The following image shows time configuration: page time zone Asia/Shanghai, range 2026-11-20 08:00:00 to 08:01:00, 1 minute per read, first timestamp probing auto, and 10 seconds delay. Bucket and Measurement remain unselected; do not submit in this state. After connecting to a real source and retrieving its schema, select one confirmed Bucket and one test Measurement, then use a window known to contain data.

InfluxDB one-minute window with Bucket and Measurement awaiting selection

FieldConfiguration and checks
Connection protocol, server address, portSelect HTTP or HTTPS according to the source. Do not downgrade a secure connection for troubleshooting.
Version, authentication1.x uses the source username/password; 2.x uses organization ID and Token. Obtain the ID from InfluxDB Organization → About; it is not the display name.
Add database retention policyFor scenarios requiring InfluxQL DBRP mapping. Do not enable without authorization. Have the source administrator confirm existing mappings first; do not temporarily expand a read-only migration identity's permissions.
BucketAfter entering connection and authentication details, click Get Schema, select a returned Bucket, then a Measurement. This is not an arbitrary target database name.
MeasurementsMultiple selections are allowed. No selection expands to all Measurements in the selected Bucket. Explicitly select only one initially.
Start and end timesUse the selected page time zone. Start is required; no end means continuing to read new data. Set an explicit end initially.
Time range per readIn minutes. Initial UI value 60, allowed range 1–6000. Reduce it to a manageable range first; 60 does not mean seconds.
DelayIn seconds. Initial UI value 10, allowed range 1–30. Allows time for late data; it does not catch up progress or recover indefinitely late records.

For direct DSN connection, authentication, and task naming key types, defaults, and conditions, see InfluxDB Read Parameters. Keys such as orgId and beginTime in that table are case-sensitive. Do not use UI labels directly as DSN keys, or apply OpenTSDB aliases or recovery-state units.

First Timestamp Probing locates the source's first timestamp before reading; it is not a target completeness check. Default auto enables probing in ordinary tag set mode and disables it in scan mode. enabled forces probing and disabled disables it. Retain the default for small tests, and adjust only after understanding source query costs and the read mode. Disabling probing does not mean skipping the start time or ignoring data errors.

Larger time ranges per read can increase resource pressure per query. Check source load and task read duration before increasing the window, not just target write throughput. Confirm source tag/field types and target-table relationships with actual small samples. Do not assume every import path has exactly the same default table names as schemaless writes.

Successful schema retrieval only shows that the corresponding structure is readable; successful connectivity only shows that the check request succeeded. Neither verifies all source time ranges or target writes. Start the test task, then confirm actual target structures in the next section. For advanced options, first check whether each takes effect using the table below, then adjust effective read concurrency and output batches separately from window length. See Tuning and Resource Control.

3.1 Advanced Options​

InfluxDB concurrent reads, queue, batch, JVM, and child table checks

SettingInitial new-task valueCheck before adjusting
Log levelinfoUse ordinary logs to locate source-query and write stages first. Do not leave debug logging enabled long-term.
Data source concurrent read methodsequenceEstablish the current read mode and source query load. This is not a guarantee of target data order.
Maximum read concurrency50Use a positive integer. Check source CPU, query duration, and connection count first.
Rows per read1000Single-response size and source query pressure, not the task's total row limit.
Cache queue size200000Backlog and process memory; not a persistent backup.
Batch size5000Use a positive integer. Controls plugin output retrieval batches, not source queries or the task's total rows.
Batch delay1000 millisecondsDo not assume the source DSN sends incomplete batches on time from this form value. See the scope reference below.
Child table check modestrictCheck compatibility between existing target models and source types. Do not relax it merely to bypass model errors.
Maximum write concurrency50Do not infer target write throttling from a same-named source DSN key. See the scope reference below.

Confirm initial form values, actual submitted configuration, and final effective scope separately. For effective direct DSN options, defaults, and zero values, see InfluxDB Advanced Parameters. Same-named write concurrency and batch delay keys there do not control plugin output. Locate bottlenecks using task metrics and host resources before reducing target load.

Gray examples under JVM Parameters do not reveal the current actual heap size. Before changing them, confirm the actual plugin runtime environment, available memory, and parameter meanings, then test under the organization's change process. Do not apply example -Xms4g -Xmx4g directly to a low-memory collection host. Adjust one item at a time, compare throughput, memory, delay, and errors using the same window, and retain rollback configuration.

4. Verification​

Record the source Measurement, tag set, fields, nanosecond instants, and values. After ingestion, run SHOW influx_demo.STABLES; and SHOW influx_demo.TABLES; in taosExplorer's Data Browser or the taos CLI to inspect actual generated objects, then query the same window in the corresponding child tables. Check field types, tags, nulls, and precision, not just totals.

tip

Verification samples must include records at the start, before the end, and exactly at the end. Ordinary 1.x tag set queries include the end; 1.x scan queries exclude it. Do not treat counts from these modes as equivalent or apply TDengine query-migration time boundaries. Record source version, read mode, and time zone in the verification table. After changing modes, recheck boundary records and different tag sets so totals do not mask duplicates or missing reads.

5. Troubleshooting​

SymptomChecks
Authentication or schema retrieval failsCheck source version, organization ID, Token/user permissions, plugin, and execution host.
2.x login succeeds but data cannot be readCheck the actual Bucket, query interface, and DBRP mapping. Do not expand Token permissions without authorization.
No data in the time rangeCheck page time zone, source range, and retention.
Excessive source loadReduce the time window per read and assess concurrency and query duration. Do not immediately add more tasks.

For other task, write, and runtime issues, see Troubleshooting by Symptom.

6. Stop, Resume, and Limitations​

Stop the original task and retain progress files and configuration. After resuming, check the interrupted window and latest data. Existing progress does not mean it has been transferred to another host. Protect late historical data and new writes during business cutover separately. Do not immediately retire the source just because migration has ended.