update latest patch and clean up versions
parent
4645942a3f
commit
bbc8fb4721
|
|
@ -85,6 +85,8 @@
|
|||
|
||||
&.open {
|
||||
height: auto;
|
||||
max-height: calc(100vh - 2rem);
|
||||
overflow-y: scroll;
|
||||
&:after {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ Displays the version of the Chronograf service.
|
|||
Example:
|
||||
```sh
|
||||
$ chronograf -v
|
||||
2018/01/03 14:11:19 Chronograf 1.4.0.0-rc1-26-gb74ae387 (git: b74ae387)
|
||||
2018/01/03 14:11:19 Chronograf {{< latest-patch >}} (git: b74ae387)
|
||||
```
|
||||
|
||||
## InfluxDB connection options
|
||||
|
|
|
|||
|
|
@ -27,12 +27,12 @@ The latest Chronograf builds are available on InfluxData's [Downloads page](http
|
|||
1. Choose the download link for your operating system.
|
||||
* Note that if your download includes a TAR package, we recommend specifying a location for the underlying datastore, `chronograf-v1.db`, outside of the directory from which you start Chronograf. This allows you to preserve and reference your existing datastore, including configurations and dashboards, when you download future versions.
|
||||
2. Install Chronograf:
|
||||
* MacOS: `tar zxvf chronograf-1.6.2_darwin_amd64.tar.gz`
|
||||
* Ubuntu & Debian: `sudo dpkg -i chronograf_1.6.2_amd64.deb`
|
||||
* RedHat and CentOS: `sudo yum localinstall chronograf-1.6.2.x86_64.rpm`
|
||||
* MacOS: `tar zxvf chronograf-{{< latest-patch >}}_darwin_amd64.tar.gz`
|
||||
* Ubuntu & Debian: `sudo dpkg -i chronograf_{{< latest-patch >}}_amd64.deb`
|
||||
* RedHat and CentOS: `sudo yum localinstall chronograf-{{< latest-patch >}}.x86_64.rpm`
|
||||
3. Start Chronograf:
|
||||
* MacOS: `tar zxvf chronograf-1.6.2_darwin_amd64.tar.gz`
|
||||
* Ubuntu & Debian: `sudo dpkg -i chronograf_1.6.2_amd64.deb`
|
||||
* MacOS: `tar zxvf chronograf-{{< latest-patch >}}_darwin_amd64.tar.gz`
|
||||
* Ubuntu & Debian: `sudo dpkg -i chronograf_{{< latest-patch >}}_amd64.deb`
|
||||
|
||||
|
||||
## Connect Chronograf to your InfluxDB instance or InfluxDB Enterprise cluster
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ Displays the version of the Chronograf service.
|
|||
Example:
|
||||
```sh
|
||||
$ chronograf -v
|
||||
2018/01/03 14:11:19 Chronograf 1.4.0.0-rc1-26-gb74ae387 (git: b74ae387)
|
||||
2018/01/03 14:11:19 Chronograf {{< latest-patch >}} (git: b74ae387)
|
||||
```
|
||||
|
||||
## InfluxDB connection options
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ Displays the version of the Chronograf service.
|
|||
Example:
|
||||
```sh
|
||||
$ chronograf -v
|
||||
2018/01/03 14:11:19 Chronograf 1.4.0.0-rc1-26-gb74ae387 (git: b74ae387)
|
||||
2018/01/03 14:11:19 Chronograf {{< latest-patch >}} (git: b74ae387)
|
||||
```
|
||||
|
||||
## InfluxDB connection options
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ menu:
|
|||
parent: Administration
|
||||
---
|
||||
|
||||
If you're upgrading from Chronograf 1.3.x, first install 1.7.x, and then install 1.8.
|
||||
If you're upgrading from Chronograf 1.3.x, first install {{< latest-patch version="1.7" >}}, and then install 1.8.
|
||||
|
||||
If you're upgrading from Chronograf 1.4 or later, [download and install](https://portal.influxdata.com/downloads) the most recent version of Chronograf, and then restart Chronograf.
|
||||
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ Displays the version of the Chronograf service.
|
|||
Example:
|
||||
```sh
|
||||
$ chronograf -v
|
||||
2018/01/03 14:11:19 Chronograf 1.4.0.0-rc1-26-gb74ae387 (git: b74ae387)
|
||||
2018/01/03 14:11:19 Chronograf {{< latest-patch >}} (git: b74ae387)
|
||||
```
|
||||
|
||||
## InfluxDB connection options
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ menu:
|
|||
parent: Administration
|
||||
---
|
||||
|
||||
If you're upgrading from Chronograf 1.3.x, first install 1.7.x, and then install {{< latest-patch >}}.
|
||||
If you're upgrading from Chronograf 1.3.x, first install {{< latest-patch version="1.7" >}}, and then install {{< latest-patch >}}.
|
||||
|
||||
If you're upgrading from Chronograf 1.4 or later, [download and install](https://portal.influxdata.com/downloads) the most recent version of Chronograf, and then restart Chronograf.
|
||||
|
||||
|
|
|
|||
|
|
@ -817,7 +817,7 @@ influxd-ctl show
|
|||
##### Showing all meta and data nodes in a cluster
|
||||
|
||||
In this example, the `show` command output displays that the cluster includes three meta nodes and two data nodes.
|
||||
Every node is using InfluxDB Enterprise `1.3.x-c1.3.x`.
|
||||
Every node is using InfluxDB Enterprise `{{< latest-patch >}}-c{{< latest-patch >}}`.
|
||||
|
||||
```
|
||||
$ influxd-ctl show
|
||||
|
|
@ -825,15 +825,15 @@ $ influxd-ctl show
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
2 cluster-node-01:8088 1.3.x-c1.3.x
|
||||
4 cluster-node-02:8088 1.3.x-c1.3.x
|
||||
2 cluster-node-01:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
4 cluster-node-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
cluster-node-01:8091 1.3.x-c1.3.x
|
||||
cluster-node-02:8091 1.3.x-c1.3.x
|
||||
cluster-node-03:8091 1.3.x-c1.3.x
|
||||
cluster-node-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
cluster-node-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
cluster-node-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
### `show-shards`
|
||||
|
|
|
|||
|
|
@ -120,14 +120,14 @@ If you have settings that you’d like to keep, please make a copy of your confi
|
|||
|
||||
#### Ubuntu & Debian (64-bit)
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_1.3.8-c1.3.8_amd64.deb
|
||||
sudo dpkg -i influxdb-data_1.3.8-c1.3.8_amd64.deb
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
sudo dpkg -i influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
#### RedHat & CentOS (64-bit)
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-1.3.8_c1.3.8.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-1.3.8_c1.3.8.x86_64.rpm
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
### 5. Update the configuration file
|
||||
|
|
|
|||
|
|
@ -203,15 +203,15 @@ The new meta node should appear in the output:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 enterprise-data-01:8088 1.5.x-c1.5.x
|
||||
5 enterprise-data-02:8088 1.5.x-c1.5.x
|
||||
4 enterprise-data-01:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
5 enterprise-data-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-03:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-04:8091 1.5.x-c1.5.x # <-- The newly added meta node
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-04:8091 {{< latest-patch >}}-c{{< latest-patch >}} # <-- The newly added meta node
|
||||
```
|
||||
|
||||
#### 2.5. Remove and replace all other non-leader meta nodes
|
||||
|
|
@ -284,15 +284,15 @@ The new data node should appear in the output:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 enterprise-data-03:8088 1.5.x-c1.5.x # <-- The newly added data node
|
||||
5 enterprise-data-02:8088 1.5.x-c1.5.x
|
||||
4 enterprise-data-03:8088 {{< latest-patch >}}-c{{< latest-patch >}} # <-- The newly added data node
|
||||
5 enterprise-data-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-02:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-03:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
Inspect your cluster's shard distribution with `influxd-ctl show-shards`.
|
||||
|
|
|
|||
|
|
@ -92,15 +92,15 @@ Perform the following steps on each data server.
|
|||
#### Ubuntu & Debian (64-bit)
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_1.5.4-c1.5.4_amd64.deb
|
||||
sudo dpkg -i influxdb-data_1.5.4-c1.5.4_amd64.deb
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
sudo dpkg -i influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
#### RedHat & CentOS (64-bit)
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-1.5.4_c1.5.4.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-1.5.4_c1.5.4.x86_64.rpm
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
### 2.2 Edit the configuration file
|
||||
|
|
@ -221,16 +221,16 @@ The expected output is:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 enterprise-data-01:8088 1.5.4-c1.5.4
|
||||
5 enterprise-data-02:8088 1.5.4-c1.5.4
|
||||
4 enterprise-data-01:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
5 enterprise-data-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.5.4-c1.5.4
|
||||
enterprise-meta-02:8091 1.5.4-c1.5.4
|
||||
enterprise-meta-03:8091 1.5.4-c1.5.4
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
The output should list every data node that was added to the cluster.
|
||||
|
|
|
|||
|
|
@ -99,15 +99,15 @@ Complete the following steps for each meta node server.
|
|||
##### Ubuntu & Debian (64-bit)
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta_1.5.4-c1.5.4_amd64.deb
|
||||
sudo dpkg -i influxdb-meta_1.5.4-c1.5.4_amd64.deb
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
sudo dpkg -i influxdb-meta_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
##### RedHat and CentOS (64-bit)
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta-1.5.4_c1.5.4.x86_64.rpm
|
||||
sudo yum localinstall influxdb-meta-1.5.4_c1.5.4.x86_64.rpm
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
sudo yum localinstall influxdb-meta-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
#### 2.2: Edit the configuration file
|
||||
|
|
@ -206,9 +206,9 @@ ID TCP Address Version
|
|||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.5.4-c1.5.4
|
||||
enterprise-meta-02:8091 1.5.4-c1.5.4
|
||||
enterprise-meta-03:8091 1.5.4-c1.5.4
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
Your cluster must have at least three meta nodes.
|
||||
|
|
|
|||
|
|
@ -107,14 +107,14 @@ Perform the following steps on all three servers.
|
|||
#### Ubuntu & Debian (64-bit)
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta_1.5.4-c1.5.4_amd64.deb
|
||||
sudo dpkg -i influxdb-meta_1.5.4-c1.5.4_amd64.deb
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
sudo dpkg -i influxdb-meta_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
#### RedHat & CentOS (64-bit)]
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta-1.5.4_c1.5.4.x86_64.rpm
|
||||
sudo yum localinstall influxdb-meta-1.5.4_c1.5.4.x86_64.rpm
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
sudo yum localinstall influxdb-meta-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
### II. Edit the meta service configuration file
|
||||
|
|
@ -174,14 +174,14 @@ Perform the following steps on all three servers.
|
|||
#### Ubuntu & Debian (64-bit)
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_1.5.4-c1.5.4_amd64.deb
|
||||
sudo dpkg -i influxdb-data_1.5.4-c1.5.4_amd64.deb
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
sudo dpkg -i influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
#### RedHat & CentOS (64-bit)
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-1.5.4_c1.5.4.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-1.5.4_c1.5.4.x86_64.rpm
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
### II. Edit the data service configuration file
|
||||
|
|
@ -344,16 +344,16 @@ The expected output is:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
2 quickstart-cluster-01:8088 1.5.4-c1.5.4
|
||||
4 quickstart-cluster-02:8088 1.5.4-c1.5.4
|
||||
6 quickstart-cluster-03:8088 1.5.4-c1.5.4
|
||||
2 quickstart-cluster-01:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
4 quickstart-cluster-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
6 quickstart-cluster-03:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
quickstart-cluster-01:8091 1.5.4-c1.5.4
|
||||
quickstart-cluster-02:8091 1.5.4-c1.5.4
|
||||
quickstart-cluster-03:8091 1.5.4-c1.5.4
|
||||
quickstart-cluster-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
quickstart-cluster-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
quickstart-cluster-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
Your InfluxDB Enterprise cluster should have three data nodes and three meta nodes.
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ support team.
|
|||
|
||||
Please include the following in your email:
|
||||
|
||||
* the version of InfluxDB Enterprise, e.g. 1.3.x-c1.3.x (and include your value for x)
|
||||
* the version of InfluxDB Enterprise, e.g. {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
* the version of Telegraf or Kapacitor, if applicable
|
||||
* what you expected to happen
|
||||
* what did happen
|
||||
|
|
|
|||
|
|
@ -880,7 +880,7 @@ influxd-ctl show
|
|||
###### Showing all meta and data nodes in a cluster
|
||||
|
||||
In this example, the `show` command output displays that the cluster includes three meta nodes and two data nodes.
|
||||
Every node is using InfluxDB Enterprise `1.3.x-c1.3.x`.
|
||||
Every node is using InfluxDB Enterprise `{{< latest-patch >}}-c{{< latest-patch >}}`.
|
||||
|
||||
```
|
||||
$ influxd-ctl show
|
||||
|
|
@ -888,15 +888,15 @@ $ influxd-ctl show
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
2 cluster-node-01:8088 1.3.x-c1.3.x
|
||||
4 cluster-node-02:8088 1.3.x-c1.3.x
|
||||
2 cluster-node-01:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
4 cluster-node-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
cluster-node-01:8091 1.3.x-c1.3.x
|
||||
cluster-node-02:8091 1.3.x-c1.3.x
|
||||
cluster-node-03:8091 1.3.x-c1.3.x
|
||||
cluster-node-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
cluster-node-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
cluster-node-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
#### `show-shards`
|
||||
|
|
|
|||
|
|
@ -120,14 +120,14 @@ If you have settings that you’d like to keep, please make a copy of your confi
|
|||
|
||||
#### Ubuntu & Debian (64-bit)
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_1.6.6-c1.6.6_amd64.deb
|
||||
sudo dpkg -i influxdb-data_1.6.6-c1.6.6_amd64.deb
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
sudo dpkg -i influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
#### RedHat & CentOS (64-bit)
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-1.6.6_c1.6.6.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-1.6.6_c1.6.6.x86_64.rpm
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
### 5. Update the configuration file
|
||||
|
|
|
|||
|
|
@ -203,15 +203,15 @@ The new meta node should appear in the output:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 enterprise-data-01:8088 1.5.x-c1.5.x
|
||||
5 enterprise-data-02:8088 1.5.x-c1.5.x
|
||||
4 enterprise-data-01:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
5 enterprise-data-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-03:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-04:8091 1.5.x-c1.5.x # <-- The newly added meta node
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-04:8091 {{< latest-patch >}}-c{{< latest-patch >}} # <-- The newly added meta node
|
||||
```
|
||||
|
||||
#### 2.5. Remove and replace all other non-leader meta nodes
|
||||
|
|
@ -284,15 +284,15 @@ The new data node should appear in the output:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 enterprise-data-03:8088 1.5.x-c1.5.x # <-- The newly added data node
|
||||
5 enterprise-data-02:8088 1.5.x-c1.5.x
|
||||
4 enterprise-data-03:8088 {{< latest-patch >}}-c{{< latest-patch >}} # <-- The newly added data node
|
||||
5 enterprise-data-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-02:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-03:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
Inspect your cluster's shard distribution with `influxd-ctl show-shards`.
|
||||
|
|
|
|||
|
|
@ -68,8 +68,8 @@ gcloud compute ssh influxdb-access
|
|||
On the instance, install the `influx` command line tool via the InfluxDB open source package.
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/influxdb/releases/influxdb_1.6.3_amd64.deb
|
||||
sudo dpkg -i influxdb_1.6.3_amd64.deb
|
||||
wget https://dl.influxdata.com/influxdb/releases/influxdb_{{< latest-patch >}}_amd64.deb
|
||||
sudo dpkg -i influxdb_{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
Now the InfluxDB Enterprise cluster can be accessed using the following command with "Admin username", "Admin password", and "Connection internal IP" values from the deployment screen substituted for `<value>`.
|
||||
|
|
|
|||
|
|
@ -97,15 +97,15 @@ Perform the following steps on each data node.
|
|||
#### Ubuntu & Debian (64-bit)
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_1.6.6-c1.6.6_amd64.deb
|
||||
sudo dpkg -i influxdb-data_1.6.6-c1.6.6_amd64.deb
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
sudo dpkg -i influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
#### RedHat & CentOS (64-bit)
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-1.6.6_c1.6.6.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-1.6.6_c1.6.6.x86_64.rpm
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
### II. Edit the data node configuration files
|
||||
|
|
@ -226,16 +226,16 @@ The expected output is:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 enterprise-data-01:8088 1.6.6-c1.6.6
|
||||
5 enterprise-data-02:8088 1.6.6-c1.6.6
|
||||
4 enterprise-data-01:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
5 enterprise-data-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
>
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.6.6-c1.6.6
|
||||
enterprise-meta-02:8091 1.6.6-c1.6.6
|
||||
enterprise-meta-03:8091 1.6.6-c1.6.6
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
|
||||
The output should include every data node that was added to the cluster.
|
||||
|
|
|
|||
|
|
@ -90,15 +90,15 @@ Perform the following steps on each meta server.
|
|||
##### Ubuntu & Debian (64-bit)
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta_1.6.6-c1.6.6_amd64.deb
|
||||
sudo dpkg -i influxdb-meta_1.6.6-c1.6.6_amd64.deb
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
sudo dpkg -i influxdb-meta_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
##### RedHat & CentOS (64-bit)
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta-1.6.6_c1.6.6.x86_64.rpm
|
||||
sudo yum localinstall influxdb-meta-1.6.6_c1.6.6.x86_64.rpm
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
sudo yum localinstall influxdb-meta-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
#### II. Edit the configuration file
|
||||
|
|
@ -192,9 +192,9 @@ The expected output is:
|
|||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.6.6-c1.6.6
|
||||
enterprise-meta-02:8091 1.6.6-c1.6.6
|
||||
enterprise-meta-03:8091 1.6.6-c1.6.6
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
|
||||
Note that your cluster must have at least three meta nodes.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ support team.
|
|||
|
||||
Please include the following in your email:
|
||||
|
||||
* the version of InfluxDB Enterprise, e.g. 1.6.x-c1.6.x (and include your value for x)
|
||||
* the version of InfluxDB Enterprise, e.g. {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
* the version of Telegraf or Kapacitor, if applicable
|
||||
* what you expected to happen
|
||||
* what did happen
|
||||
|
|
|
|||
|
|
@ -886,7 +886,7 @@ influxd-ctl show
|
|||
##### Show all meta and data nodes in a cluster
|
||||
|
||||
In this example, the `show` command output displays that the cluster includes three meta nodes and two data nodes.
|
||||
Every node is using InfluxDB Enterprise `1.3.x-c1.3.x`.
|
||||
Every node is using InfluxDB Enterprise `{{< latest-patch >}}-c{{< latest-patch >}}`.
|
||||
|
||||
```bash
|
||||
$ influxd-ctl show
|
||||
|
|
@ -894,15 +894,15 @@ $ influxd-ctl show
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
2 cluster-node-01:8088 1.3.x-c1.3.x
|
||||
4 cluster-node-02:8088 1.3.x-c1.3.x
|
||||
2 cluster-node-01:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
4 cluster-node-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
cluster-node-01:8091 1.3.x-c1.3.x
|
||||
cluster-node-02:8091 1.3.x-c1.3.x
|
||||
cluster-node-03:8091 1.3.x-c1.3.x
|
||||
cluster-node-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
cluster-node-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
cluster-node-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
### `show-shards`
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ menu:
|
|||
parent: Administration
|
||||
---
|
||||
|
||||
To successfully upgrade InfluxDB Enterprise clusters to 1.7.10, complete the following steps:
|
||||
To successfully upgrade InfluxDB Enterprise clusters to {{< latest-patch >}}, complete the following steps:
|
||||
|
||||
1. [Back up your cluster](#back-up-your-cluster).
|
||||
2. [Upgrade meta nodes](#upgrade-meta-nodes).
|
||||
|
|
@ -40,13 +40,13 @@ Complete the following steps to upgrade meta nodes:
|
|||
##### Ubuntu and Debian (64-bit)
|
||||
|
||||
```bash
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta_1.7.10-c1.7.10_amd64.deb
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
##### RedHat and CentOS (64-bit)
|
||||
|
||||
```bash
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta-1.7.10_c1.7.10.x86_64.rpm
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
### Install the meta node package
|
||||
|
|
@ -54,13 +54,13 @@ wget https://dl.influxdata.com/enterprise/releases/influxdb-meta-1.7.10_c1.7.10.
|
|||
##### Ubuntu and Debian (64-bit)
|
||||
|
||||
```bash
|
||||
sudo dpkg -i influxdb-meta_1.7.10-c1.7.10_amd64.deb
|
||||
sudo dpkg -i influxdb-meta_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
##### RedHat and CentOS (64-bit)
|
||||
|
||||
```bash
|
||||
sudo yum localinstall influxdb-meta-1.7.10_c1.7.10.x86_64.rpm
|
||||
sudo yum localinstall influxdb-meta-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
### Update the meta node configuration file
|
||||
|
|
@ -102,9 +102,9 @@ ID TCP Address Version
|
|||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
rk-upgrading-01:8091 1.7.10_c1.7.10 # 1.7.10_c1.7.10 = 👍
|
||||
rk-upgrading-02:8091 1.7.10_c1.7.10
|
||||
rk-upgrading-03:8091 1.7.10_c1.7.10
|
||||
rk-upgrading-01:8091 {{< latest-patch >}}_c{{< latest-patch >}} # {{< latest-patch >}}_c{{< latest-patch >}} = 👍
|
||||
rk-upgrading-02:8091 {{< latest-patch >}}_c{{< latest-patch >}}
|
||||
rk-upgrading-03:8091 {{< latest-patch >}}_c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
Ensure that the meta cluster is healthy before upgrading the data nodes.
|
||||
|
|
@ -128,13 +128,13 @@ Complete the following steps to upgrade data nodes:
|
|||
##### Ubuntu and Debian (64-bit)
|
||||
|
||||
```bash
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_1.7.10-c1.7.10_amd64.deb
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
##### RedHat and CentOS (64-bit)
|
||||
|
||||
```bash
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-1.7.10_c1.7.10.x86_64.rpm
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
### Stop traffic to the data node
|
||||
|
|
@ -145,19 +145,19 @@ wget https://dl.influxdata.com/enterprise/releases/influxdb-data-1.7.10_c1.7.10.
|
|||
|
||||
### Install the data node package
|
||||
|
||||
When you run the install command, you're prompted to keep or overwrite your current configuration file with the file for version 1.7.10. Enter `N` or `O` to keep your current configuration file. You'll make the configuration changes for version 1.7.10. in the next procedure, [Update the data node configuration file](#update-the-data-node-configuration-file).
|
||||
When you run the install command, you're prompted to keep or overwrite your current configuration file with the file for version {{< latest-patch >}}. Enter `N` or `O` to keep your current configuration file. You'll make the configuration changes for version {{< latest-patch >}}. in the next procedure, [Update the data node configuration file](#update-the-data-node-configuration-file).
|
||||
|
||||
|
||||
##### Ubuntu and Debian (64-bit)
|
||||
|
||||
```bash
|
||||
sudo dpkg -i influxdb-data_1.7.10-c1.7.10_amd64.deb
|
||||
sudo dpkg -i influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
##### RedHat & CentOS (64-bit)
|
||||
|
||||
```bash
|
||||
sudo yum localinstall influxdb-data-1.7.10_c1.7.10.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
### Update the data node configuration file
|
||||
|
|
@ -229,16 +229,16 @@ The [`influxd-ctl` utility](/enterprise_influxdb/v1.7/administration/cluster-com
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 rk-upgrading-01:8088 1.7.10_c1.7.10 # 1.7.10_c1.7.10 = 👍
|
||||
5 rk-upgrading-02:8088 1.7.10_c1.7.10
|
||||
6 rk-upgrading-03:8088 1.7.10_c1.7.10
|
||||
4 rk-upgrading-01:8088 {{< latest-patch >}}_c{{< latest-patch >}} # {{< latest-patch >}}_c{{< latest-patch >}} = 👍
|
||||
5 rk-upgrading-02:8088 {{< latest-patch >}}_c{{< latest-patch >}}
|
||||
6 rk-upgrading-03:8088 {{< latest-patch >}}_c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
rk-upgrading-01:8091 1.7.10_c1.7.10
|
||||
rk-upgrading-02:8091 1.7.10_c1.7.10
|
||||
rk-upgrading-03:8091 1.7.10_c1.7.10
|
||||
rk-upgrading-01:8091 {{< latest-patch >}}_c{{< latest-patch >}}
|
||||
rk-upgrading-02:8091 {{< latest-patch >}}_c{{< latest-patch >}}
|
||||
rk-upgrading-03:8091 {{< latest-patch >}}_c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
If you have any issues upgrading your cluster, contact InfluxData support.
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ menu:
|
|||
Migrate a running instance of InfluxDB open source (OSS) to an InfluxDB Enterprise cluster.
|
||||
|
||||
## Prerequisites
|
||||
- An InfluxDB OSS instance running **InfluxDB 1.7.10 or later**.
|
||||
- An InfluxDB Enterprise cluster running **InfluxDB Enterprise 1.7.10 or later**
|
||||
- An InfluxDB OSS instance running **InfluxDB {{< latest-patch >}} or later**.
|
||||
- An InfluxDB Enterprise cluster running **InfluxDB Enterprise {{< latest-patch >}} or later**
|
||||
- Network accessibility between the OSS instances and all data and meta nodes.
|
||||
|
||||
{{% warn %}}
|
||||
|
|
@ -29,7 +29,7 @@ Migrate a running instance of InfluxDB open source (OSS) to an InfluxDB Enterpri
|
|||
## To migrate to InfluxDB Enterprise
|
||||
Complete the following tasks:
|
||||
|
||||
1. [Upgrade to **InfluxDB 1.7.10 or later**](#upgrade-to-influxdb-1-7-10-or-later)
|
||||
1. [Upgrade to **InfluxDB {{< latest-patch >}} or later**](#upgrade-to-influxdb-1-7-10-or-later)
|
||||
2. [Set up InfluxDB Enterprise meta nodes](#set-up-influxdb-enterprise-meta-nodes)
|
||||
3. [Set up InfluxDB Enterprise data nodes](#set-up-influxdb-enterprise-data-nodes)
|
||||
4. [Upgrade the InfluxDB binary on your OSS instance](#upgrade-the-influxdb-oss-instance-to-influxdb-enterprise)
|
||||
|
|
@ -37,10 +37,10 @@ Complete the following tasks:
|
|||
6. [Add existing data nodes back to the cluster](#add-existing-data-nodes-back-to-the-cluster)
|
||||
7. [Rebalance the cluster](#rebalance-the-cluster)
|
||||
|
||||
## Upgrade to InfluxDB 1.7.10 or later
|
||||
InfluxDB 1.7.10 (both OSS and Enterprise) fixed an issue that prevented upgrading
|
||||
## Upgrade to InfluxDB {{< latest-patch >}} or later
|
||||
InfluxDB {{< latest-patch >}} (both OSS and Enterprise) fixed an issue that prevented upgrading
|
||||
an InfluxDB OSS instance to InfluxDB Enterprise successfully.
|
||||
Upgrade to **InfluxDB 1.7.10** or later before proceeding.
|
||||
Upgrade to **InfluxDB {{< latest-patch >}}** or later before proceeding.
|
||||
|
||||
- [Upgrade InfluxDB OSS](/{{< latest "influxdb" "v1" >}}/administration/upgrading/)
|
||||
- [Upgrade InfluxDB Enterprise](/enterprise_influxdb/v1.7/administration/upgrading/)
|
||||
|
|
@ -163,14 +163,14 @@ sudo yum remove influxdb
|
|||
{{% /code-tabs %}}
|
||||
{{% code-tab-content %}}
|
||||
```bash
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_1.7.10-c1.7.10_amd64.deb
|
||||
sudo dpkg -i influxdb-data_1.7.10-c1.7.10_amd64.deb
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
sudo dpkg -i influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
{{% /code-tab-content %}}
|
||||
{{% code-tab-content %}}
|
||||
```bash
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-1.7.10_c1.7.10.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-1.7.10_c1.7.10.x86_64.rpm
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
{{% /code-tab-content %}}
|
||||
{{< /code-tabs-wrapper >}}
|
||||
|
|
|
|||
|
|
@ -212,15 +212,15 @@ The new meta node should appear in the output:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 enterprise-data-01:8088 1.5.x-c1.5.x
|
||||
5 enterprise-data-02:8088 1.5.x-c1.5.x
|
||||
4 enterprise-data-01:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
5 enterprise-data-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-03:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-04:8091 1.5.x-c1.5.x # <-- The newly added meta node
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-04:8091 {{< latest-patch >}}-c{{< latest-patch >}} # <-- The newly added meta node
|
||||
```
|
||||
|
||||
#### 2.5. Remove and replace all other non-leader meta nodes
|
||||
|
|
@ -298,15 +298,15 @@ The new data node should appear in the output:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 enterprise-data-03:8088 1.5.x-c1.5.x # <-- The newly added data node
|
||||
5 enterprise-data-02:8088 1.5.x-c1.5.x
|
||||
4 enterprise-data-03:8088 {{< latest-patch >}}-c{{< latest-patch >}} # <-- The newly added data node
|
||||
5 enterprise-data-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-02:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-03:8091 1.5.x-c1.5.x
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
Inspect your cluster's shard distribution with `influxd-ctl show-shards`.
|
||||
|
|
|
|||
|
|
@ -85,8 +85,8 @@ Access the cluster's IP address from the GCP network (or subnetwork) specified w
|
|||
3. On the instance, install the `influx` command line tool via the InfluxDB open source package.
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/influxdb/releases/influxdb_1.7.10_amd64.deb
|
||||
sudo dpkg -i influxdb_1.7.10_amd64.deb
|
||||
wget https://dl.influxdata.com/influxdb/releases/influxdb_{{< latest-patch >}}_amd64.deb
|
||||
sudo dpkg -i influxdb_{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
4. Access the InfluxDB Enterprise cluster using the following command with "Admin username", "Admin password", and "Connection internal IP" values from the deployment screen substituted for `<value>`.
|
||||
|
|
|
|||
|
|
@ -97,15 +97,15 @@ Perform the following steps on each data node.
|
|||
#### Ubuntu and Debian (64-bit)
|
||||
|
||||
```bash
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_1.7.10-c1.7.10_amd64.deb
|
||||
sudo dpkg -i influxdb-data_1.7.10-c1.7.10_amd64.deb
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
sudo dpkg -i influxdb-data_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
#### RedHat and CentOS (64-bit)
|
||||
|
||||
```bash
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-1.7.10_c1.7.10.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-1.7.10_c1.7.10.x86_64.rpm
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
sudo yum localinstall influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
#### Verify the authenticity of release download (recommended)
|
||||
|
|
@ -122,13 +122,13 @@ For added security, follow these steps to verify the signature of your InfluxDB
|
|||
For example:
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-1.7.10_c1.7.10.x86_64.rpm.asc
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm.asc
|
||||
```
|
||||
|
||||
3. Verify the signature with `gpg --verify`:
|
||||
|
||||
```
|
||||
gpg --verify influxdb-data-1.7.10_c1.7.10.x86_64.rpm.asc influxdb-data-1.7.10_c1.7.10.x86_64.rpm
|
||||
gpg --verify influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm.asc influxdb-data-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
The output from this command should include the following:
|
||||
|
|
@ -259,16 +259,16 @@ The expected output is:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 enterprise-data-01:8088 1.7.10-c1.7.10
|
||||
5 enterprise-data-02:8088 1.7.10-c1.7.10
|
||||
4 enterprise-data-01:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
5 enterprise-data-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
>
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.7.10-c1.7.10
|
||||
enterprise-meta-02:8091 1.7.10-c1.7.10
|
||||
enterprise-meta-03:8091 1.7.10-c1.7.10
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
|
||||
The output should include every data node that was added to the cluster.
|
||||
|
|
|
|||
|
|
@ -91,15 +91,15 @@ Perform the following steps on each meta server.
|
|||
##### Ubuntu & Debian (64-bit)
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta_1.7.10-c1.7.10_amd64.deb
|
||||
sudo dpkg -i influxdb-meta_1.7.10-c1.7.10_amd64.deb
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
sudo dpkg -i influxdb-meta_{{< latest-patch >}}-c{{< latest-patch >}}_amd64.deb
|
||||
```
|
||||
|
||||
##### RedHat & CentOS (64-bit)
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta-1.7.10_c1.7.10.x86_64.rpm
|
||||
sudo yum localinstall influxdb-meta-1.7.10_c1.7.10.x86_64.rpm
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
sudo yum localinstall influxdb-meta-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
##### Verify the authenticity of release download (recommended)
|
||||
|
|
@ -116,13 +116,13 @@ For added security, follow these steps to verify the signature of your InfluxDB
|
|||
For example:
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta-1.7.10_c1.7.10.x86_64.rpm.asc
|
||||
wget https://dl.influxdata.com/enterprise/releases/influxdb-meta-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm.asc
|
||||
```
|
||||
|
||||
3. Verify the signature with `gpg --verify`:
|
||||
|
||||
```
|
||||
gpg --verify influxdb-meta-1.7.10_c1.7.10.x86_64.rpm.asc influxdb-meta-1.7.10_c1.7.10.x86_64.rpm
|
||||
gpg --verify influxdb-meta-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm.asc influxdb-meta-{{< latest-patch >}}_c{{< latest-patch >}}.x86_64.rpm
|
||||
```
|
||||
|
||||
The output from this command should include the following:
|
||||
|
|
@ -222,9 +222,9 @@ The expected output is:
|
|||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.7.10-c1.7.10
|
||||
enterprise-meta-02:8091 1.7.10-c1.7.10
|
||||
enterprise-meta-03:8091 1.7.10-c1.7.10
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
|
||||
Note that your cluster must have at least three meta nodes.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ support team.
|
|||
|
||||
Please include the following in your email:
|
||||
|
||||
* the version of InfluxDB Enterprise, e.g. 1.7.x-c1.7.x (and include your value for x)
|
||||
* the version of InfluxDB Enterprise, e.g. {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
* the version of Telegraf or Kapacitor, if applicable
|
||||
* what you expected to happen
|
||||
* what did happen
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ Most InfluxDB Enterprise applications can use the backup and restore utilities.
|
|||
|
||||
Use the `backup` and `restore` utilities to back up and restore between `influxd`
|
||||
instances with the same versions or with only minor version differences.
|
||||
For example, you can backup from 1.7.3 and restore on 1.8.6.
|
||||
For example, you can backup from {{< latest-patch version="1.7" >}} and restore on {{< latest-patch >}}.
|
||||
|
||||
### Backup utility
|
||||
|
||||
|
|
|
|||
|
|
@ -921,7 +921,7 @@ influxd-ctl show
|
|||
##### Show all meta and data nodes in a cluster
|
||||
|
||||
In this example, the `show` command output displays that the cluster includes three meta nodes and two data nodes.
|
||||
Every node is using InfluxDB Enterprise `1.3.x-c1.3.x`.
|
||||
Every node is using InfluxDB Enterprise `{{< latest-patch >}}-c{{< latest-patch >}}`.
|
||||
|
||||
```bash
|
||||
$ influxd-ctl show
|
||||
|
|
@ -929,15 +929,15 @@ $ influxd-ctl show
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
2 cluster-node-01:8088 1.3.x-c1.3.x
|
||||
4 cluster-node-02:8088 1.3.x-c1.3.x
|
||||
2 cluster-node-01:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
4 cluster-node-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
cluster-node-01:8091 1.3.x-c1.3.x
|
||||
cluster-node-02:8091 1.3.x-c1.3.x
|
||||
cluster-node-03:8091 1.3.x-c1.3.x
|
||||
cluster-node-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
cluster-node-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
cluster-node-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
### `show-shards`
|
||||
|
|
|
|||
|
|
@ -212,15 +212,15 @@ The new meta node should appear in the output:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 enterprise-data-01:8088 1.8.x-c1.8.x
|
||||
5 enterprise-data-02:8088 1.8.x-c1.8.x
|
||||
4 enterprise-data-01:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
5 enterprise-data-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.8.x-c1.8.x
|
||||
enterprise-meta-03:8091 1.8.x-c1.8.x
|
||||
enterprise-meta-04:8091 1.8.x-c1.8.x # <-- The newly added meta node
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-04:8091 {{< latest-patch >}}-c{{< latest-patch >}} # <-- The newly added meta node
|
||||
```
|
||||
|
||||
#### 2.5. Remove and replace all other non-leader meta nodes
|
||||
|
|
@ -298,15 +298,15 @@ The new data node should appear in the output:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 enterprise-data-03:8088 1.8.x-c1.8.x # <-- The newly added data node
|
||||
5 enterprise-data-02:8088 1.8.x-c1.8.x
|
||||
4 enterprise-data-03:8088 {{< latest-patch >}}-c{{< latest-patch >}} # <-- The newly added data node
|
||||
5 enterprise-data-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.8.x-c1.8.x
|
||||
enterprise-meta-02:8091 1.8.x-c1.8.x
|
||||
enterprise-meta-03:8091 1.8.x-c1.8.x
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
Inspect your cluster's shard distribution with `influxd-ctl show-shards`.
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ support team.
|
|||
|
||||
Please include the following in your email:
|
||||
|
||||
* the version of InfluxDB Enterprise, e.g. 1.8.x-c1.8.x (and include your value for x)
|
||||
* the version of InfluxDB Enterprise, e.g. {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
* the version of Telegraf or Kapacitor, if applicable
|
||||
* what you expected to happen
|
||||
* what did happen
|
||||
|
|
|
|||
|
|
@ -130,8 +130,8 @@ echo $INFLUX_USERNAME $INFLUX_PASSWORD
|
|||
todd influxdb4ever
|
||||
|
||||
influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate with CLI flags
|
||||
|
|
@ -140,8 +140,8 @@ to the `influx` CLI.
|
|||
|
||||
```bash
|
||||
influx -username todd -password influxdb4ever
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate with credentials in the influx shell
|
||||
|
|
@ -150,8 +150,8 @@ Enter your username and password when prompted.
|
|||
|
||||
```bash
|
||||
> influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.8.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
> auth
|
||||
username: todd
|
||||
password:
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ Most InfluxDB Enterprise applications can use the backup and restore utilities.
|
|||
|
||||
Use the `backup` and `restore` utilities to back up and restore between `influxd`
|
||||
instances with the same versions or with only minor version differences.
|
||||
For example, you can backup from 1.7.3 and restore on 1.8.2.
|
||||
For example, you can backup from {{< latest-patch version="1.8" >}} and restore on {{< latest-patch >}}.
|
||||
|
||||
### Backup utility
|
||||
|
||||
|
|
|
|||
|
|
@ -212,15 +212,15 @@ The new meta node should appear in the output:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 enterprise-data-01:8088 1.8.x-c1.8.x
|
||||
5 enterprise-data-02:8088 1.8.x-c1.8.x
|
||||
4 enterprise-data-01:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
5 enterprise-data-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.8.x-c1.8.x
|
||||
enterprise-meta-03:8091 1.8.x-c1.8.x
|
||||
enterprise-meta-04:8091 1.8.x-c1.8.x # <-- The newly added meta node
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-04:8091 {{< latest-patch >}}-c{{< latest-patch >}} # <-- The newly added meta node
|
||||
```
|
||||
|
||||
#### 2.5. Remove and replace all other non-leader meta nodes
|
||||
|
|
@ -298,15 +298,15 @@ The new data node should appear in the output:
|
|||
Data Nodes
|
||||
==========
|
||||
ID TCP Address Version
|
||||
4 enterprise-data-03:8088 1.8.x-c1.8.x # <-- The newly added data node
|
||||
5 enterprise-data-02:8088 1.8.x-c1.8.x
|
||||
4 enterprise-data-03:8088 {{< latest-patch >}}-c{{< latest-patch >}} # <-- The newly added data node
|
||||
5 enterprise-data-02:8088 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
|
||||
Meta Nodes
|
||||
==========
|
||||
TCP Address Version
|
||||
enterprise-meta-01:8091 1.8.x-c1.8.x
|
||||
enterprise-meta-02:8091 1.8.x-c1.8.x
|
||||
enterprise-meta-03:8091 1.8.x-c1.8.x
|
||||
enterprise-meta-01:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-02:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
enterprise-meta-03:8091 {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
```
|
||||
|
||||
Inspect your cluster's shard distribution with `influxd-ctl show-shards`.
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ returns:
|
|||
HTTP/1.1 400 Bad Request
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:01 GMT
|
||||
Content-Length: 150
|
||||
|
||||
|
|
@ -177,7 +177,7 @@ returns:
|
|||
HTTP/1.1 404 Not Found
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:35 GMT
|
||||
Content-Length: 45
|
||||
|
||||
|
|
|
|||
|
|
@ -65,8 +65,8 @@ Start by logging into the Influx CLI:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.8.x
|
||||
InfluxDB shell 1.8.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -40,8 +40,8 @@ Before proceeding, login to the Influx CLI.
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ The output should look like this:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
@ -71,8 +71,8 @@ influx -import -path=NOAA_data.txt -precision=s -database=NOAA_water_database
|
|||
### Test queries
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -327,7 +327,7 @@ HTTP/1.1 204 No Content
|
|||
Content-Type: application/json
|
||||
Request-Id: 9c353b0e-aadc-11e8-8023-000000000000
|
||||
X-Influxdb-Build: OSS
|
||||
X-Influxdb-Version: v1.8.2
|
||||
X-Influxdb-Version: v{{< latest-patch >}}
|
||||
X-Request-Id: 9c353b0e-aadc-11e8-8023-000000000000
|
||||
Date: Tue, 05 Nov 2018 16:08:32 GMT
|
||||
```
|
||||
|
|
@ -678,7 +678,7 @@ HTTP/1.1 200 OK
|
|||
Connection: close
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:22:54 GMT
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
|
|
@ -694,7 +694,7 @@ HTTP/1.1 200 OK
|
|||
Connection: close
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:23:48 GMT
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
|
|
@ -709,7 +709,7 @@ $ curl -i -G 'http://localhost:8086/query?db=mydb' --data-urlencode 'q=SELECT *'
|
|||
HTTP/1.1 400 Bad Request
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:24:25 GMT
|
||||
Content-Length: 76
|
||||
|
||||
|
|
@ -725,7 +725,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:11:26 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -772,7 +772,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&precision=s" --data-binary
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:33:23 GMT
|
||||
```
|
||||
|
||||
|
|
@ -784,7 +784,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&rp=myrp" --data-binary 'my
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:34:31 GMT
|
||||
```
|
||||
|
||||
|
|
@ -798,7 +798,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&u=myusername&p=mypassword"
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:34:56 GMT
|
||||
```
|
||||
|
||||
|
|
@ -811,7 +811,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:40:30 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -828,7 +828,7 @@ $ curl -i -XPOST -u myusername:mypassword "http://localhost:8086/write?db=mydb"
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:36:40 GMT
|
||||
```
|
||||
|
||||
|
|
@ -841,7 +841,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:46:40 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -885,7 +885,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary 'mymeas,myt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:02:57 GMT
|
||||
```
|
||||
|
||||
|
|
@ -897,7 +897,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary 'mymeas,myt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:03:44 GMT
|
||||
```
|
||||
|
||||
|
|
@ -910,7 +910,7 @@ mymeas,mytag=2 myfield=34 1463689152000000000'
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:04:02 GMT
|
||||
```
|
||||
|
||||
|
|
@ -922,7 +922,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary @data.txt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:08:11 GMT
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ Once you've entered the shell and successfully connected to an InfluxDB node, yo
|
|||
<br>
|
||||
```bash
|
||||
$ influx
|
||||
Connected to http://localhost:8086 version 1.8.x
|
||||
InfluxDB shell version: 1.8.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell version: {{< latest-patch >}}
|
||||
```
|
||||
|
||||
> **Note:** The versions of InfluxDB and the CLI should be identical. If not, parsing issues can occur with queries.
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ There a number of ways to identify the version of InfluxDB that you're using:
|
|||
```bash
|
||||
$ influxd version
|
||||
|
||||
InfluxDB ✨ v1.4.0 ✨ (git: master b7bb7e8359642b6e071735b50ae41f5eb343fd42)
|
||||
InfluxDB v{{< latest-patch >}} (git: master b7bb7e8359642b6e071735b50ae41f5eb343fd42)
|
||||
```
|
||||
|
||||
#### `curl` the `/ping` endpoint:
|
||||
|
|
@ -117,7 +117,7 @@ $ curl -i 'http://localhost:8086/ping'
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: 1e08aeb6-fec0-11e6-8486-000000000000
|
||||
✨ X-Influxdb-Version: 1.4.x ✨
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 20:46:17 GMT
|
||||
```
|
||||
|
||||
|
|
@ -126,8 +126,8 @@ Date: Wed, 01 Mar 2017 20:46:17 GMT
|
|||
```bash
|
||||
$ influx
|
||||
|
||||
Connected to http://localhost:8086✨ version 1.4.x ✨
|
||||
InfluxDB shell version: 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell version: {{< latest-patch >}}
|
||||
```
|
||||
|
||||
#### Check the HTTP response in your logs:
|
||||
|
|
@ -135,7 +135,7 @@ InfluxDB shell version: 1.4.x
|
|||
```bash
|
||||
$ journalctl -u influxdb.service
|
||||
|
||||
Mar 01 20:49:45 rk-api influxd[29560]: [httpd] 127.0.0.1 - - [01/Mar/2017:20:49:45 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 151 "-" ✨ "InfluxDBShell/1.4.x" ✨ 9a4371a1-fec0-11e6-84b6-000000000000 1709
|
||||
Mar 01 20:49:45 rk-api influxd[29560]: [httpd] 127.0.0.1 - - [01/Mar/2017:20:49:45 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 151 "-" "InfluxDBShell/{{< latest-patch >}}" 9a4371a1-fec0-11e6-84b6-000000000000 1709
|
||||
```
|
||||
|
||||
## Where can I find InfluxDB logs?
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ support team.
|
|||
|
||||
Please include the following in your email:
|
||||
|
||||
* the version of InfluxDB Enterprise, e.g. 1.8.x-c1.8.x (and include your value for x)
|
||||
* the version of InfluxDB Enterprise, e.g. {{< latest-patch >}}-c{{< latest-patch >}}
|
||||
* the version of Telegraf or Kapacitor, if applicable
|
||||
* what you expected to happen
|
||||
* what did happen
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ To migrate continuous queries to InfluxDB Cloud tasks, do the following:
|
|||
{{< keep-url >}}
|
||||
```sh
|
||||
$ influx
|
||||
Connected to http://localhost:8086 version 1.8.5
|
||||
InfluxDB shell version: 1.8.5
|
||||
Connected to http://localhost:8086 version {{< latest-patch version="1.8" >}}
|
||||
InfluxDB shell version: {{< latest-patch version="1.8" >}}
|
||||
> SHOW CONTINUOUS QUERIES
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ returns:
|
|||
HTTP/1.1 400 Bad Request
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:01 GMT
|
||||
Content-Length: 150
|
||||
|
||||
|
|
@ -144,7 +144,7 @@ returns:
|
|||
HTTP/1.1 404 Not Found
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:35 GMT
|
||||
Content-Length: 45
|
||||
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ The output should look like this:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.3.x
|
||||
InfluxDB shell 1.3.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -120,8 +120,8 @@ echo $INFLUX_USERNAME $INFLUX_PASSWORD
|
|||
todd influxdb4ever
|
||||
|
||||
influx
|
||||
Connected to http://localhost:8086 version 1.3.x
|
||||
InfluxDB shell 1.3.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate by setting the `username` and `password` flags when you start the CLI
|
||||
|
|
@ -130,8 +130,8 @@ Example:
|
|||
|
||||
```bash
|
||||
influx -username todd -password influxdb4ever
|
||||
Connected to http://localhost:8086 version 1.3.x
|
||||
InfluxDB shell 1.3.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate with `auth <username> <password>` after starting the CLI
|
||||
|
|
@ -140,8 +140,8 @@ Example:
|
|||
|
||||
```bash
|
||||
influx
|
||||
Connected to http://localhost:8086 version 1.3.x
|
||||
InfluxDB shell 1.3.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
> auth
|
||||
username: todd
|
||||
password:
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ The output should look like this:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.3.x
|
||||
InfluxDB shell 1.3.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
@ -68,8 +68,8 @@ influx -import -path=NOAA_data.txt -precision=s -database=NOAA_water_database
|
|||
### Test queries
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.3.x
|
||||
InfluxDB shell 1.3.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -59,8 +59,8 @@ the data and follow along with the example queries in the sections below.
|
|||
Start by logging into the Influx CLI:
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.3.x
|
||||
InfluxDB shell 1.3.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -35,8 +35,8 @@ Before proceeding, login to the Influx CLI.
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.3.x
|
||||
InfluxDB shell 1.3.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ $ curl -sl -I localhost:8086/ping
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 00:09:52 GMT
|
||||
```
|
||||
|
||||
|
|
@ -429,7 +429,7 @@ HTTP/1.1 200 OK
|
|||
Connection: close
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:22:54 GMT
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
|
|
@ -445,7 +445,7 @@ HTTP/1.1 200 OK
|
|||
Connection: close
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:23:48 GMT
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
|
|
@ -460,7 +460,7 @@ $ curl -i -G 'http://localhost:8086/query?db=mydb' --data-urlencode 'q=SELECT *'
|
|||
HTTP/1.1 400 Bad Request
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:24:25 GMT
|
||||
Content-Length: 76
|
||||
|
||||
|
|
@ -476,7 +476,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:11:26 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -523,7 +523,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&precision=s" --data-binary
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 17:33:23 GMT
|
||||
```
|
||||
|
||||
|
|
@ -535,7 +535,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&rp=myrp" --data-binary 'my
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 17:34:31 GMT
|
||||
```
|
||||
|
||||
|
|
@ -548,7 +548,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&u=myusername&p=mypassword"
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 17:34:56 GMT
|
||||
```
|
||||
|
||||
|
|
@ -560,7 +560,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 17:40:30 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -576,7 +576,7 @@ $ curl -i -XPOST -u myusername:mypassword "http://localhost:8086/write?db=mydb"
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 17:36:40 GMT
|
||||
```
|
||||
|
||||
|
|
@ -588,7 +588,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 17:46:40 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -632,7 +632,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary 'mymeas,myt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 18:02:57 GMT
|
||||
```
|
||||
|
||||
|
|
@ -644,7 +644,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary 'mymeas,myt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 18:03:44 GMT
|
||||
```
|
||||
|
||||
|
|
@ -657,7 +657,7 @@ mymeas,mytag=2 myfield=34 1463689152000000000'
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 18:04:02 GMT
|
||||
```
|
||||
|
||||
|
|
@ -669,7 +669,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary @data.txt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.3.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 18:08:11 GMT
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ Once you've entered the shell and successfully connected to an InfluxDB node, yo
|
|||
<br>
|
||||
```bash
|
||||
$ influx
|
||||
Connected to http://localhost:8086 version 1.3.x
|
||||
InfluxDB shell 1.3.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
> **Note:** The CLI and InfluxDB versions should be identical. If not, it can lead to parsing issues with queries.
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ There a number of ways to identify the version of InfluxDB that you're using:
|
|||
```
|
||||
$ influxd version
|
||||
|
||||
InfluxDB ✨ v1.3.0 ✨ (git: master b7bb7e8359642b6e071735b50ae41f5eb343fd42)
|
||||
InfluxDB v{{< latest-patch >}} (git: master b7bb7e8359642b6e071735b50ae41f5eb343fd42)
|
||||
```
|
||||
|
||||
#### `curl` the `/ping` endpoint:
|
||||
|
|
@ -97,7 +97,7 @@ $ curl -i 'http://localhost:8086/ping'
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: 1e08aeb6-fec0-11e6-8486-000000000000
|
||||
✨ X-Influxdb-Version: 1.3.x ✨
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 20:46:17 GMT
|
||||
```
|
||||
|
||||
|
|
@ -106,8 +106,8 @@ Date: Wed, 01 Mar 2017 20:46:17 GMT
|
|||
```
|
||||
$ influx
|
||||
|
||||
Connected to http://localhost:8086✨ version 1.3.x ✨
|
||||
InfluxDB shell version: 1.3.x
|
||||
Connected to http://localhost:8086version {{< latest-patch >}}
|
||||
InfluxDB shell version: {{< latest-patch >}}
|
||||
```
|
||||
|
||||
#### Check the HTTP response in your logs:
|
||||
|
|
@ -115,7 +115,7 @@ InfluxDB shell version: 1.3.x
|
|||
```
|
||||
$ journald-ctl -u influxdb.service
|
||||
|
||||
Mar 01 20:49:45 rk-api influxd[29560]: [httpd] 127.0.0.1 - - [01/Mar/2017:20:49:45 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 151 "-" ✨ "InfluxDBShell/1.3.x" ✨ 9a4371a1-fec0-11e6-84b6-000000000000 1709
|
||||
Mar 01 20:49:45 rk-api influxd[29560]: [httpd] 127.0.0.1 - - [01/Mar/2017:20:49:45 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 151 "-" "InfluxDBShell/{{< latest-patch >}}" 9a4371a1-fec0-11e6-84b6-000000000000 1709
|
||||
```
|
||||
|
||||
## Where can I find InfluxDB logs?
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ returns:
|
|||
HTTP/1.1 400 Bad Request
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:01 GMT
|
||||
Content-Length: 150
|
||||
|
||||
|
|
@ -144,7 +144,7 @@ returns:
|
|||
HTTP/1.1 404 Not Found
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:35 GMT
|
||||
Content-Length: 45
|
||||
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ The output should look like this:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -120,8 +120,8 @@ echo $INFLUX_USERNAME $INFLUX_PASSWORD
|
|||
todd influxdb4ever
|
||||
|
||||
influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate by setting the `username` and `password` flags when you start the CLI
|
||||
|
|
@ -130,8 +130,8 @@ Example:
|
|||
|
||||
```bash
|
||||
influx -username todd -password influxdb4ever
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate with `auth <username> <password>` after starting the CLI
|
||||
|
|
@ -140,8 +140,8 @@ Example:
|
|||
|
||||
```bash
|
||||
influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
> auth
|
||||
username: todd
|
||||
password:
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ The output should look like this:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
@ -68,8 +68,8 @@ influx -import -path=NOAA_data.txt -precision=s -database=NOAA_water_database
|
|||
### Test queries
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -59,8 +59,8 @@ the data and follow along with the example queries in the sections below.
|
|||
Start by logging into the Influx CLI:
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -35,8 +35,8 @@ Before proceeding, login to the Influx CLI.
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ $ curl -sl -I localhost:8086/ping
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 00:09:52 GMT
|
||||
```
|
||||
|
||||
|
|
@ -428,7 +428,7 @@ HTTP/1.1 200 OK
|
|||
Connection: close
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:22:54 GMT
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
|
|
@ -444,7 +444,7 @@ HTTP/1.1 200 OK
|
|||
Connection: close
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:23:48 GMT
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
|
|
@ -459,7 +459,7 @@ $ curl -i -G 'http://localhost:8086/query?db=mydb' --data-urlencode 'q=SELECT *'
|
|||
HTTP/1.1 400 Bad Request
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:24:25 GMT
|
||||
Content-Length: 76
|
||||
|
||||
|
|
@ -475,7 +475,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:11:26 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -522,7 +522,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&precision=s" --data-binary
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:33:23 GMT
|
||||
```
|
||||
|
||||
|
|
@ -534,7 +534,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&rp=myrp" --data-binary 'my
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:34:31 GMT
|
||||
```
|
||||
|
||||
|
|
@ -547,7 +547,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&u=myusername&p=mypassword"
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:34:56 GMT
|
||||
```
|
||||
|
||||
|
|
@ -559,7 +559,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:40:30 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -575,7 +575,7 @@ $ curl -i -XPOST -u myusername:mypassword "http://localhost:8086/write?db=mydb"
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:36:40 GMT
|
||||
```
|
||||
|
||||
|
|
@ -587,7 +587,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:46:40 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -631,7 +631,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary 'mymeas,myt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:02:57 GMT
|
||||
```
|
||||
|
||||
|
|
@ -643,7 +643,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary 'mymeas,myt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:03:44 GMT
|
||||
```
|
||||
|
||||
|
|
@ -656,7 +656,7 @@ mymeas,mytag=2 myfield=34 1463689152000000000'
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:04:02 GMT
|
||||
```
|
||||
|
||||
|
|
@ -668,7 +668,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary @data.txt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:08:11 GMT
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ Once you've entered the shell and successfully connected to an InfluxDB node, yo
|
|||
<br>
|
||||
```bash
|
||||
$ influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
> **Note:** The CLI and InfluxDB versions should be identical. If not, it can lead to parsing issues with queries.
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ There a number of ways to identify the version of InfluxDB that you're using:
|
|||
```
|
||||
$ influxd version
|
||||
|
||||
InfluxDB ✨ v1.4.0 ✨ (git: master b7bb7e8359642b6e071735b50ae41f5eb343fd42)
|
||||
InfluxDB v{{< latest-patch >}} (git: master b7bb7e8359642b6e071735b50ae41f5eb343fd42)
|
||||
```
|
||||
|
||||
#### `curl` the `/ping` endpoint:
|
||||
|
|
@ -98,7 +98,7 @@ $ curl -i 'http://localhost:8086/ping'
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: 1e08aeb6-fec0-11e6-8486-000000000000
|
||||
✨ X-Influxdb-Version: 1.4.x ✨
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 20:46:17 GMT
|
||||
```
|
||||
|
||||
|
|
@ -107,8 +107,8 @@ Date: Wed, 01 Mar 2017 20:46:17 GMT
|
|||
```
|
||||
$ influx
|
||||
|
||||
Connected to http://localhost:8086✨ version 1.4.x ✨
|
||||
InfluxDB shell version: 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell version: {{< latest-patch >}}
|
||||
```
|
||||
|
||||
#### Check the HTTP response in your logs:
|
||||
|
|
@ -116,7 +116,7 @@ InfluxDB shell version: 1.4.x
|
|||
```
|
||||
$ journald-ctl -u influxdb.service
|
||||
|
||||
Mar 01 20:49:45 rk-api influxd[29560]: [httpd] 127.0.0.1 - - [01/Mar/2017:20:49:45 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 151 "-" ✨ "InfluxDBShell/1.4.x" ✨ 9a4371a1-fec0-11e6-84b6-000000000000 1709
|
||||
Mar 01 20:49:45 rk-api influxd[29560]: [httpd] 127.0.0.1 - - [01/Mar/2017:20:49:45 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 151 "-" "InfluxDBShell/{{< latest-patch >}}" 9a4371a1-fec0-11e6-84b6-000000000000 1709
|
||||
```
|
||||
|
||||
## Where can I find InfluxDB logs?
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ returns:
|
|||
HTTP/1.1 400 Bad Request
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:01 GMT
|
||||
Content-Length: 150
|
||||
|
||||
|
|
@ -144,7 +144,7 @@ returns:
|
|||
HTTP/1.1 404 Not Found
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:35 GMT
|
||||
Content-Length: 45
|
||||
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ The output should look like this:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -121,8 +121,8 @@ echo $INFLUX_USERNAME $INFLUX_PASSWORD
|
|||
todd influxdb4ever
|
||||
|
||||
influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate by setting the `username` and `password` flags when you start the CLI
|
||||
|
|
@ -131,8 +131,8 @@ Example:
|
|||
|
||||
```bash
|
||||
influx -username todd -password influxdb4ever
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate with `auth <username> <password>` after starting the CLI
|
||||
|
|
@ -141,8 +141,8 @@ Example:
|
|||
|
||||
```bash
|
||||
influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
> auth
|
||||
username: todd
|
||||
password:
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ The output should look like this:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
@ -68,8 +68,8 @@ influx -import -path=NOAA_data.txt -precision=s -database=NOAA_water_database
|
|||
### Test queries
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -60,8 +60,8 @@ the data and follow along with the example queries in the sections below.
|
|||
Start by logging into the Influx CLI:
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ Before proceeding, login to the Influx CLI.
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ $ curl -sl -I localhost:8086/ping
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 00:09:52 GMT
|
||||
```
|
||||
|
||||
|
|
@ -428,7 +428,7 @@ HTTP/1.1 200 OK
|
|||
Connection: close
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:22:54 GMT
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
|
|
@ -444,7 +444,7 @@ HTTP/1.1 200 OK
|
|||
Connection: close
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:23:48 GMT
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
|
|
@ -459,7 +459,7 @@ $ curl -i -G 'http://localhost:8086/query?db=mydb' --data-urlencode 'q=SELECT *'
|
|||
HTTP/1.1 400 Bad Request
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:24:25 GMT
|
||||
Content-Length: 76
|
||||
|
||||
|
|
@ -475,7 +475,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:11:26 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -522,7 +522,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&precision=s" --data-binary
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:33:23 GMT
|
||||
```
|
||||
|
||||
|
|
@ -534,7 +534,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&rp=myrp" --data-binary 'my
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:34:31 GMT
|
||||
```
|
||||
|
||||
|
|
@ -547,7 +547,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&u=myusername&p=mypassword"
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:34:56 GMT
|
||||
```
|
||||
|
||||
|
|
@ -559,7 +559,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:40:30 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -575,7 +575,7 @@ $ curl -i -XPOST -u myusername:mypassword "http://localhost:8086/write?db=mydb"
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:36:40 GMT
|
||||
```
|
||||
|
||||
|
|
@ -587,7 +587,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:46:40 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -631,7 +631,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary 'mymeas,myt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:02:57 GMT
|
||||
```
|
||||
|
||||
|
|
@ -643,7 +643,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary 'mymeas,myt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:03:44 GMT
|
||||
```
|
||||
|
||||
|
|
@ -656,7 +656,7 @@ mymeas,mytag=2 myfield=34 1463689152000000000'
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:04:02 GMT
|
||||
```
|
||||
|
||||
|
|
@ -668,7 +668,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary @data.txt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:08:11 GMT
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ Once you've entered the shell and successfully connected to an InfluxDB node, yo
|
|||
|
||||
```bash
|
||||
$ influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
> **Note:** The versions of InfluxDB and the CLI should be identical. If not, parsing issues can occur with queries.
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ There a number of ways to identify the version of InfluxDB that you're using:
|
|||
```
|
||||
$ influxd version
|
||||
|
||||
InfluxDB ✨ v1.4.0 ✨ (git: master b7bb7e8359642b6e071735b50ae41f5eb343fd42)
|
||||
InfluxDB {{< latest-patch >}} (git: master b7bb7e8359642b6e071735b50ae41f5eb343fd42)
|
||||
```
|
||||
|
||||
#### `curl` the `/ping` endpoint:
|
||||
|
|
@ -98,7 +98,7 @@ $ curl -i 'http://localhost:8086/ping'
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: 1e08aeb6-fec0-11e6-8486-000000000000
|
||||
✨ X-Influxdb-Version: 1.4.x ✨
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 20:46:17 GMT
|
||||
```
|
||||
|
||||
|
|
@ -107,8 +107,8 @@ Date: Wed, 01 Mar 2017 20:46:17 GMT
|
|||
```
|
||||
$ influx
|
||||
|
||||
Connected to http://localhost:8086✨ version 1.4.x ✨
|
||||
InfluxDB shell version: 1.4.x
|
||||
Connected to http://localhost:8086version {{< latest-patch >}}
|
||||
InfluxDB shell version: {{< latest-patch >}}
|
||||
```
|
||||
|
||||
#### Check the HTTP response in your logs:
|
||||
|
|
@ -116,7 +116,7 @@ InfluxDB shell version: 1.4.x
|
|||
```
|
||||
$ journald-ctl -u influxdb.service
|
||||
|
||||
Mar 01 20:49:45 rk-api influxd[29560]: [httpd] 127.0.0.1 - - [01/Mar/2017:20:49:45 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 151 "-" ✨ "InfluxDBShell/1.4.x" ✨ 9a4371a1-fec0-11e6-84b6-000000000000 1709
|
||||
Mar 01 20:49:45 rk-api influxd[29560]: [httpd] 127.0.0.1 - - [01/Mar/2017:20:49:45 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 151 "-" "InfluxDBShell/{{< latest-patch >}}" 9a4371a1-fec0-11e6-84b6-000000000000 1709
|
||||
```
|
||||
|
||||
## Where can I find InfluxDB logs?
|
||||
|
|
|
|||
|
|
@ -121,8 +121,8 @@ echo $INFLUX_USERNAME $INFLUX_PASSWORD
|
|||
todd influxdb4ever
|
||||
|
||||
influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate by setting the `username` and `password` flags when you start the CLI
|
||||
|
|
@ -131,8 +131,8 @@ Example:
|
|||
|
||||
```bash
|
||||
influx -username todd -password influxdb4ever
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate with `auth <username> <password>` after starting the CLI
|
||||
|
|
@ -141,8 +141,8 @@ Example:
|
|||
|
||||
```bash
|
||||
influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
> auth
|
||||
username: todd
|
||||
password:
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ returns:
|
|||
HTTP/1.1 400 Bad Request
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:01 GMT
|
||||
Content-Length: 150
|
||||
|
||||
|
|
@ -144,7 +144,7 @@ returns:
|
|||
HTTP/1.1 404 Not Found
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:35 GMT
|
||||
Content-Length: 45
|
||||
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ The output should look like this:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ The output should look like this:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
@ -68,8 +68,8 @@ influx -import -path=NOAA_data.txt -precision=s -database=NOAA_water_database
|
|||
### Test queries
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -60,8 +60,8 @@ the data and follow along with the example queries in the sections below.
|
|||
Start by logging into the Influx CLI:
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.6.x
|
||||
InfluxDB shell 1.6.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ Before proceeding, login to the Influx CLI.
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ HTTP/1.1 204 No Content
|
|||
Content-Type: application/json
|
||||
Request-Id: 9c353b0e-aadc-11e8-8023-000000000000
|
||||
X-Influxdb-Build: OSS
|
||||
X-Influxdb-Version: v1.6.2
|
||||
X-Influxdb-Version: v{{< latest-patch >}}
|
||||
X-Request-Id: 9c353b0e-aadc-11e8-8023-000000000000
|
||||
Date: Tue, 28 Aug 2018 16:08:32 GMT
|
||||
```
|
||||
|
|
@ -520,7 +520,7 @@ HTTP/1.1 200 OK
|
|||
Connection: close
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:22:54 GMT
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
|
|
@ -536,7 +536,7 @@ HTTP/1.1 200 OK
|
|||
Connection: close
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:23:48 GMT
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
|
|
@ -551,7 +551,7 @@ $ curl -i -G 'http://localhost:8086/query?db=mydb' --data-urlencode 'q=SELECT *'
|
|||
HTTP/1.1 400 Bad Request
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:24:25 GMT
|
||||
Content-Length: 76
|
||||
|
||||
|
|
@ -567,7 +567,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:11:26 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -614,7 +614,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&precision=s" --data-binary
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:33:23 GMT
|
||||
```
|
||||
|
||||
|
|
@ -626,7 +626,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&rp=myrp" --data-binary 'my
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:34:31 GMT
|
||||
```
|
||||
|
||||
|
|
@ -639,7 +639,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&u=myusername&p=mypassword"
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:34:56 GMT
|
||||
```
|
||||
|
||||
|
|
@ -651,7 +651,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:40:30 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -667,7 +667,7 @@ $ curl -i -XPOST -u myusername:mypassword "http://localhost:8086/write?db=mydb"
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:36:40 GMT
|
||||
```
|
||||
|
||||
|
|
@ -679,7 +679,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:46:40 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -723,7 +723,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary 'mymeas,myt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:02:57 GMT
|
||||
```
|
||||
|
||||
|
|
@ -735,7 +735,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary 'mymeas,myt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:03:44 GMT
|
||||
```
|
||||
|
||||
|
|
@ -748,7 +748,7 @@ mymeas,mytag=2 myfield=34 1463689152000000000'
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:04:02 GMT
|
||||
```
|
||||
|
||||
|
|
@ -760,7 +760,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary @data.txt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:08:11 GMT
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ Once you've entered the shell and successfully connected to an InfluxDB node, yo
|
|||
<br>
|
||||
```bash
|
||||
$ influx
|
||||
Connected to http://localhost:8086 version 1.6.x
|
||||
InfluxDB shell version: 1.6.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell version: {{< latest-patch >}}
|
||||
```
|
||||
|
||||
> **Note:** The versions of InfluxDB and the CLI should be identical. If not, parsing issues can occur with queries.
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ There a number of ways to identify the version of InfluxDB that you're using:
|
|||
```
|
||||
$ influxd version
|
||||
|
||||
InfluxDB ✨ v1.4.0 ✨ (git: master b7bb7e8359642b6e071735b50ae41f5eb343fd42)
|
||||
InfluxDB v{{< latest-patch >}} (git: master b7bb7e8359642b6e071735b50ae41f5eb343fd42)
|
||||
```
|
||||
|
||||
#### `curl` the `/ping` endpoint:
|
||||
|
|
@ -98,7 +98,7 @@ $ curl -i 'http://localhost:8086/ping'
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: 1e08aeb6-fec0-11e6-8486-000000000000
|
||||
✨ X-Influxdb-Version: 1.4.x ✨
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 20:46:17 GMT
|
||||
```
|
||||
|
||||
|
|
@ -107,8 +107,8 @@ Date: Wed, 01 Mar 2017 20:46:17 GMT
|
|||
```
|
||||
$ influx
|
||||
|
||||
Connected to http://localhost:8086✨ version 1.4.x ✨
|
||||
InfluxDB shell version: 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell version: {{< latest-patch >}}
|
||||
```
|
||||
|
||||
#### Check the HTTP response in your logs:
|
||||
|
|
@ -116,7 +116,7 @@ InfluxDB shell version: 1.4.x
|
|||
```
|
||||
$ journald-ctl -u influxdb.service
|
||||
|
||||
Mar 01 20:49:45 rk-api influxd[29560]: [httpd] 127.0.0.1 - - [01/Mar/2017:20:49:45 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 151 "-" ✨ "InfluxDBShell/1.4.x" ✨ 9a4371a1-fec0-11e6-84b6-000000000000 1709
|
||||
Mar 01 20:49:45 rk-api influxd[29560]: [httpd] 127.0.0.1 - - [01/Mar/2017:20:49:45 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 151 "-" "InfluxDBShell/{{< latest-patch >}}" 9a4371a1-fec0-11e6-84b6-000000000000 1709
|
||||
```
|
||||
|
||||
## Where can I find InfluxDB logs?
|
||||
|
|
|
|||
|
|
@ -131,8 +131,8 @@ echo $INFLUX_USERNAME $INFLUX_PASSWORD
|
|||
todd influxdb4ever
|
||||
|
||||
influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate by setting the `username` and `password` flags when you start the CLI
|
||||
|
|
@ -141,8 +141,8 @@ Example:
|
|||
|
||||
```bash
|
||||
influx -username todd -password influxdb4ever
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate with `auth <username> <password>` after starting the CLI
|
||||
|
|
@ -151,8 +151,8 @@ Example:
|
|||
|
||||
```bash
|
||||
influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
> auth
|
||||
username: todd
|
||||
password:
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ returns:
|
|||
HTTP/1.1 400 Bad Request
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:01 GMT
|
||||
Content-Length: 150
|
||||
|
||||
|
|
@ -166,7 +166,7 @@ returns:
|
|||
HTTP/1.1 404 Not Found
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:35 GMT
|
||||
Content-Length: 45
|
||||
|
||||
|
|
|
|||
|
|
@ -28,8 +28,8 @@ The output should look like this:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.7.x
|
||||
InfluxDB shell 1.7.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -238,13 +238,13 @@ If `gpg` is not available, see the [GnuPG homepage](https://gnupg.org/download/)
|
|||
For example:
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.7.10_linux_amd64.tar.gz.asc
|
||||
wget https://dl.influxdata.com/influxdb/releases/influxdb-{{< latest-patch >}}_linux_amd64.tar.gz.asc
|
||||
```
|
||||
|
||||
3. Verify the signature with `gpg --verify`:
|
||||
|
||||
```
|
||||
gpg --verify influxdb-1.7.10_linux_amd64.tar.gz.asc influxdb-1.7.10_linux_amd64.tar.gz
|
||||
gpg --verify influxdb-{{< latest-patch >}}_linux_amd64.tar.gz.asc influxdb-{{< latest-patch >}}_linux_amd64.tar.gz
|
||||
```
|
||||
|
||||
The output from this command should include the following:
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ The output should look like this:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
@ -69,8 +69,8 @@ influx -import -path=NOAA_data.txt -precision=s -database=NOAA_water_database
|
|||
### Test queries
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -62,8 +62,8 @@ Start by logging into the Influx CLI:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.7.x
|
||||
InfluxDB shell 1.7.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@ Before proceeding, login to the Influx CLI.
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ HTTP/1.1 204 No Content
|
|||
Content-Type: application/json
|
||||
Request-Id: 9c353b0e-aadc-11e8-8023-000000000000
|
||||
X-Influxdb-Build: OSS
|
||||
X-Influxdb-Version: v1.7.0
|
||||
X-Influxdb-Version: v{{< latest-patch >}}
|
||||
X-Request-Id: 9c353b0e-aadc-11e8-8023-000000000000
|
||||
Date: Tue, 05 Nov 2018 16:08:32 GMT
|
||||
```
|
||||
|
|
@ -540,7 +540,7 @@ HTTP/1.1 200 OK
|
|||
Connection: close
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:22:54 GMT
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
|
|
@ -556,7 +556,7 @@ HTTP/1.1 200 OK
|
|||
Connection: close
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:23:48 GMT
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
|
|
@ -571,7 +571,7 @@ $ curl -i -G 'http://localhost:8086/query?db=mydb' --data-urlencode 'q=SELECT *'
|
|||
HTTP/1.1 400 Bad Request
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:24:25 GMT
|
||||
Content-Length: 76
|
||||
|
||||
|
|
@ -587,7 +587,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 19:11:26 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -634,7 +634,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&precision=s" --data-binary
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:33:23 GMT
|
||||
```
|
||||
|
||||
|
|
@ -646,7 +646,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&rp=myrp" --data-binary 'my
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:34:31 GMT
|
||||
```
|
||||
|
||||
|
|
@ -660,7 +660,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb&u=myusername&p=mypassword"
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:34:56 GMT
|
||||
```
|
||||
|
||||
|
|
@ -673,7 +673,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:40:30 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -690,7 +690,7 @@ $ curl -i -XPOST -u myusername:mypassword "http://localhost:8086/write?db=mydb"
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:36:40 GMT
|
||||
```
|
||||
|
||||
|
|
@ -703,7 +703,7 @@ HTTP/1.1 401 Unauthorized
|
|||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
Www-Authenticate: Basic realm="InfluxDB"
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 17:46:40 GMT
|
||||
Content-Length: 33
|
||||
|
||||
|
|
@ -747,7 +747,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary 'mymeas,myt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:02:57 GMT
|
||||
```
|
||||
|
||||
|
|
@ -759,7 +759,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary 'mymeas,myt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:03:44 GMT
|
||||
```
|
||||
|
||||
|
|
@ -772,7 +772,7 @@ mymeas,mytag=2 myfield=34 1463689152000000000'
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:04:02 GMT
|
||||
```
|
||||
|
||||
|
|
@ -784,7 +784,7 @@ $ curl -i -XPOST "http://localhost:8086/write?db=mydb" --data-binary @data.txt
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 08 Nov 2017 18:08:11 GMT
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ Once you've entered the shell and successfully connected to an InfluxDB node, yo
|
|||
<br>
|
||||
```bash
|
||||
$ influx
|
||||
Connected to http://localhost:8086 version 1.7.x
|
||||
InfluxDB shell version: 1.7.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell version: {{< latest-patch >}}
|
||||
```
|
||||
|
||||
> **Note:** The versions of InfluxDB and the CLI should be identical. If not, parsing issues can occur with queries.
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ There a number of ways to identify the version of InfluxDB that you're using:
|
|||
```bash
|
||||
$ influxd version
|
||||
|
||||
InfluxDB ✨ v1.4.0 ✨ (git: master b7bb7e8359642b6e071735b50ae41f5eb343fd42)
|
||||
InfluxDB v{{< latest-patch >}} (git: master b7bb7e8359642b6e071735b50ae41f5eb343fd42)
|
||||
```
|
||||
|
||||
#### `curl` the `/ping` endpoint:
|
||||
|
|
@ -103,7 +103,7 @@ $ curl -i 'http://localhost:8086/ping'
|
|||
HTTP/1.1 204 No Content
|
||||
Content-Type: application/json
|
||||
Request-Id: 1e08aeb6-fec0-11e6-8486-000000000000
|
||||
✨ X-Influxdb-Version: 1.4.x ✨
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 20:46:17 GMT
|
||||
```
|
||||
|
||||
|
|
@ -112,8 +112,8 @@ Date: Wed, 01 Mar 2017 20:46:17 GMT
|
|||
```bash
|
||||
$ influx
|
||||
|
||||
Connected to http://localhost:8086✨ version 1.4.x ✨
|
||||
InfluxDB shell version: 1.4.x
|
||||
Connected to http://localhost:8086version {{< latest-patch >}}
|
||||
InfluxDB shell version: {{< latest-patch >}}
|
||||
```
|
||||
|
||||
#### Check the HTTP response in your logs:
|
||||
|
|
@ -121,7 +121,7 @@ InfluxDB shell version: 1.4.x
|
|||
```bash
|
||||
$ journalctl -u influxdb.service
|
||||
|
||||
Mar 01 20:49:45 rk-api influxd[29560]: [httpd] 127.0.0.1 - - [01/Mar/2017:20:49:45 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 151 "-" ✨ "InfluxDBShell/1.4.x" ✨ 9a4371a1-fec0-11e6-84b6-000000000000 1709
|
||||
Mar 01 20:49:45 rk-api influxd[29560]: [httpd] 127.0.0.1 - - [01/Mar/2017:20:49:45 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 151 "-" "InfluxDBShell/{{< latest-patch >}}" 9a4371a1-fec0-11e6-84b6-000000000000 1709
|
||||
```
|
||||
|
||||
## Where can I find InfluxDB logs?
|
||||
|
|
|
|||
|
|
@ -129,8 +129,8 @@ echo $INFLUX_USERNAME $INFLUX_PASSWORD
|
|||
todd influxdb4ever
|
||||
|
||||
influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate with CLI flags
|
||||
|
|
@ -139,8 +139,8 @@ to the `influx` CLI.
|
|||
|
||||
```bash
|
||||
influx -username todd -password influxdb4ever
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
```
|
||||
|
||||
##### Authenticate with credentials in the influx shell
|
||||
|
|
@ -149,8 +149,8 @@ Enter your username and password when prompted.
|
|||
|
||||
```bash
|
||||
> influx
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.8.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
> auth
|
||||
username: todd
|
||||
password:
|
||||
|
|
|
|||
|
|
@ -27,7 +27,9 @@ The InfluxDB OSS `backup` utility provides:
|
|||
|
||||
## Online backup and restore (for InfluxDB OSS)
|
||||
|
||||
Use the `backup` and `restore` utilities to back up and restore between `influxd` instances with the same versions or with only minor version differences. For example, you can back up from 1.7.3 and restore on 1.8.2.
|
||||
Use the `backup` and `restore` utilities to back up and restore between `influxd`
|
||||
instances with the same versions or with only minor version differences.
|
||||
For example, you can back up from {{< latest-patch version="1.7" >}} and restore on {{< latest-patch >}}.
|
||||
|
||||
### Configuring remote connections
|
||||
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ returns:
|
|||
HTTP/1.1 400 Bad Request
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:01 GMT
|
||||
Content-Length: 150
|
||||
|
||||
|
|
@ -177,7 +177,7 @@ returns:
|
|||
HTTP/1.1 404 Not Found
|
||||
Content-Type: application/json
|
||||
Request-Id: [...]
|
||||
X-Influxdb-Version: 1.4.x
|
||||
X-Influxdb-Version: {{< latest-patch >}}
|
||||
Date: Wed, 01 Mar 2017 19:38:35 GMT
|
||||
Content-Length: 45
|
||||
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@ The output should look like this:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.8.x
|
||||
InfluxDB shell 1.8.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -184,9 +184,9 @@ You can always run the desired version by specifying the full path:
|
|||
|
||||
```sh
|
||||
$ /usr/local/opt/influxdb/bin/influxd version
|
||||
InfluxDB 2.0.5 (git: none) build_date: 2021-04-01T17:55:08Z
|
||||
InfluxDB {{< latest-patch >}} (git: none) build_date: 2021-04-01T17:55:08Z
|
||||
$ /usr/local/opt/influxdb@1/bin/influxd version
|
||||
InfluxDB v1.8.4 (git: unknown unknown)
|
||||
InfluxDB v{{< latest-patch version="1.8" >}} (git: unknown unknown)
|
||||
```
|
||||
|
||||
{{% /note %}}
|
||||
|
|
@ -211,13 +211,13 @@ If `gpg` is not available, see the [GnuPG homepage](https://gnupg.org/download/)
|
|||
For example:
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.8.5_linux_amd64.tar.gz.asc
|
||||
wget https://dl.influxdata.com/influxdb/releases/influxdb-{{< latest-patch >}}_linux_amd64.tar.gz.asc
|
||||
```
|
||||
|
||||
3. Verify the signature with `gpg --verify`:
|
||||
|
||||
```
|
||||
gpg --verify influxdb-1.8.5_linux_amd64.tar.gz.asc influxdb-1.8.5_linux_amd64.tar.gz
|
||||
gpg --verify influxdb-{{< latest-patch >}}_linux_amd64.tar.gz.asc influxdb-{{< latest-patch >}}_linux_amd64.tar.gz
|
||||
```
|
||||
|
||||
The output from this command should include the following:
|
||||
|
|
@ -232,12 +232,14 @@ If `gpg` is not available, see the [GnuPG homepage](https://gnupg.org/download/)
|
|||
The system has internal defaults for every configuration file setting.
|
||||
View the default configuration settings with the `influxd config` command.
|
||||
|
||||
> **Note:** If InfluxDB is being deployed on a publicly accessible endpoint, we strongly recommend authentication be enabled.
|
||||
{{% note %}}
|
||||
**Note:** If InfluxDB is being deployed on a publicly accessible endpoint, we strongly recommend authentication be enabled.
|
||||
Otherwise the data will be publicly available to any unauthenticated user. The default settings do **NOT** enable
|
||||
authentication and authorization. Further, authentication and authorization should not be solely relied upon to prevent access
|
||||
and protect data from malicious actors. If additional security or compliance features are desired, InfluxDB should be run
|
||||
behind a third-party service. Review the [authentication and authorization](/influxdb/v1.8/administration/authentication_and_authorization/)
|
||||
settings.
|
||||
{{% /note %}}
|
||||
|
||||
Most of the settings in the local configuration file
|
||||
(`/etc/influxdb/influxdb.conf`) are commented out; all
|
||||
|
|
@ -275,7 +277,9 @@ See the [Configuration](/influxdb/v1.8/administration/config/) documentation for
|
|||
|
||||
Make sure the directories in which data and the [write ahead log](/influxdb/v1.8/concepts/glossary#wal-write-ahead-log) (WAL) are stored are writable for the user running the `influxd` service.
|
||||
|
||||
> **Note:** If the data and WAL directories are not writable, the `influxd` service will not start.
|
||||
{{% note %}}
|
||||
**Note:** If the data and WAL directories are not writable, the `influxd` service will not start.
|
||||
{{% /note %}}
|
||||
|
||||
Information about `data` and `wal` directory paths is available in the [Data settings](/influxdb/v1.8/administration/config/#data-settings) section of the [Configuring InfluxDB](/influxdb/v1.8/administration/config/) documentation.
|
||||
|
||||
|
|
@ -300,7 +304,7 @@ For more information on how to do that see the Amazon documentation on how to [A
|
|||
### Configuration file
|
||||
You'll have to update the configuration file appropriately for each InfluxDB instance you have.
|
||||
|
||||
```
|
||||
```toml
|
||||
...
|
||||
|
||||
[meta]
|
||||
|
|
|
|||
|
|
@ -65,8 +65,8 @@ Start by logging into the Influx CLI:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.8.x
|
||||
InfluxDB shell 1.8.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -40,8 +40,8 @@ Before proceeding, login to the Influx CLI.
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ The output should look like this:
|
|||
|
||||
```bash
|
||||
$ influx -precision rfc3339
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
@ -71,8 +71,8 @@ influx -import -path=NOAA_data.txt -precision=s -database=NOAA_water_database
|
|||
### Test queries
|
||||
```bash
|
||||
$ influx -precision rfc3339 -database NOAA_water_database
|
||||
Connected to http://localhost:8086 version 1.4.x
|
||||
InfluxDB shell 1.4.x
|
||||
Connected to http://localhost:8086 version {{< latest-patch >}}
|
||||
InfluxDB shell {{< latest-patch >}}
|
||||
>
|
||||
```
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue