InfluxDB docker installation and interface use

influxdb github homepage: https://github.com/influxdata/influxdb

chronograf github homepage: https://github.com/influxdata/chronograf

Docker install InfluxDB

docker run -p 8086:8086 --name influxdb-dev influxdb:latest

Here the blogger installed version 2.2.1

Then visit the website: http://127.0.0.1:8086/, get the following interface:

insert image description here

For example, enter:

  • Username: root
  • Password: influx_pass
  • Initial organization (organization name): manager
  • Initial bucket name: manager_test_bucket

in:

  • organization: A workspace for a group of users. An organization can create many users, buckets, dashboards, tasks. Organizations are the largest environment, and data under different organizations are isolated.
  • bucket: storage bucket, similar to the concept of a database. At the same time, each data in the bucket will have a storage period, and it will be deleted after a long time, or stored permanently.

Click [submit] to submit and enter the main interface:
insert image description here

Use the front-end interface

  1. Click [Explore] on the left, this interface is where data is queried when there is data in the database
  2. Click [Script Editor] in the middle to switch to the command line mode, which is convenient for adding, deleting, modifying and checking data

insert image description here
When connecting through an external tool, token verification is required, and the location of the token is:

  1. Click [Data] on the left
  2. Click [API Tokens] on the right
    insert image description here
    and then click [root's Token] to get the token of the current user, which is SkeHprHCgmvtX3LXluMUlg......the following string
    insert image description here

Guess you like

Origin blog.csdn.net/weixin_35757704/article/details/129208452