Edge Delta InfluxDB Output

Stream data to InfluxDB.

Overview

The InfluxDB output will stream analytics and insights to your InfluxDB deployment.

Example

   - name: influxdb-integration
      type: influxdb
      endpoint: "https://influxdb.<your-domain>.com/"
      token: YOUR_API_TOKEN
      bucket: testbucket
      organization: yourorganization
      port: 443
    - name: influxdb-integration-v1x
      type: influxdb
      version: 1.x
      endpoint: "https://influxdb.<your-domain>.com/"
      token: YOUR_API_TOKEN
      port: 443
      http_user: admin
      http_password: your_http_password
      db: "specific_influxdb_database"

Parameters

name

Required

Enter a descriptive name for the output or integration.

For outputs, this name will be used to map this destination to a workflow.

name: influxdb-integration

integration_name

Optional

This parameter refers to the organization-level integration created in the Integrations page.

If you need to add multiple instances of the same integration into the config, then you can add a custom name to each instance via the name parameter. In this situation, the name should be used to refer to the specific instance of the destination in the workflows.

integration_name: orgs-influxdb

type: influxdb

Required

Enter influxdb.

type: influxdb

version

Optional

Enter the version number of the InfluxDB deployment.

This parameter supports versions 1.x and 2.x.

An empty version will default to version 2.x

version: 1.x

endpoint

Required

Enter the InfluxDB endpoint.

endpoint: "https://influxdb.<your-domain>.com/"

port

Optional

Enter the port to connect to InfluxDB.

port: 443

db

Required only for version 1.x

Enter the InfluxDB database to stream data to.

db: "specific_influxdb_database"

organization

Required only for version 2.x

Enter the organization ID that corresponds to the desired bucket.

organization: yourorganization

bucket

Required only for version 2.x

Enter the name of the bucket that the agent will stream data to.

bucket: testbucket

token

Optional

Enter your InfluxDB token.

token: YOUR_API_TOKEN

http_user

Required only for version 1.x.

Enter the InfluxDB user credentials.

http_user: admin

http_password

Required only for version 1.x.

Enter the InfluxDB password for connecting user.

http_password: your_http_password

tls: disable_verify

Optional

To disable a TLS verification of a certificate, in the YAML file, enter:

disable_verify:true. To enable a TLS verification of the certificate, in the YAML file, you can enter disable_verify:false or you can remove this line entirely.

tls:
  disable_verify: true

tls: ca_file

Optional

Enter the absolute file path to the CA certificate file.

tls:
  ca_file: /var/etc/cribl/ca_file

tls: ca_path

Optional

Enter the absolute path to scan the CA certificate file.

tls:
  ca_path: /var/etc/cribl

tls: crt_file

Optional

Enter the absolute path to the certificate file.

tls:
  crt_file: /var/etc/kafka/crt_file

tls: key_file

Optional

Enter the absolute path to the private key file.

tls:
  key_file: /certs/server-key.pem

tls: key_password

Optional

Enter the password for the key file.

tls:
  key_password: p@ssword123

tls: client_auth_type

Optional

Enter a client authorization type.

You can enter:

noclientcert requestclientcert requireanyclientcert verifyclientcertifgiven requireandverifyclientcert The default setting is noclientcert.

tls:
  client_auth_type: noclientcert

tls: min_version

Optional

Enter the minimum version of TLS to accept.

tls:
  min_version: TLSv1_1

tls: max_version

Optional

Enter the maximum version of TLS to accept.

tls:
  max_version: TLSv1_3

features

Optional

This parameter defines which data types to stream to the destination.

To learn more, see the following section on supported feature types.

features: log,edac,metric,alert

buffer_ttl

Optional

Enter a length of time to retry failed streaming data.

After this length of time is reached, the failed streaming data will no longer be tried.

buffer_ttl: 2h

buffer_path

Optional

Enter a folder path to temporarily store failed streaming data.

The failed streaming data will be retried until the data reaches its destinations or until the Buffer TTL value is reached.

If you enter a path that does not exist, then the agent will create directories, as needed.

buffer_path: /var/log/edgedelta/pushbuffer/

buffer_max_bytesize

Optional

Enter the maximum size of failed streaming data that you want to retry.

If the failed streaming data is larger than this size, then the failed streaming data will not be retried.

buffer_max_bytesize: 100MB

Supported Features

See Streaming Features.

Feature Type Supported?
Log Yes
Metrics Yes
Alert as event No
Alert as log Yes
Health No
Dimensions as attribute No
Send as is No
Send as JSON No
Custom tags No
EDAC enrichment No
Message template No
outgoing_bytes.sum Yes
outgoing__raw_bytes.sum No
outgoing_lines.count Yes
output buffering to disk No