Create an Influx database

  1. In
    Project view
    , right-click
    DataStores
    and select
    InfluxDB database
    .
  2. In
    Properties
    , complete:
    • Server
      . IP address or hostname of the database server.
    • TCP Port
      . TCP port of the database server.
      TIP: The default value for InfluxDB servers is typically 8086.
    • Organization
      . Organization must match the one specified on the database server.
    • Bucket
      . Bucket must match the one specified on the database server.
    • Token
      . Token must match the one specified for fetching data from the database server.
    • Use SSL
      . For secure data connection, set to
      True
      .
    • Server Certificate
      . Server certificate must match the one specified on the database server for secure SSL connection.
    TIP:
    InfluxDB datastore has additional property for each table created to assign InfluxDB tags to dataset. InfluxDB tags are used by Influx database to identify and label datapoints for further analysis. It is also the way to log datapoints with the same timestamp to the same bucket and measurement, and avoid loss of data.
    For example: Without tags defined, when many events are triggered at the same time (with the same timestamp), InfluxDB overwrites them and only one record is logged in the database. To avoid this, you can bind the property to a unique property of a logged event (such as ). This forces the InfluxDB server to record all datapoints with the same timestamp. You may use the property to add any variable as a label for datapoints, for maintaining and analyzing data stored on server
(optional) Configure the database structure. See Configure a database table.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.