From c54a791e6aacc1cf66bd37553db08e97a30fdc5d Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 29 Jun 2021 15:12:00 -0600 Subject: [PATCH] Various DAR fixes (#2796) * fixed anchor links in influxdb enterprise cli page, closes influxdata/DAR#212 * fixed typo in enterprise backup and restore, closes influxdata/DAR#208 * removed content about creating dashboards from templates, closes influxdata/DAR#209 --- .../v1.5/administration/backup-and-restore.md | 4 +-- .../v1.6/administration/backup-and-restore.md | 4 +-- .../v1.8/administration/backup-and-restore.md | 8 +++-- .../v1.9/administration/backup-and-restore.md | 8 +++-- .../v1.9/tools/influx-cli/use-influx.md | 16 ++++----- .../dashboards/create-dashboard.md | 33 ++----------------- .../dashboards/create-dashboard.md | 33 ++----------------- 7 files changed, 30 insertions(+), 76 deletions(-) diff --git a/content/enterprise_influxdb/v1.5/administration/backup-and-restore.md b/content/enterprise_influxdb/v1.5/administration/backup-and-restore.md index a9b100a80..80d210e80 100644 --- a/content/enterprise_influxdb/v1.5/administration/backup-and-restore.md +++ b/content/enterprise_influxdb/v1.5/administration/backup-and-restore.md @@ -18,8 +18,8 @@ The primary use cases for backup and restore are: * Debugging * Restoring clusters to a consistent state -InfluxDB Enterprise supports backing up and restoring data in a cluster, a single database, a single database and retention policy, and -single [shard](/influxdb/v1.5/concepts/glossary/#shard). +InfluxDB Enterprise supports backing up and restoring data in a cluster, +a single database and retention policy, and single [shard](/influxdb/v1.5/concepts/glossary/#shard). > **Note:** You can use the [new `backup` and `restore` utilities in InfluxDB OSS 1.5](/influxdb/v1.5/administration/backup_and_restore/) to: > * Restore InfluxDB Enterprise 1.5 backup files to InfluxDB OSS 1.5. diff --git a/content/enterprise_influxdb/v1.6/administration/backup-and-restore.md b/content/enterprise_influxdb/v1.6/administration/backup-and-restore.md index 9bc7436b6..abc1b87b6 100644 --- a/content/enterprise_influxdb/v1.6/administration/backup-and-restore.md +++ b/content/enterprise_influxdb/v1.6/administration/backup-and-restore.md @@ -17,8 +17,8 @@ The primary use cases for backup and restore are: * Debugging * Restoring clusters to a consistent state -InfluxDB Enterprise supports backing up and restoring data in a cluster, a single database, a single database and retention policy, and -single [shard](/influxdb/v1.6/concepts/glossary/#shard). +InfluxDB Enterprise supports backing up and restoring data in a cluster, +a single database and retention policy, and single [shard](/influxdb/v1.6/concepts/glossary/#shard). > **Note:** You can use the [new `backup` and `restore` utilities in InfluxDB OSS 1.5](/influxdb/v1.5/administration/backup_and_restore/) to: > * Restore InfluxDB Enterprise 1.5 backup files to InfluxDB OSS 1.5. diff --git a/content/enterprise_influxdb/v1.8/administration/backup-and-restore.md b/content/enterprise_influxdb/v1.8/administration/backup-and-restore.md index b2a42498f..e7e4c7457 100644 --- a/content/enterprise_influxdb/v1.8/administration/backup-and-restore.md +++ b/content/enterprise_influxdb/v1.8/administration/backup-and-restore.md @@ -34,9 +34,13 @@ Depending on the volume of data to be protected and your application requirement ## Backup and restore utilities -InfluxDB Enterprise supports backing up and restoring data in a cluster, a single database, a single database and retention policy, and single shards. Most InfluxDB Enterprise applications can use the backup and restore utilities. +InfluxDB Enterprise supports backing up and restoring data in a cluster, +a single database and retention policy, and single shards. +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. +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. ### Backup utility diff --git a/content/enterprise_influxdb/v1.9/administration/backup-and-restore.md b/content/enterprise_influxdb/v1.9/administration/backup-and-restore.md index d586df25d..623b06908 100644 --- a/content/enterprise_influxdb/v1.9/administration/backup-and-restore.md +++ b/content/enterprise_influxdb/v1.9/administration/backup-and-restore.md @@ -34,9 +34,13 @@ Depending on the volume of data to be protected and your application requirement ## Backup and restore utilities -InfluxDB Enterprise supports backing up and restoring data in a cluster, a single database, a single database and retention policy, and single shards. Most InfluxDB Enterprise applications can use the backup and restore utilities. +InfluxDB Enterprise supports backing up and restoring data in a cluster, +a single database and retention policy, and single shards. +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. +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. ### Backup utility diff --git a/content/enterprise_influxdb/v1.9/tools/influx-cli/use-influx.md b/content/enterprise_influxdb/v1.9/tools/influx-cli/use-influx.md index 646d60e8a..9daf9e773 100644 --- a/content/enterprise_influxdb/v1.9/tools/influx-cli/use-influx.md +++ b/content/enterprise_influxdb/v1.9/tools/influx-cli/use-influx.md @@ -13,9 +13,9 @@ menu: InfluxDB's command line interface (`influx`) is an interactive shell for the HTTP API. Use `influx` to write data (manually or from a file), query data interactively, and view query output in different formats. -* [Launch `influx`](/enterprise_influxdb/v1.9/tools/use-influx/#launch-influx) -* [`influx` Arguments](/enterprise_influxdb/v1.9/tools/use-influx/#influx-arguments) -* [`influx` Commands](/enterprise_influxdb/v1.9/tools/use-influx/#influx-commands) +* [Launch `influx`](#launch-influx) +* [`influx` Arguments](#influx-arguments) +* [`influx` Commands](#influx-commands) ## Launch `influx` If you [install](https://influxdata.com/downloads/) InfluxDB via a package manager, the CLI is installed at `/usr/bin/influx` (`/usr/local/bin/influx` on macOS). @@ -85,11 +85,11 @@ The database to which `influx` connects. `-execute 'command'` Execute an [InfluxQL](/enterprise_influxdb/v1.9/query_language/explore-data/) command and quit. -See [-execute](/enterprise_influxdb/v1.9/tools/use-influx/#execute-an-influxql-command-and-quit-with-execute). +See [-execute](#execute-an-influxql-command-and-quit-with-execute). `-format 'json|csv|column'` Specifies the format of the server responses. -See [-format](/enterprise_influxdb/v1.9/tools/use-influx/#specify-the-format-of-the-server-responses-with-format). +See [-format](#specify-the-format-of-the-server-responses-with-format). `-host 'host name'` The host to which `influx` connects. @@ -97,7 +97,7 @@ By default, InfluxDB runs on localhost. `-import` Import new data from a file or import a previously [exported](https://github.com/influxdb/influxdb/blob/1.8/importer/README.md) database from a file. -See [-import](/enterprise_influxdb/v1.9/tools/use-influx/#import-data-from-a-file-with-import). +See [-import](#import-data-from-a-file-with-import). `-password 'password'` The password `influx` uses to connect to the server. @@ -346,7 +346,7 @@ Quits the `influx` shell. `format ` Specifies the format of the server responses: `json`, `csv`, or `column`. -See the description of [-format](/enterprise_influxdb/v1.9/tools/use-influx/#specify-the-format-of-the-server-responses-with-format) for examples of each format. +See the description of [-format](#specify-the-format-of-the-server-responses-with-format) for examples of each format. `history` Displays your command history. @@ -355,7 +355,7 @@ To use the history while in the shell, simply use the "up" arrow. `insert` Write data using line protocol. -See [insert](/enterprise_influxdb/v1.9/tools/use-influx/#write-data-to-influxdb-with-insert). +See [insert](#write-data-to-influxdb-with-insert). `precision ` Specifies the format/precision of the timestamp: `rfc3339` (`YYYY-MM-DDTHH:MM:SS.nnnnnnnnnZ`), `h` (hours), `m` (minutes), `s` (seconds), `ms` (milliseconds), `u` (microseconds), `ns` (nanoseconds). diff --git a/content/influxdb/cloud/visualize-data/dashboards/create-dashboard.md b/content/influxdb/cloud/visualize-data/dashboards/create-dashboard.md index 7acb2bdcf..50e36e819 100644 --- a/content/influxdb/cloud/visualize-data/dashboards/create-dashboard.md +++ b/content/influxdb/cloud/visualize-data/dashboards/create-dashboard.md @@ -29,37 +29,11 @@ weight: 201 2. Click the **Create Dashboard** menu in the upper right and select **Import Dashboard**. 3. In the window that appears: - - Select **Upload File** to drag-and-drop or select a file. - - Select **Paste JSON** to paste in JSON. + - Select **Upload File** to drag-and-drop or select a file. + - Select **Paste JSON** to paste in JSON. 4. Click **Import JSON as Dashboard**. -## Create dashboards with templates - -**To create a dashboard from a template in the dashboards page**: - -1. In the navigation menu on the left, select **Boards** (**Dashboards**). - - {{< nav-icon "dashboards" >}} - -2. Click the **+Create Dashboard** menu in the upper right and select **From a Template**. -3. In the window that appears, select a template and review the template's variables and cells. -4. Click **Create Dashboard**. - -**To create a dashboard from a template in the templates UI**: - -1. Click the **Settings** icon in the left navigation. - - {{< nav-icon "settings" >}} - -2. Select the **Templates** tab. - - - In the **Static Templates** tab, a list of pre-created templates appears. - - In the **User Templates** tab, a list of custom user-created templates appears. - -3. Hover over the name of the template you want to create a dashboard from, then click **Create**. - - ## Clone a dashboard 1. In the navigation menu on the left, select **Boards** (**Dashboards**). @@ -69,14 +43,13 @@ weight: 201 2. Hover over the dashboard and click **{{< icon "copy" >}}**. 3. Click **Clone**. The cloned dashboard opens. - #### Add data to your dashboard 1. From your dashboard, click **{{< icon "add-cell" >}} Add Cell**. 2. Create a query in the Data Explorer following the instructions in [Explore metrics](/influxdb/cloud/visualize-data/explore-metrics). 3. Enter a name for your cell in the upper left. 4. Click the checkmark icon (**{{< icon "checkmark" >}}**) to save the cell to your dashboard. -You can also send data to your dashboard directly from the Data Explorer. For details, [Explore metrics](/influxdb/cloud/visualize-data/explore-metrics). + You can also send data to your dashboard directly from the Data Explorer. For details, [Explore metrics](/influxdb/cloud/visualize-data/explore-metrics). #### Add a note to your dashboard 1. From your dashboard, click **{{< icon "note" >}} Add Note** in the upper left. diff --git a/content/influxdb/v2.0/visualize-data/dashboards/create-dashboard.md b/content/influxdb/v2.0/visualize-data/dashboards/create-dashboard.md index 367b560b0..150d903bf 100644 --- a/content/influxdb/v2.0/visualize-data/dashboards/create-dashboard.md +++ b/content/influxdb/v2.0/visualize-data/dashboards/create-dashboard.md @@ -30,36 +30,10 @@ weight: 201 2. Click the **Create Dashboard** menu in the upper right and select **Import Dashboard**. 3. In the window that appears: - * Select **Upload File** to drag-and-drop or select a file. - * Select **Paste JSON** to paste in JSON. + - Select **Upload File** to drag-and-drop or select a file. + - Select **Paste JSON** to paste in JSON. 4. Click **Import JSON as Dashboard**. -## Create dashboards with templates - -**To create a dashboard from a template in the dashboards page**: - -1. In the navigation menu on the left, select **Boards** (**Dashboards**). - - {{< nav-icon "dashboards" >}} - -2. Click the **+Create Dashboard** menu in the upper right and select **From a Template**. -3. In the window that appears, select a template and review the template's variables and cells. -4. Click **Create Dashboard**. - -**To create a dashboard from a template in the templates UI**: - -1. Click the **Settings** icon in the left navigation. - - {{< nav-icon "settings" >}} - -2. Select the **Templates** tab. - - - In the **Static Templates** tab, a list of pre-created templates appears. - - In the **User Templates** tab, a list of custom user-created templates appears. - -3. Hover over the name of the template you want to create a dashboard from, then click **Create**. - - ## Clone a dashboard 1. In the navigation menu on the left, select **Boards** (**Dashboards**). @@ -69,14 +43,13 @@ weight: 201 2. Hover over the dashboard and click **{{< icon "copy" >}}**. 3. Click **Clone**. The cloned dashboard opens. - #### Add data to your dashboard 1. From your dashboard, click **{{< icon "add-cell" >}} Add Cell**. 2. Create a query in the Data Explorer following the instructions in [Explore metrics](/influxdb/v2.0/visualize-data/explore-metrics). 3. Enter a name for your cell in the upper left. 4. Click the checkmark icon (**{{< icon "checkmark" >}}**) to save the cell to your dashboard. -You can also send data to your dashboard directly from the Data Explorer. For details, [Explore metrics](/influxdb/v2.0/visualize-data/explore-metrics). + You can also send data to your dashboard directly from the Data Explorer. For details, [Explore metrics](/influxdb/v2.0/visualize-data/explore-metrics). #### Add a note to your dashboard 1. From your dashboard, click **{{< icon "note" >}} Add Note** in the upper left.