728x90
influx cli를 설치해야 계정생성 부터 할수 있는게 많다...
아직 influx는 관리자콘솔 기능이 많이 부재하다. 어쩔수 없이 깔아야 한다.
https://docs.influxdata.com/influxdb/v2.7/tools/influx-cli/?t=Linux
- Download the influx CLI package.Download from your browserDownload from the command line
-
# amd64 wget https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.7.3-linux-amd64.tar.gz # arm wget https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.7.3-linux-arm64.tar.gz
- influx CLI v2.7.3 (amd64) influx CLI v2.7.3 (arm)
- Download the influx CLI package from your browser or from the command line.
- Unpackage the downloaded package.
# amd64 tar xvzf path/to/influxdb2-client-2.7.3-linux-amd64.tar.gz # arm tar xvzf path/to/influxdb2-client-2.7.3-linux-arm64.tar.gz
- Note: The following commands are examples. Adjust the filenames, paths, and utilities if necessary.
- (Optional) Place the unpackaged influx executable in your system $PATH.If you do not move the influx binary into your $PATH, prefix the executable ./ to run it in place.
-
# amd64 sudo cp influxdb2-client-2.7.3-linux-amd64/influx /usr/local/bin/ # arm sudo cp influxdb2-client-2.7.3-linux-arm64/influx /usr/local/bin/
Set up the influx CLI
Provide required authentication credentials
To avoid having to pass your InfluxDB host, API token, and organization with each command, store them in an influx CLI configuration (config). influx commands that require these credentials automatically retrieve these credentials from the active config.
Use the influx config create command to create an influx CLI config and set it as active:
influx config create --config-name <config-name> \
--host-url http://localhost:8086 \
--org <your-org> \
--token <your-auth-token> \
--active
설치후 사용하는 커맨드 라인은 다음을 참고바람
https://docs.influxdata.com/influxdb/v2.7/reference/cli/influx/
'PaaS > Data' 카테고리의 다른 글
Kibana 설치 및 ElasticSearch 연동 (0) | 2023.08.06 |
---|---|
ElasticSearch 클러스터 설치하기 3개의 Master, 2개의 Data Node (0) | 2023.08.06 |
Elastic Search API 쿼리 샘플 (0) | 2023.01.13 |
InfluxDB 설치하기 (0) | 2022.10.22 |
Data Mesh란? (0) | 2022.08.16 |