Skip to content
Snippets Groups Projects
Commit 1acf8238 authored by Claude Becker's avatar Claude Becker
Browse files

influx: minor tweaks and consistent urls

parent 1bd7e4e8
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ We provide an `InfluxDB` service at [influxdb.phys.ethz.ch](https://influxdb.phy
## Getting a database
To request a database, please [[services/contact]] us, providing the desired `database_name`, which must be namespaced with your organization (example: `<orgname>_<dbname>`). If it does not already exist, a new [[Grafana Organization|/documentation/grafana]] for your Group. We usually create two database `users` per organization, one with access permissions read-only for Grafana and one with read-write for sensors and admin tasks.
To request a database, please [[services/contact]] us, providing the desired `dbname`, which must be namespaced with your organization (example: `<orgname>_<dbname>`). If it does not already exist, a new [[Grafana Organization|/documentation/grafana]] will be created for your group. We usually create two database users per organization, one with read-only access permissions for Grafana and one with read-write for sensors and admin tasks.
Please note that it is more efficient to use a single database for different kinds of experiments.
You can use [tags and fields](https://docs.influxdata.com/influxdb/v1.8/concepts/schema_and_data_layout/#encouraged-schema-design) to organize your measurements.
......@@ -26,7 +26,7 @@ Alternatively you may also write the data yourself via the HTTP API (see [[write
## Getting started with InfluxDB
The instructions below should get you started interacting with **InfluxDB** using the HTTP API.
Please refer to the [InfluxDB API reference](https://docs.influxdata.com/influxdb/v1.5/tools/api/)
Please refer to the [InfluxDB API reference](https://docs.influxdata.com/influxdb/v1.8/tools/api/)
for an in-depth tutorial on interacting with the database.
Complete Documentation for InfluxDB can be found by accessing the official [manual](https://docs.influxdata.com/influxdb/).
......@@ -178,8 +178,8 @@ influx -host influxdb.phys.ethz.ch -port 443 -ssl \
This will establish a connection to the server and show the following prompt:
```bash
Connected to https://influxdb.phys.ethz.ch:443 version 1.7.6
InfluxDB shell version: 1.1.1
Connected to https://influxdb.phys.ethz.ch:443 version 1.x
InfluxDB shell version: 1.x
>
```
......@@ -205,7 +205,7 @@ influx -host influxdb.phys.ethz.ch -port 443 -ssl \
-import -path=export.txt
```
Please note that you need to at least supply a `DML` ([Data Manipulation Language](https://docs.influxdata.com/influxdb/v1.8/tools/shell/#import-data-from-a-file-with-import)) header with the correct `CONTEXT-DATABASE`.
Please note that you need to at least supply a `DML` ([Data Manipulation Language](https://docs.influxdata.com/influxdb/v1.8/tools/influx-cli/use-influx-cli/#import-data-from-a-file)) header with the correct `CONTEXT-DATABASE`.
## InfluxDB API client libraries
......@@ -274,7 +274,7 @@ CREATE RETENTION POLICY "1m" ON "mydb" DURATION 52w REPLICATION 1
CREATE RETENTION POLICY "10m" ON "mydb" DURATION 520w REPLICATION 1
```
Connect using the [influx CLI](https://docs.influxdata.com/influxdb/cloud/reference/cli/influx/) to the db (`mydb`):
Connect using the [influx CLI](https://docs.influxdata.com/influxdb/v1.8/tools/influx-cli/use-influx-cli/) to the db (`mydb`):
```bash
influx -precision rfc3339 -host influxdb.phys.ethz.ch -port 443 -ssl \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment