From e130607357d398e33a5154165db112ea233c5d3b Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 4 Sep 2020 11:45:18 -0600 Subject: [PATCH] updated default ports in influxdb v2 docs, resolves #1392 --- content/influxdb/v2.0/get-started.md | 24 +++++++++---------- .../templates/infrastructure/aws.md | 2 +- .../influxdb/v2.0/organizations/view-orgs.md | 2 +- .../v2.0/query-data/execute-queries.md | 4 ++-- content/influxdb/v2.0/query-data/flux/sql.md | 2 +- content/influxdb/v2.0/reference/api/_index.md | 4 ++-- .../v2.0/reference/api/client-libraries/go.md | 4 ++-- .../reference/api/client-libraries/python.md | 6 ++--- .../influxdb/v2.0/reference/api/postman.md | 2 +- .../v2.0/reference/cli/influx/_index.md | 2 +- .../v2.0/reference/cli/influx/apply/_index.md | 2 +- .../v2.0/reference/cli/influx/auth/active.md | 2 +- .../v2.0/reference/cli/influx/auth/create.md | 2 +- .../v2.0/reference/cli/influx/auth/delete.md | 2 +- .../reference/cli/influx/auth/inactive.md | 2 +- .../v2.0/reference/cli/influx/auth/list.md | 2 +- .../reference/cli/influx/backup/_index.md | 2 +- .../reference/cli/influx/bucket/_index.md | 2 +- .../reference/cli/influx/bucket/create.md | 2 +- .../reference/cli/influx/bucket/delete.md | 2 +- .../v2.0/reference/cli/influx/bucket/list.md | 2 +- .../reference/cli/influx/bucket/update.md | 2 +- .../reference/cli/influx/config/create.md | 4 ++-- .../reference/cli/influx/dashboards/_index.md | 2 +- .../reference/cli/influx/delete/_index.md | 2 +- .../reference/cli/influx/export/_index.md | 2 +- .../v2.0/reference/cli/influx/export/all.md | 2 +- .../v2.0/reference/cli/influx/export/stack.md | 2 +- .../v2.0/reference/cli/influx/org/create.md | 2 +- .../v2.0/reference/cli/influx/org/delete.md | 2 +- .../v2.0/reference/cli/influx/org/list.md | 2 +- .../reference/cli/influx/org/members/add.md | 2 +- .../reference/cli/influx/org/members/list.md | 2 +- .../cli/influx/org/members/remove.md | 2 +- .../v2.0/reference/cli/influx/org/update.md | 2 +- .../v2.0/reference/cli/influx/ping/_index.md | 2 +- .../v2.0/reference/cli/influx/query/_index.md | 2 +- .../v2.0/reference/cli/influx/repl/_index.md | 2 +- .../reference/cli/influx/secret/delete.md | 2 +- .../v2.0/reference/cli/influx/secret/list.md | 2 +- .../reference/cli/influx/secret/update.md | 2 +- .../v2.0/reference/cli/influx/setup/_index.md | 2 +- .../reference/cli/influx/stacks/_index.md | 2 +- .../v2.0/reference/cli/influx/stacks/init.md | 2 +- .../reference/cli/influx/stacks/remove.md | 2 +- .../reference/cli/influx/stacks/update.md | 2 +- .../v2.0/reference/cli/influx/task/create.md | 2 +- .../v2.0/reference/cli/influx/task/delete.md | 2 +- .../v2.0/reference/cli/influx/task/list.md | 2 +- .../reference/cli/influx/task/log/list.md | 2 +- .../reference/cli/influx/task/run/list.md | 2 +- .../reference/cli/influx/task/run/retry.md | 2 +- .../v2.0/reference/cli/influx/task/update.md | 2 +- .../v2.0/reference/cli/influx/user/create.md | 2 +- .../v2.0/reference/cli/influx/user/delete.md | 2 +- .../v2.0/reference/cli/influx/user/list.md | 2 +- .../reference/cli/influx/user/password.md | 2 +- .../v2.0/reference/cli/influx/user/update.md | 2 +- .../v2.0/reference/cli/influx/write/_index.md | 2 +- .../v2.0/reference/cli/influx/write/dryrun.md | 2 +- .../influxdb/v2.0/reference/config-options.md | 12 +++++----- .../flux/language/lexical-elements.md | 2 +- .../flux/stdlib/experimental/csv/from.md | 2 +- .../flux/stdlib/experimental/http/get.md | 4 ++-- .../stdlib/experimental/prometheus/scrape.md | 2 +- .../v2.0/reference/flux/stdlib/http/post.md | 2 +- content/influxdb/v2.0/reference/glossary.md | 2 +- content/influxdb/v2.0/reference/urls.md | 2 +- content/influxdb/v2.0/security/enable-tls.md | 6 ++--- .../security/secrets/manage-secrets/add.md | 2 +- .../security/secrets/manage-secrets/delete.md | 2 +- .../security/secrets/manage-secrets/update.md | 2 +- .../security/secrets/manage-secrets/view.md | 2 +- .../influxdb/v2.0/telegraf-configs/_index.md | 2 +- content/influxdb/v2.0/tools/repl.md | 2 +- .../v2.0/visualize-data/dashboards/_index.md | 2 +- .../visualize-data/other-tools/grafana.md | 2 +- content/influxdb/v2.0/write-data/_index.md | 2 +- .../best-practices/optimize-writes.md | 4 ++-- .../v2.0/write-data/developer-tools/api.md | 4 ++-- .../manage-scrapers/create-a-scraper.md | 2 +- .../v2.0/write-data/no-code/third-party.md | 2 +- .../no-code/use-telegraf/auto-config.md | 4 ++-- .../no-code/use-telegraf/manual-config.md | 2 +- data/influxdb_urls.yml | 4 ++-- 85 files changed, 114 insertions(+), 114 deletions(-) diff --git a/content/influxdb/v2.0/get-started.md b/content/influxdb/v2.0/get-started.md index 052be1845e..7c3a74e79a 100644 --- a/content/influxdb/v2.0/get-started.md +++ b/content/influxdb/v2.0/get-started.md @@ -84,7 +84,7 @@ Currently, we do **not support** using an existing InfluxDB Cloud 2.0 account to {{% cloud %}} All InfluxDB 2.0 documentation applies to {{< cloud-name "short" >}} unless otherwise specified. -References to the InfluxDB user interface (UI) or localhost:9999 refer to your +References to the InfluxDB user interface (UI) or localhost:8086 refer to your {{< cloud-name >}} UI. {{% /cloud %}} @@ -149,7 +149,7 @@ In a terminal, run the following command: ```sh # Set up a configuration profile influx config create -n default \ - -u http://localhost:9999 \ + -u http://localhost:8086 \ -o example-org \ -t mySuP3rS3cr3tT0keN \ -a @@ -209,7 +209,7 @@ In a terminal, run the following command: ```sh # Set up a configuration profile influx config create -n default \ - -u http://localhost:9999 \ + -u http://localhost:8086 \ -o example-org \ -t mySuP3rS3cr3tT0keN \ -a @@ -291,7 +291,7 @@ If you rename the binaries, all references to `influx` and `influxd` in this doc #### Networking ports -By default, InfluxDB uses TCP port `9999` for client-server communication over +By default, InfluxDB uses TCP port `8086` for client-server communication over the [InfluxDB HTTP API](/influxdb/v2.0/reference/api/). ### Start InfluxDB @@ -374,7 +374,7 @@ If you rename the binaries, all references to `influx` and `influxd` in this doc #### Networking ports -By default, InfluxDB uses TCP port `9999` for client-server communication over +By default, InfluxDB uses TCP port `8086` for client-server communication over the [InfluxDB HTTP API](/influxdb/v2.0/reference/api/). ### Start InfluxDB @@ -415,11 +415,11 @@ influxd --reporting-disabled ### Download and run InfluxDB v2.0 beta Use `docker run` to download and run the InfluxDB v2.0 beta Docker image. -Expose port `9999`, which InfluxDB uses for client-server communication over +Expose port `8086`, which InfluxDB uses for client-server communication over the [InfluxDB HTTP API](/influxdb/v2.0/reference/api/). ```sh -docker run --name influxdb -p 9999:9999 quay.io/influxdb/influxdb:2.0.0-beta +docker run --name influxdb -p 8086:8086 quay.io/influxdb/influxdb:2.0.0-beta ``` _To run InfluxDB in [detached mode](https://docs.docker.com/engine/reference/run/#detached-vs-foreground), include the `-d` flag in the `docker run` command._ @@ -434,7 +434,7 @@ To opt-out of sending telemetry data back to InfluxData, include the `--reporting-disabled` flag when starting the InfluxDB container. ```bash -docker run -p 9999:9999 quay.io/influxdb/influxdb:2.0.0-beta --reporting-disabled +docker run -p 8086:8086 quay.io/influxdb/influxdb:2.0.0-beta --reporting-disabled ``` {{% /note %}} @@ -495,10 +495,10 @@ The instructions below use Minikube, but the steps should be similar in any Kube You should see an IP address after `Endpoints` in the command's output. -6. Forward port 9999 from inside the cluster to localhost: +6. Forward port 8086 from inside the cluster to localhost: ```sh - kubectl port-forward -n influxdb service/influxdb 9999:9999 + kubectl port-forward -n influxdb service/influxdb 8086:8086 ``` {{% /tab-content %}} @@ -523,7 +523,7 @@ the `influx` command line interface (CLI). {{% tab-content %}} ### Set up InfluxDB through the UI -1. With InfluxDB running, visit [localhost:9999](http://localhost:9999). +1. With InfluxDB running, visit [localhost:8086](http://localhost:8086). 2. Click **Get Started** #### Set up your initial user @@ -546,7 +546,7 @@ If you set up InfluxDB through the UI and want to use the [`influx` CLI](/influx ```sh # Set up a configuration profile influx config create -n default \ - -u http://localhost:9999 \ + -u http://localhost:8086 \ -o example-org \ -t mySuP3rS3cr3tT0keN \ -a diff --git a/content/influxdb/v2.0/monitor-alert/templates/infrastructure/aws.md b/content/influxdb/v2.0/monitor-alert/templates/infrastructure/aws.md index 4b8b7618de..552295a212 100644 --- a/content/influxdb/v2.0/monitor-alert/templates/infrastructure/aws.md +++ b/content/influxdb/v2.0/monitor-alert/templates/infrastructure/aws.md @@ -35,7 +35,7 @@ The AWS CloudWatch Monitoring template includes the following: ```sh ## k8s [[outputs.influxdb_v2]] - urls = ["http://influxdb.monitoring:9999"] + urls = ["http://influxdb.monitoring:8086"] organization = "InfluxData" bucket = "kubernetes" token = "secret-token" diff --git a/content/influxdb/v2.0/organizations/view-orgs.md b/content/influxdb/v2.0/organizations/view-orgs.md index 2c973a3166..9bfb32aa02 100644 --- a/content/influxdb/v2.0/organizations/view-orgs.md +++ b/content/influxdb/v2.0/organizations/view-orgs.md @@ -45,7 +45,7 @@ After logging in to the InfluxDB UI, your organization ID appears in the URL.
-http://localhost:9999/orgs/03a2bbf46249a000/...
+http://localhost:8086/orgs/03a2bbf46249a000/...
 
diff --git a/content/influxdb/v2.0/query-data/execute-queries.md b/content/influxdb/v2.0/query-data/execute-queries.md index 39295ff78f..33981510c0 100644 --- a/content/influxdb/v2.0/query-data/execute-queries.md +++ b/content/influxdb/v2.0/query-data/execute-queries.md @@ -80,7 +80,7 @@ Below is an example `curl` command that queries InfluxDB: {{% code-tab-content %}} ```bash -curl http://localhost:9999/api/v2/query?org=my-org -XPOST -sS \ +curl http://localhost:8086/api/v2/query?org=my-org -XPOST -sS \ -H 'Authorization: Token YOURAUTHTOKEN' \ -H 'Accept: application/csv' \ -H 'Content-type: application/vnd.flux' \ @@ -93,7 +93,7 @@ curl http://localhost:9999/api/v2/query?org=my-org -XPOST -sS \ {{% code-tab-content %}} ```bash -curl http://localhost:9999/api/v2/query?org=my-org -XPOST -sS \ +curl http://localhost:8086/api/v2/query?org=my-org -XPOST -sS \ -H 'Authorization: Token YOURAUTHTOKEN' \ -H 'Accept: application/csv' \ -H 'Content-type: application/vnd.flux' \ diff --git a/content/influxdb/v2.0/query-data/flux/sql.md b/content/influxdb/v2.0/query-data/flux/sql.md index 21a45b0550..7be1d5e90d 100644 --- a/content/influxdb/v2.0/query-data/flux/sql.md +++ b/content/influxdb/v2.0/query-data/flux/sql.md @@ -204,7 +204,7 @@ to store your database credentials as secrets. {{% /tabs %}} {{% tab-content %}} ```sh -curl -X PATCH http://localhost:9999/api/v2/orgs//secrets \ +curl -X PATCH http://localhost:8086/api/v2/orgs//secrets \ -H 'Authorization: Token YOURAUTHTOKEN' \ -H 'Content-type: application/json' \ -d '{ diff --git a/content/influxdb/v2.0/reference/api/_index.md b/content/influxdb/v2.0/reference/api/_index.md index a27d78a0b2..fa424e71a4 100644 --- a/content/influxdb/v2.0/reference/api/_index.md +++ b/content/influxdb/v2.0/reference/api/_index.md @@ -17,7 +17,7 @@ Include your authentication token as an `Authorization` header in each request. ```sh curl --request POST \ - --url http://localhost:9999/api/v2/write?org=my-org&bucket=example-bucket \ + --url http://localhost:8086/api/v2/write?org=my-org&bucket=example-bucket \ --header 'Authorization: Token YOURAUTHTOKEN' ``` @@ -28,7 +28,7 @@ curl --request POST \ InfluxDB API documentation is built into the `influxd` service and represents the API specific to the current version of InfluxDB. To view the API documentation locally, [start InfluxDB](/influxdb/v2.0/get-started/#start-influxdb) -and visit the `/docs` endpoint in a browser ([localhost:9999/docs](http://localhost:9999/docs)). +and visit the `/docs` endpoint in a browser ([localhost:8086/docs](http://localhost:8086/docs)). ## InfluxDB client libraries InfluxDB client libraries are language-specific packages that integrate with the InfluxDB v2 API. diff --git a/content/influxdb/v2.0/reference/api/client-libraries/go.md b/content/influxdb/v2.0/reference/api/client-libraries/go.md index 93d95659d1..18821e2e2b 100644 --- a/content/influxdb/v2.0/reference/api/client-libraries/go.md +++ b/content/influxdb/v2.0/reference/api/client-libraries/go.md @@ -57,7 +57,7 @@ Use the Go library to write and query data from InfluxDB. org := "example-org" token := "example-token" // Store the URL of your InfluxDB instance - url := "http://localhost:9999" + url := "http://localhost:8086" ``` 3. Create the the InfluxDB Go client and pass in the `url` and `token` parameters. @@ -103,7 +103,7 @@ Use the Go library to write data to InfluxDB. org := "example-org" token := "example-token" // Store the URL of your InfluxDB instance - url := "http://localhost:9999" + url := "http://localhost:8086" // Create new client with default option for server url authenticate by token client := influxdb2.NewClient(url, token) // User blocking write client for writes to desired bucket diff --git a/content/influxdb/v2.0/reference/api/client-libraries/python.md b/content/influxdb/v2.0/reference/api/client-libraries/python.md index 37de701f87..36a9b8508e 100644 --- a/content/influxdb/v2.0/reference/api/client-libraries/python.md +++ b/content/influxdb/v2.0/reference/api/client-libraries/python.md @@ -27,7 +27,7 @@ If just getting started, see [Get started with InfluxDB](/influxdb/v2.0/get-star ``` 2. Ensure that InfluxDB is running. - If running InfluxDB locally, visit http://localhost:9999. + If running InfluxDB locally, visit http://localhost:8086. (If using InfluxDB Cloud, visit the URL of your InfluxDB Cloud UI. For example: https://us-west-2-1.aws.cloud2.influxdata.com.) @@ -49,7 +49,7 @@ We are going to write some data in [line protocol](/influxdb/v2.0/reference/synt org = "" token = "" # Store the URL of your InfluxDB instance - url="http://localhost:9999" + url="http://localhost:8086" ``` 3. Instantiate the client. The `InfluxDBClient` object takes three named parameters: `url`, `org`, and `token`. Pass in the named parameters. @@ -86,7 +86,7 @@ bucket = "" org = "" token = "" # Store the URL of your InfluxDB instance -url="http://localhost:9999" +url="http://localhost:8086" client = influxdb_client.InfluxDBClient( url=url, diff --git a/content/influxdb/v2.0/reference/api/postman.md b/content/influxdb/v2.0/reference/api/postman.md index be5184667a..f4727a7ef6 100644 --- a/content/influxdb/v2.0/reference/api/postman.md +++ b/content/influxdb/v2.0/reference/api/postman.md @@ -36,5 +36,5 @@ Use the **Authorization** tab in Postman to include the credentials required whe 5. Ensure that the **Add to** option is set to **Header**. To test the authentication, enter the `/health` endpoint of a local or Cloud instance of InfluxDB into the address bar -(for example, http://localhost:9999/api/v2/health or https://us-west-2-1.aws.cloud2.influxdata.com/api/v2/health) +(for example, http://localhost:8086/api/v2/health or https://us-west-2-1.aws.cloud2.influxdata.com/api/v2/health) and then click **Send**. diff --git a/content/influxdb/v2.0/reference/cli/influx/_index.md b/content/influxdb/v2.0/reference/cli/influx/_index.md index ba32594e05..9ea85cceaa 100644 --- a/content/influxdb/v2.0/reference/cli/influx/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/_index.md @@ -32,7 +32,7 @@ influx [command] ```sh # Set up a configuration profile influx config create -n default \ - -u http://localhost:9999 \ + -u http://localhost:8086 \ -o example-org \ -t mySuP3rS3cr3tT0keN \ -a diff --git a/content/influxdb/v2.0/reference/cli/influx/apply/_index.md b/content/influxdb/v2.0/reference/cli/influx/apply/_index.md index f19cc00327..e95e683a66 100644 --- a/content/influxdb/v2.0/reference/cli/influx/apply/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/apply/_index.md @@ -33,7 +33,7 @@ influx apply [flags] | | `--filter` | Resources to skip when applying the template (filter by `kind` or `resource`) | string | | | | `--force` | Ignore warnings about destructive changes | | | | `-h` | `--help` | Help for the `apply` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--json` | Output data as JSON | | `INFLUX_OUTPUT_JSON` | | `-o` | `--org` | Organization name that owns the bucket | string | `INFLUX_ORG` | | | `--org-id` | Organization ID that owns the bucket | string | `INFLUX_ORG_ID` | diff --git a/content/influxdb/v2.0/reference/cli/influx/auth/active.md b/content/influxdb/v2.0/reference/cli/influx/auth/active.md index b83547c793..94f10b500f 100644 --- a/content/influxdb/v2.0/reference/cli/influx/auth/active.md +++ b/content/influxdb/v2.0/reference/cli/influx/auth/active.md @@ -22,7 +22,7 @@ influx auth active [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `active` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | **(Required)** Authorization ID | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/auth/create.md b/content/influxdb/v2.0/reference/cli/influx/auth/create.md index 2f45aee291..820e1aeb19 100644 --- a/content/influxdb/v2.0/reference/cli/influx/auth/create.md +++ b/content/influxdb/v2.0/reference/cli/influx/auth/create.md @@ -22,7 +22,7 @@ influx auth create [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `create` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-o` | `--org` | **(Required)** Organization name | string | `INFLUX_ORG` | | | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | diff --git a/content/influxdb/v2.0/reference/cli/influx/auth/delete.md b/content/influxdb/v2.0/reference/cli/influx/auth/delete.md index 0a680d6aa5..ad5ec36cc7 100644 --- a/content/influxdb/v2.0/reference/cli/influx/auth/delete.md +++ b/content/influxdb/v2.0/reference/cli/influx/auth/delete.md @@ -22,7 +22,7 @@ influx auth delete [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `delete` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | **(Required)** Authorization ID | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/auth/inactive.md b/content/influxdb/v2.0/reference/cli/influx/auth/inactive.md index e864039e3e..406979419b 100644 --- a/content/influxdb/v2.0/reference/cli/influx/auth/inactive.md +++ b/content/influxdb/v2.0/reference/cli/influx/auth/inactive.md @@ -22,7 +22,7 @@ influx auth inactive [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `inactive` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | **(Required)** Authorization ID | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/auth/list.md b/content/influxdb/v2.0/reference/cli/influx/auth/list.md index 98c525efa6..22ca90286a 100644 --- a/content/influxdb/v2.0/reference/cli/influx/auth/list.md +++ b/content/influxdb/v2.0/reference/cli/influx/auth/list.md @@ -27,7 +27,7 @@ influx auth list [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `list` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | Authorization ID | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-o` | `--org` | Organization name | string | | diff --git a/content/influxdb/v2.0/reference/cli/influx/backup/_index.md b/content/influxdb/v2.0/reference/cli/influx/backup/_index.md index 2b11b2dfb8..f03daec5fa 100644 --- a/content/influxdb/v2.0/reference/cli/influx/backup/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/backup/_index.md @@ -24,7 +24,7 @@ influx backup [flags] | `-c` | `--active-config` | CLI configuration to use for command | string | | | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `backup` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-p` | `--path` | Directory path to write backup files to | string | `INFLUX_PATH` | | | `--skip-verify` | Skip TLS certificate verification | | | | `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` | diff --git a/content/influxdb/v2.0/reference/cli/influx/bucket/_index.md b/content/influxdb/v2.0/reference/cli/influx/bucket/_index.md index 3e564f8dbb..17034f8eec 100644 --- a/content/influxdb/v2.0/reference/cli/influx/bucket/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/bucket/_index.md @@ -31,6 +31,6 @@ influx bucket [command] | `-c` | `--active-config` | CLI configuration to use for command | string | | | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `bucket` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--skip-verify` | Skip TLS certificate verification | | | | `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` | diff --git a/content/influxdb/v2.0/reference/cli/influx/bucket/create.md b/content/influxdb/v2.0/reference/cli/influx/bucket/create.md index 7083285f27..17c09afd1b 100644 --- a/content/influxdb/v2.0/reference/cli/influx/bucket/create.md +++ b/content/influxdb/v2.0/reference/cli/influx/bucket/create.md @@ -25,7 +25,7 @@ influx bucket create [flags] | `-d` | `--description` | Bucket description | string | | | `-h` | `--help` | Help for the `create` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-n` | `--name` | Bucket name | string | `INFLUX_BUCKET_NAME` | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | diff --git a/content/influxdb/v2.0/reference/cli/influx/bucket/delete.md b/content/influxdb/v2.0/reference/cli/influx/bucket/delete.md index 6078502d9c..00cc7839d6 100644 --- a/content/influxdb/v2.0/reference/cli/influx/bucket/delete.md +++ b/content/influxdb/v2.0/reference/cli/influx/bucket/delete.md @@ -26,7 +26,7 @@ influx bucket delete [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `delete` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | Bucket ID _(required if no `--name`)_ | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-n` | `--name` | Bucket name _(requires `--org` or `org-id`)_ | string | | diff --git a/content/influxdb/v2.0/reference/cli/influx/bucket/list.md b/content/influxdb/v2.0/reference/cli/influx/bucket/list.md index 11fd66ae55..953b2f2a45 100644 --- a/content/influxdb/v2.0/reference/cli/influx/bucket/list.md +++ b/content/influxdb/v2.0/reference/cli/influx/bucket/list.md @@ -28,7 +28,7 @@ influx bucket list [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `list` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | Bucket ID | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-n` | `--name` | Bucket name | string | `INFLUX_BUCKET_NAME` | diff --git a/content/influxdb/v2.0/reference/cli/influx/bucket/update.md b/content/influxdb/v2.0/reference/cli/influx/bucket/update.md index e20b0d09e8..5aeadb91e4 100644 --- a/content/influxdb/v2.0/reference/cli/influx/bucket/update.md +++ b/content/influxdb/v2.0/reference/cli/influx/bucket/update.md @@ -25,7 +25,7 @@ influx bucket update [flags] | `-d` | `--description` | Bucket description | string | | | `-h` | `--help` | Help for the `update` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | **(Required)** Bucket ID | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-n` | `--name` | New bucket name | string | `INFLUX_BUCKET_NAME` | diff --git a/content/influxdb/v2.0/reference/cli/influx/config/create.md b/content/influxdb/v2.0/reference/cli/influx/config/create.md index 03232204ac..128926178c 100644 --- a/content/influxdb/v2.0/reference/cli/influx/config/create.md +++ b/content/influxdb/v2.0/reference/cli/influx/config/create.md @@ -33,14 +33,14 @@ influx config create [flags] # Create a connection configuration and set it active influx config create --active \ -n config-name \ - -u http://localhost:9999 \ + -u http://localhost:8086 \ -t mySuP3rS3cr3tT0keN \ -o example-org # Create a connection configuration without setting it active influx config create \ -n config-name \ - -u http://localhost:9999 \ + -u http://localhost:8086 \ -t mySuP3rS3cr3tT0keN \ -o example-org ``` diff --git a/content/influxdb/v2.0/reference/cli/influx/dashboards/_index.md b/content/influxdb/v2.0/reference/cli/influx/dashboards/_index.md index 42af166b72..44a05b7d53 100644 --- a/content/influxdb/v2.0/reference/cli/influx/dashboards/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/dashboards/_index.md @@ -24,7 +24,7 @@ influx dashboards [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `dashboards` command | | | | | `--hide-headers` | Hide table headers | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `$INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `$INFLUX_HOST` | | `-i` | `--id` | Dashboard ID to retrieve | string | | | | `--json` | Output data as JSON | | `INFLUX_OUTPUT_JSON` | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | diff --git a/content/influxdb/v2.0/reference/cli/influx/delete/_index.md b/content/influxdb/v2.0/reference/cli/influx/delete/_index.md index 21e7c9568e..8d5ebed0d4 100644 --- a/content/influxdb/v2.0/reference/cli/influx/delete/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/delete/_index.md @@ -31,7 +31,7 @@ timestamps between the specified `--start` and `--stop` times in the specified b | | `--bucket-id` | Bucket ID | string | `INFLUX_BUCKET_ID` | | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `delete` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | | | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | | `-p` | `--predicate` | InfluxQL-like predicate string (see [Delete predicate](/influxdb/v2.0/reference/syntax/delete-predicate)) | string | | diff --git a/content/influxdb/v2.0/reference/cli/influx/export/_index.md b/content/influxdb/v2.0/reference/cli/influx/export/_index.md index 1827189929..30d74e2b63 100644 --- a/content/influxdb/v2.0/reference/cli/influx/export/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/export/_index.md @@ -39,7 +39,7 @@ influx export [command] | | `--endpoints` | Comma-separated list of notification endpoint IDs | string | | | `-f` | `--file` | Template output file. Defaults to stdout. Use `.yml` or `.json` file extensions. | string | | | `-h` | `--help` | Help for the `export` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--labels` | Comma-separated list of label IDs | string | | | | `--resource-type` | Resource type associated with all IDs via stdin | string | | | | `--rules` | Comma-separated list of notification rule IDs | string | | diff --git a/content/influxdb/v2.0/reference/cli/influx/export/all.md b/content/influxdb/v2.0/reference/cli/influx/export/all.md index 688144ae48..ae68cfaa59 100644 --- a/content/influxdb/v2.0/reference/cli/influx/export/all.md +++ b/content/influxdb/v2.0/reference/cli/influx/export/all.md @@ -30,7 +30,7 @@ influx export all [flags] | `-f` | `--file` | Template output file. Defaults to stdout. Use `.yml` or `.json` file extensions. | string | | | | `--filter` | Specify resources to export by labelName or resourceKind (format: `--filter=labelName=example`) | list of strings | | | `-h` | `--help` | Help for the `export all` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-o` | `--org` | Organization name that owns the resources | string | `INFLUX_ORG` | | | `--org-id` | Organization ID that owns the resources | string | `INFLUX_ORG_ID` | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/export/stack.md b/content/influxdb/v2.0/reference/cli/influx/export/stack.md index d1cefa4214..32e5313683 100644 --- a/content/influxdb/v2.0/reference/cli/influx/export/stack.md +++ b/content/influxdb/v2.0/reference/cli/influx/export/stack.md @@ -25,7 +25,7 @@ influx export stack [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-f` | `--file` | Template output file. Defaults to stdout. Use `.yml` or `.json` file extensions. | string | | | `-h` | `--help` | Help for the `export stack` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-o` | `--org` | Organization name that owns the resources | string | `INFLUX_ORG` | | | `--org-id` | Organization ID that owns the resources | string | `INFLUX_ORG_ID` | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/org/create.md b/content/influxdb/v2.0/reference/cli/influx/org/create.md index 56d349f694..bd7f4dea68 100644 --- a/content/influxdb/v2.0/reference/cli/influx/org/create.md +++ b/content/influxdb/v2.0/reference/cli/influx/org/create.md @@ -23,7 +23,7 @@ influx org create [flags] | `-d` | `--description` | Description of the organization | | | | `-h` | `--help` | Help for the `create` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-n` | `--name` | Organization name | string | | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/org/delete.md b/content/influxdb/v2.0/reference/cli/influx/org/delete.md index 286794a118..87e434a001 100644 --- a/content/influxdb/v2.0/reference/cli/influx/org/delete.md +++ b/content/influxdb/v2.0/reference/cli/influx/org/delete.md @@ -22,7 +22,7 @@ influx org delete [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `delete` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | **(Required)** Organization ID | string | `INFLUX_ORG_ID` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/org/list.md b/content/influxdb/v2.0/reference/cli/influx/org/list.md index d0a53650ee..39563f65e8 100644 --- a/content/influxdb/v2.0/reference/cli/influx/org/list.md +++ b/content/influxdb/v2.0/reference/cli/influx/org/list.md @@ -27,7 +27,7 @@ influx org list [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `list` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | Organization ID | string | `INFLUX_ORG` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-n` | `--name` | Organization name | string | `INFLUX_ORG_ID` | diff --git a/content/influxdb/v2.0/reference/cli/influx/org/members/add.md b/content/influxdb/v2.0/reference/cli/influx/org/members/add.md index 9fd403c674..04b60b620e 100644 --- a/content/influxdb/v2.0/reference/cli/influx/org/members/add.md +++ b/content/influxdb/v2.0/reference/cli/influx/org/members/add.md @@ -19,7 +19,7 @@ influx org members add [flags] | Flag | | Description | Input type | {{< cli/mapped >}} | |:---- |:--- |:----------- |:----------: |:------------------ | | `-h` | `--help` | Help for the `add` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | Organization ID | string | `INFLUX_ORG_ID` | | `-m` | `--member` | Member ID | string | | | `-n` | `--name` | Organization name | string | `INFLUX_ORG` | diff --git a/content/influxdb/v2.0/reference/cli/influx/org/members/list.md b/content/influxdb/v2.0/reference/cli/influx/org/members/list.md index 4014a888ae..9376b38ffb 100644 --- a/content/influxdb/v2.0/reference/cli/influx/org/members/list.md +++ b/content/influxdb/v2.0/reference/cli/influx/org/members/list.md @@ -20,7 +20,7 @@ influx org members list [flags] |:---- |:--- |:----------- |:----------: |:------------------ | | `-h` | `--help` | Help for the `list` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | Organization ID | string | `INFLUX_ORG_ID` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-n` | `--name` | Organization name | string | `INFLUX_ORG` | diff --git a/content/influxdb/v2.0/reference/cli/influx/org/members/remove.md b/content/influxdb/v2.0/reference/cli/influx/org/members/remove.md index d8f13d95c5..68c20e1f74 100644 --- a/content/influxdb/v2.0/reference/cli/influx/org/members/remove.md +++ b/content/influxdb/v2.0/reference/cli/influx/org/members/remove.md @@ -19,7 +19,7 @@ influx org members remove [flags] | Flag | | Description | Input type | {{< cli/mapped >}} | |:---- |:--- |:----------- |:----------: |:------------------ | | `-h` | `--help` | Help for the `remove` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | Organization ID | string | `INFLUX_ORG_ID` | | `-o` | `--member` | Member ID | string | | | `-n` | `--name` | Organization name | string | `INFLUX_ORG` | diff --git a/content/influxdb/v2.0/reference/cli/influx/org/update.md b/content/influxdb/v2.0/reference/cli/influx/org/update.md index 0714618bd1..aff1e8e3af 100644 --- a/content/influxdb/v2.0/reference/cli/influx/org/update.md +++ b/content/influxdb/v2.0/reference/cli/influx/org/update.md @@ -23,7 +23,7 @@ influx org update [flags] | `-d` | `--description` | Description for the organization | string | `INFLUX_ORG_DESCRIPTION` | | `-h` | `--help` | Help for the `update` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | **(Required)** Organization ID | string | `INFLUX_ORG_ID` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-n` | `--name` | Organization name | string | `INFLUX_ORG` | diff --git a/content/influxdb/v2.0/reference/cli/influx/ping/_index.md b/content/influxdb/v2.0/reference/cli/influx/ping/_index.md index 7971189e85..a11fc7c7c5 100644 --- a/content/influxdb/v2.0/reference/cli/influx/ping/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/ping/_index.md @@ -24,5 +24,5 @@ influx ping [flags] | Flag | | Description | Input type | {{< cli/mapped >}} | |:---- |:--- |:----------- |:---------- |:----------------- | | `-h` | `--help` | Help for the `ping` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/query/_index.md b/content/influxdb/v2.0/reference/cli/influx/query/_index.md index 0673c2c088..117f0d52b1 100644 --- a/content/influxdb/v2.0/reference/cli/influx/query/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/query/_index.md @@ -26,7 +26,7 @@ influx query [query literal] [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-f` | `--file` | Path to Flux script file | string | | | `-h` | `--help` | Help for the `query` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | | | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | | `-r` | `--raw` | Output raw query results (annotated CSV) | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/repl/_index.md b/content/influxdb/v2.0/reference/cli/influx/repl/_index.md index a9b59ec407..3209e02059 100644 --- a/content/influxdb/v2.0/reference/cli/influx/repl/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/repl/_index.md @@ -33,7 +33,7 @@ To use the Flux REPL, you must first authenticate with a [token](/influxdb/v2.0/ | `-c` | `--active-config` | CLI configuration to use for command | string | | | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `repl` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | | | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/secret/delete.md b/content/influxdb/v2.0/reference/cli/influx/secret/delete.md index 6aafe65e0a..dca687e352 100644 --- a/content/influxdb/v2.0/reference/cli/influx/secret/delete.md +++ b/content/influxdb/v2.0/reference/cli/influx/secret/delete.md @@ -23,7 +23,7 @@ influx secret delete [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `delete` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-k` | `--key` | **(Required)** Secret key | string | | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | diff --git a/content/influxdb/v2.0/reference/cli/influx/secret/list.md b/content/influxdb/v2.0/reference/cli/influx/secret/list.md index 420751b637..100975b76f 100644 --- a/content/influxdb/v2.0/reference/cli/influx/secret/list.md +++ b/content/influxdb/v2.0/reference/cli/influx/secret/list.md @@ -26,7 +26,7 @@ influx secret list [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `list` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | | | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | diff --git a/content/influxdb/v2.0/reference/cli/influx/secret/update.md b/content/influxdb/v2.0/reference/cli/influx/secret/update.md index 4e6fcadcc9..83993ba040 100644 --- a/content/influxdb/v2.0/reference/cli/influx/secret/update.md +++ b/content/influxdb/v2.0/reference/cli/influx/secret/update.md @@ -32,7 +32,7 @@ influx secret update [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `update` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-k` | `--key` | **(Required)** Secret key | string | | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | diff --git a/content/influxdb/v2.0/reference/cli/influx/setup/_index.md b/content/influxdb/v2.0/reference/cli/influx/setup/_index.md index 619faadc8a..61739707c2 100644 --- a/content/influxdb/v2.0/reference/cli/influx/setup/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/setup/_index.md @@ -27,7 +27,7 @@ influx setup [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-f` | `--force` | Skip confirmation prompt | | | | `-h` | `--help` | Help for the `setup` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-o` | `--org` | Primary organization name | string | | | `-p` | `--password` | Password for primary user | string | | | `-r` | `--retention` | Duration bucket will retain data (0 is infinite, default is 0) | duration | | diff --git a/content/influxdb/v2.0/reference/cli/influx/stacks/_index.md b/content/influxdb/v2.0/reference/cli/influx/stacks/_index.md index 5fadf05690..a0ff925e1f 100644 --- a/content/influxdb/v2.0/reference/cli/influx/stacks/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/stacks/_index.md @@ -35,7 +35,7 @@ influx stacks [command] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `stacks` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | | | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | diff --git a/content/influxdb/v2.0/reference/cli/influx/stacks/init.md b/content/influxdb/v2.0/reference/cli/influx/stacks/init.md index a39b31ab22..d7830bc8a6 100644 --- a/content/influxdb/v2.0/reference/cli/influx/stacks/init.md +++ b/content/influxdb/v2.0/reference/cli/influx/stacks/init.md @@ -25,7 +25,7 @@ influx stacks init [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `init` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | | | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | diff --git a/content/influxdb/v2.0/reference/cli/influx/stacks/remove.md b/content/influxdb/v2.0/reference/cli/influx/stacks/remove.md index e487f23553..bfea802b4c 100644 --- a/content/influxdb/v2.0/reference/cli/influx/stacks/remove.md +++ b/content/influxdb/v2.0/reference/cli/influx/stacks/remove.md @@ -28,7 +28,7 @@ influx stacks remove [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `remove` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | | | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | diff --git a/content/influxdb/v2.0/reference/cli/influx/stacks/update.md b/content/influxdb/v2.0/reference/cli/influx/stacks/update.md index db0e0b3afd..113f128166 100644 --- a/content/influxdb/v2.0/reference/cli/influx/stacks/update.md +++ b/content/influxdb/v2.0/reference/cli/influx/stacks/update.md @@ -25,7 +25,7 @@ influx stacks update [flags] | `-f` | `--export-file` | Destination for exported template | string | | | `-h` | `--help` | Help for the `update` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--stack-id` | The stack ID to update | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/task/create.md b/content/influxdb/v2.0/reference/cli/influx/task/create.md index f8f193ea13..1169ecb5ef 100644 --- a/content/influxdb/v2.0/reference/cli/influx/task/create.md +++ b/content/influxdb/v2.0/reference/cli/influx/task/create.md @@ -23,7 +23,7 @@ influx task create [query literal] [flags] | `-f` | `--file` | Path to Flux script file | string | | | `-h` | `--help` | Help for the `create` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | | | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | diff --git a/content/influxdb/v2.0/reference/cli/influx/task/delete.md b/content/influxdb/v2.0/reference/cli/influx/task/delete.md index 44625825a5..c4e55b0a9a 100644 --- a/content/influxdb/v2.0/reference/cli/influx/task/delete.md +++ b/content/influxdb/v2.0/reference/cli/influx/task/delete.md @@ -22,7 +22,7 @@ influx task delete [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `delete` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | **(Required)** Task ID | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/task/list.md b/content/influxdb/v2.0/reference/cli/influx/task/list.md index fbe694282c..3e288e0db1 100644 --- a/content/influxdb/v2.0/reference/cli/influx/task/list.md +++ b/content/influxdb/v2.0/reference/cli/influx/task/list.md @@ -27,7 +27,7 @@ influx task list [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `list` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | Task ID | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | | `--limit` | Number of tasks to find (default `100`) | integer | | diff --git a/content/influxdb/v2.0/reference/cli/influx/task/log/list.md b/content/influxdb/v2.0/reference/cli/influx/task/log/list.md index 16d663d9b9..c09c8ca595 100644 --- a/content/influxdb/v2.0/reference/cli/influx/task/log/list.md +++ b/content/influxdb/v2.0/reference/cli/influx/task/log/list.md @@ -27,7 +27,7 @@ influx task log list [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `list` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--run-id` | Run ID | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/task/run/list.md b/content/influxdb/v2.0/reference/cli/influx/task/run/list.md index 085f20cfbb..e5038df10c 100644 --- a/content/influxdb/v2.0/reference/cli/influx/task/run/list.md +++ b/content/influxdb/v2.0/reference/cli/influx/task/run/list.md @@ -29,7 +29,7 @@ influx task run list [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `list` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | | `--limit` | Limit the number of results | integer | | | | `--run-id` | Run ID | string | | diff --git a/content/influxdb/v2.0/reference/cli/influx/task/run/retry.md b/content/influxdb/v2.0/reference/cli/influx/task/run/retry.md index 97c2f49009..7fc2274463 100644 --- a/content/influxdb/v2.0/reference/cli/influx/task/run/retry.md +++ b/content/influxdb/v2.0/reference/cli/influx/task/run/retry.md @@ -21,7 +21,7 @@ influx task run retry [flags] | `-c` | `--active-config` | CLI configuration to use for command | string | | | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `retry` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-r` | `--run-id` | **(Required)** Run ID | string | | | | `--skip-verify` | Skip TLS certificate verification | | | | `-i` | `--task-id` | **(Required)** Task ID | string | | diff --git a/content/influxdb/v2.0/reference/cli/influx/task/update.md b/content/influxdb/v2.0/reference/cli/influx/task/update.md index 3f3a71a82a..057959f2f5 100644 --- a/content/influxdb/v2.0/reference/cli/influx/task/update.md +++ b/content/influxdb/v2.0/reference/cli/influx/task/update.md @@ -23,7 +23,7 @@ influx task update [flags] | `-f` | `--file` | Path to Flux script file | string | | | `-h` | `--help` | Help for the `update` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | **(Required)** Task ID | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/user/create.md b/content/influxdb/v2.0/reference/cli/influx/user/create.md index 2617ed7cb6..58aeb78164 100644 --- a/content/influxdb/v2.0/reference/cli/influx/user/create.md +++ b/content/influxdb/v2.0/reference/cli/influx/user/create.md @@ -22,7 +22,7 @@ influx user create [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `create` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-n` | `--name` | **(Required)** Username | string | `INFLUX_NAME` | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | diff --git a/content/influxdb/v2.0/reference/cli/influx/user/delete.md b/content/influxdb/v2.0/reference/cli/influx/user/delete.md index 302787694a..8fc5c556ce 100644 --- a/content/influxdb/v2.0/reference/cli/influx/user/delete.md +++ b/content/influxdb/v2.0/reference/cli/influx/user/delete.md @@ -22,7 +22,7 @@ influx user delete [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `delete` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | **(Required)** User ID | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/user/list.md b/content/influxdb/v2.0/reference/cli/influx/user/list.md index a6eafd8758..b94ca14c38 100644 --- a/content/influxdb/v2.0/reference/cli/influx/user/list.md +++ b/content/influxdb/v2.0/reference/cli/influx/user/list.md @@ -27,7 +27,7 @@ influx user list [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `list` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | User ID | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-n` | `--name` | Username | string | | diff --git a/content/influxdb/v2.0/reference/cli/influx/user/password.md b/content/influxdb/v2.0/reference/cli/influx/user/password.md index ad5cd7d815..e86f21e122 100644 --- a/content/influxdb/v2.0/reference/cli/influx/user/password.md +++ b/content/influxdb/v2.0/reference/cli/influx/user/password.md @@ -23,7 +23,7 @@ influx user password [flags] | `-c` | `--active-config` | CLI configuration to use for command | string | | | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `password` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | User ID | string | | | `-n` | `--name` | Username | string | | | | `--skip-verify` | Skip TLS certificate verification | | | diff --git a/content/influxdb/v2.0/reference/cli/influx/user/update.md b/content/influxdb/v2.0/reference/cli/influx/user/update.md index 1c189581ed..c6e7760131 100644 --- a/content/influxdb/v2.0/reference/cli/influx/user/update.md +++ b/content/influxdb/v2.0/reference/cli/influx/user/update.md @@ -23,7 +23,7 @@ influx user update [flags] | | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` | | `-h` | `--help` | Help for the `update` command | | | | | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-i` | `--id` | **(Required)** User ID | string | | | | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` | | `-n` | `--name` | Username | string | | diff --git a/content/influxdb/v2.0/reference/cli/influx/write/_index.md b/content/influxdb/v2.0/reference/cli/influx/write/_index.md index b0cbe2a1ce..b5b88ca00f 100644 --- a/content/influxdb/v2.0/reference/cli/influx/write/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/write/_index.md @@ -42,7 +42,7 @@ influx write [command] | | `--format` | Input format (`lp` or `csv`, default `lp`) | string | | | | `--header` | Prepend header line to CSV input data | string | | | `-h` | `--help` | Help for the `dryrun` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | | | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | | `-p` | `--precision` | Precision of the timestamps (default `ns`) | string | `INFLUX_PRECISION` | diff --git a/content/influxdb/v2.0/reference/cli/influx/write/dryrun.md b/content/influxdb/v2.0/reference/cli/influx/write/dryrun.md index a862c9903d..e821267ed5 100644 --- a/content/influxdb/v2.0/reference/cli/influx/write/dryrun.md +++ b/content/influxdb/v2.0/reference/cli/influx/write/dryrun.md @@ -36,7 +36,7 @@ influx write dryrun [flags] | | `--format` | Input format (`lp` or `csv`, default `lp`) | string | | | | `--header` | Prepend header line to CSV input data | string | | | `-h` | `--help` | Help for the `dryrun` command | | | -| | `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | `INFLUX_HOST` | +| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` | | `-o` | `--org` | Organization name | string | `INFLUX_ORG` | | | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | | `-p` | `--precision` | Precision of the timestamps (default `ns`) | string | `INFLUX_PRECISION` | diff --git a/content/influxdb/v2.0/reference/config-options.md b/content/influxdb/v2.0/reference/config-options.md index 5564be1572..bd12644960 100644 --- a/content/influxdb/v2.0/reference/config-options.md +++ b/content/influxdb/v2.0/reference/config-options.md @@ -322,7 +322,7 @@ engine-path = "/users/user/.influxdbv2/engine" Define the bind address for the InfluxDB HTTP API. Customize the URL and port for the InfluxDB API and UI. -**Default:** `:9999` +**Default:** `:8086` | influxd flag | Environment variable | Configuration key | |:------------ |:-------------------- |:----------------- | @@ -330,12 +330,12 @@ Customize the URL and port for the InfluxDB API and UI. ###### influxd flag ```sh -influxd --http-bind-address=:9999 +influxd --http-bind-address=:8086 ``` ###### Environment variable ```sh -export INFLUXD_HTTP_BIND_ADDRESS=:9999 +export INFLUXD_HTTP_BIND_ADDRESS=:8086 ``` ###### Configuration file @@ -347,18 +347,18 @@ export INFLUXD_HTTP_BIND_ADDRESS=:9999 {{% /code-tabs %}} {{% code-tab-content %}} ```yml -http-bind-address: ":9999" +http-bind-address: ":8086" ``` {{% /code-tab-content %}} {{% code-tab-content %}} ```toml -http-bind-address = ":9999" +http-bind-address = ":8086" ``` {{% /code-tab-content %}} {{% code-tab-content %}} ```json { - "http-bind-address": ":9999" + "http-bind-address": ":8086" } ``` {{% /code-tab-content %}} diff --git a/content/influxdb/v2.0/reference/flux/language/lexical-elements.md b/content/influxdb/v2.0/reference/flux/language/lexical-elements.md index 913d7b58b3..c2b419c285 100644 --- a/content/influxdb/v2.0/reference/flux/language/lexical-elements.md +++ b/content/influxdb/v2.0/reference/flux/language/lexical-elements.md @@ -364,7 +364,7 @@ regexp_escape_char = `\` (`/` | `\`) ```js /.*/ -/http:\/\/localhost:9999/ +/http:\/\/localhost:8086/ /^\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e(ZZ)?$/ /^日本語(ZZ)?$/ // the above two lines are equivalent /\\xZZ/ // this becomes the literal pattern "\xZZ" diff --git a/content/influxdb/v2.0/reference/flux/stdlib/experimental/csv/from.md b/content/influxdb/v2.0/reference/flux/stdlib/experimental/csv/from.md index 094f8c8671..fcc21589aa 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/experimental/csv/from.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/experimental/csv/from.md @@ -22,7 +22,7 @@ _**Function type:** Input_ ```js import "experimental/csv" -csv.from(url: "http://localhost:9999/") +csv.from(url: "http://localhost:8086/") ``` ## Parameters diff --git a/content/influxdb/v2.0/reference/flux/stdlib/experimental/http/get.md b/content/influxdb/v2.0/reference/flux/stdlib/experimental/http/get.md index 459fb2eaef..b9ef31b1cd 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/experimental/http/get.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/experimental/http/get.md @@ -19,7 +19,7 @@ _**Function type:** Miscellaneous_ import "experimental/http" http.get( - url: "http://localhost:9999/", + url: "http://localhost:8086/", headers: {x:"a", y:"b", z:"c"}, timeout: 30s ) @@ -76,7 +76,7 @@ import "csv" token = secrets.get(key: "READONLY_TOKEN") response = http.get( - url: "http://localhost:9999/health", + url: "http://localhost:8086/health", headers: {Authorization: "Token ${token}"} ) diff --git a/content/influxdb/v2.0/reference/flux/stdlib/experimental/prometheus/scrape.md b/content/influxdb/v2.0/reference/flux/stdlib/experimental/prometheus/scrape.md index 92808c41a9..2a4f977d8e 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/experimental/prometheus/scrape.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/experimental/prometheus/scrape.md @@ -22,7 +22,7 @@ _**Function type:** Input_ import "experimental/prometheus" prometheus.scrape( - url: "http://localhost:9999/metrics" + url: "http://localhost:8086/metrics" ) ``` diff --git a/content/influxdb/v2.0/reference/flux/stdlib/http/post.md b/content/influxdb/v2.0/reference/flux/stdlib/http/post.md index f3bf39800d..1aafe5d770 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/http/post.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/http/post.md @@ -21,7 +21,7 @@ _**Function type:** Output_ import "http" http.post( - url: "http://localhost:9999/", + url: "http://localhost:8086/", headers: {x:"a", y:"b", z:"c"}, data: bytes(v: "body") ) diff --git a/content/influxdb/v2.0/reference/glossary.md b/content/influxdb/v2.0/reference/glossary.md index d24e772fd1..33e8ad62ed 100644 --- a/content/influxdb/v2.0/reference/glossary.md +++ b/content/influxdb/v2.0/reference/glossary.md @@ -962,7 +962,7 @@ string values are annotated with the `string` datatype. ### TCP -InfluxDB uses Transmission Control Protocol (TCP) port 9999 for client-server communication over the InfluxDB HTTP API. +InfluxDB uses Transmission Control Protocol (TCP) port 8086 for client-server communication over the InfluxDB HTTP API. diff --git a/content/influxdb/v2.0/reference/urls.md b/content/influxdb/v2.0/reference/urls.md index b72f266761..58bb6602b9 100644 --- a/content/influxdb/v2.0/reference/urls.md +++ b/content/influxdb/v2.0/reference/urls.md @@ -27,7 +27,7 @@ For InfluxDB OSS, the default URL is the following: {{< keep-url >}} ``` -http://localhost:9999/ +http://localhost:8086/ ``` ### Customize your InfluxDB OSS URL diff --git a/content/influxdb/v2.0/security/enable-tls.md b/content/influxdb/v2.0/security/enable-tls.md index d745801ca5..4f7d0c9424 100644 --- a/content/influxdb/v2.0/security/enable-tls.md +++ b/content/influxdb/v2.0/security/enable-tls.md @@ -104,13 +104,13 @@ InfluxDB supports three types of TLS certificates: Ensure you can connect over HTTPS by running ``` - curl -v https://localhost:9999/api/v2/ping + curl -v https://localhost:8086/api/v2/ping ``` If using a self-signed certificate, use the `-k` flag to skip certificate verification: ``` - curl -vk https://localhost:9999/api/v2/ping + curl -vk https://localhost:8086/api/v2/ping ``` With this command, you should see output confirming a succussful TLS handshake. @@ -136,7 +136,7 @@ update the following `influxdb_v2` output settings in your Telegraf configuratio ## ## Multiple URLs can be specified for a single cluster, only ONE of the ## urls will be written to each interval. - urls = ["https://127.0.0.1:9999"] + urls = ["https://127.0.0.1:8086"] [...] diff --git a/content/influxdb/v2.0/security/secrets/manage-secrets/add.md b/content/influxdb/v2.0/security/secrets/manage-secrets/add.md index 9c7916817d..7a38c67073 100644 --- a/content/influxdb/v2.0/security/secrets/manage-secrets/add.md +++ b/content/influxdb/v2.0/security/secrets/manage-secrets/add.md @@ -43,7 +43,7 @@ add a new secret to your organization. ```sh -curl -XPATCH http://localhost:9999/api/v2/orgs//secrets \ +curl -XPATCH http://localhost:8086/api/v2/orgs//secrets \ -H 'Authorization: Token YOURAUTHTOKEN' \ -H 'Content-type: application/json' \ --data '{ diff --git a/content/influxdb/v2.0/security/secrets/manage-secrets/delete.md b/content/influxdb/v2.0/security/secrets/manage-secrets/delete.md index 76a585903b..31f41e3a1c 100644 --- a/content/influxdb/v2.0/security/secrets/manage-secrets/delete.md +++ b/content/influxdb/v2.0/security/secrets/manage-secrets/delete.md @@ -35,7 +35,7 @@ to delete one or more secrets. ```bash -curl -XGET http://localhost:9999/api/v2/orgs//secrets/delete \ +curl -XGET http://localhost:8086/api/v2/orgs//secrets/delete \ --H 'Authorization: Token YOURAUTHTOKEN' --data '{ "secrets": [ diff --git a/content/influxdb/v2.0/security/secrets/manage-secrets/update.md b/content/influxdb/v2.0/security/secrets/manage-secrets/update.md index 8f330a9c69..a06ec87d8c 100644 --- a/content/influxdb/v2.0/security/secrets/manage-secrets/update.md +++ b/content/influxdb/v2.0/security/secrets/manage-secrets/update.md @@ -43,7 +43,7 @@ to update a secret in your organization. ```sh -curl -XPATCH http://localhost:9999/api/v2/orgs//secrets \ +curl -XPATCH http://localhost:8086/api/v2/orgs//secrets \ -H 'Authorization: Token YOURAUTHTOKEN' \ -H 'Content-type: application/json' \ --data '{ diff --git a/content/influxdb/v2.0/security/secrets/manage-secrets/view.md b/content/influxdb/v2.0/security/secrets/manage-secrets/view.md index 69276c6506..a3565afe73 100644 --- a/content/influxdb/v2.0/security/secrets/manage-secrets/view.md +++ b/content/influxdb/v2.0/security/secrets/manage-secrets/view.md @@ -29,6 +29,6 @@ to view your organization's secrets keys. ```sh -curl -XGET http://localhost:9999/api/v2/orgs//secrets \ +curl -XGET http://localhost:8086/api/v2/orgs//secrets \ -H 'Authorization: Token YOURAUTHTOKEN' ``` diff --git a/content/influxdb/v2.0/telegraf-configs/_index.md b/content/influxdb/v2.0/telegraf-configs/_index.md index 9a8ea878e0..21e4af28a7 100644 --- a/content/influxdb/v2.0/telegraf-configs/_index.md +++ b/content/influxdb/v2.0/telegraf-configs/_index.md @@ -23,7 +23,7 @@ the configuration from an InfluxDB HTTP(S) endpoint. InfluxDB Telegraf configuration. For example: ```sh - telegraf --config http://localhost:9999/api/v2/telegrafs/ + telegraf --config http://localhost:8086/api/v2/telegrafs/ ``` {{% note %}} diff --git a/content/influxdb/v2.0/tools/repl.md b/content/influxdb/v2.0/tools/repl.md index 3c40ff1c3c..7fc4df5437 100644 --- a/content/influxdb/v2.0/tools/repl.md +++ b/content/influxdb/v2.0/tools/repl.md @@ -30,7 +30,7 @@ to the [`from()` function](/influxdb/v2.0/reference/flux/stdlib/built-in/inputs/ ```js from(bucket: "example-bucket", - host: "http://localhost:9999", + host: "http://localhost:8086", org: "example-org", token: "My5uP3rS3cRetT0k3n" ) diff --git a/content/influxdb/v2.0/visualize-data/dashboards/_index.md b/content/influxdb/v2.0/visualize-data/dashboards/_index.md index 80c993fbce..5b9130da94 100644 --- a/content/influxdb/v2.0/visualize-data/dashboards/_index.md +++ b/content/influxdb/v2.0/visualize-data/dashboards/_index.md @@ -23,7 +23,7 @@ Use the InfluxDB UI or `influx` CLI to view your dashboard ID. When viewing a dashboard in the InfluxDB UI, your dashboard ID appears in the URL.
-http://localhost:9999/orgs/03a2bbf46249a000/dashboards/04b6b15034cc000/...
+http://localhost:8086/orgs/03a2bbf46249a000/dashboards/04b6b15034cc000/...
 
### Dashboard ID in the CLI diff --git a/content/influxdb/v2.0/visualize-data/other-tools/grafana.md b/content/influxdb/v2.0/visualize-data/other-tools/grafana.md index ac5e4387ed..81f743e223 100644 --- a/content/influxdb/v2.0/visualize-data/other-tools/grafana.md +++ b/content/influxdb/v2.0/visualize-data/other-tools/grafana.md @@ -51,7 +51,7 @@ configure your InfluxDB connection: - **URL**: Your [InfluxDB URL](/influxdb/v2.0/reference/urls/) **with the `/api/v2` path**. ```sh - http://localhost:9999/api/v2 + http://localhost:8086/api/v2 ``` - **Organization**: Your InfluxDB [organization name **or** ID](/influxdb/v2.0/organizations/view-orgs/). diff --git a/content/influxdb/v2.0/write-data/_index.md b/content/influxdb/v2.0/write-data/_index.md index 2c5dd50ad3..b0501cccc7 100644 --- a/content/influxdb/v2.0/write-data/_index.md +++ b/content/influxdb/v2.0/write-data/_index.md @@ -152,7 +152,7 @@ Click **Quick Start**. InfluxDB creates and configures a new [scraper](/influxdb/v2.0/write-data/no-code/scrape-data/). The target URL points to the `/metrics` HTTP endpoint of your local InfluxDB instance -(for example, `http://localhost:9999/metrics`), which outputs internal InfluxDB +(for example, `http://localhost:8086/metrics`), which outputs internal InfluxDB metrics in the [Prometheus data format](https://prometheus.io/docs/instrumenting/exposition_formats/). The scraper stores the scraped metrics in the bucket created during the [initial setup process](/influxdb/v2.0/get-started/#set-up-influxdb). diff --git a/content/influxdb/v2.0/write-data/best-practices/optimize-writes.md b/content/influxdb/v2.0/write-data/best-practices/optimize-writes.md index b7df11ac3f..062fe47b34 100644 --- a/content/influxdb/v2.0/write-data/best-practices/optimize-writes.md +++ b/content/influxdb/v2.0/write-data/best-practices/optimize-writes.md @@ -74,7 +74,7 @@ In the `influxdb_v2` output plugin configuration in your `telegraf.conf`, set th ```toml [[outputs.influxdb_v2]] - urls = ["http://localhost:9999"] + urls = ["http://localhost:8086"] # ... content_encoding = "gzip" ``` @@ -94,7 +94,7 @@ When using the InfluxDB API `/write` endpoint to write data, set the `Content-En header to `gzip` to compress the request data. ```sh -curl -XPOST "http://localhost:9999/api/v2/write?org=YOUR_ORG&bucket=YOUR_BUCKET&precision=s" \ +curl -XPOST "http://localhost:8086/api/v2/write?org=YOUR_ORG&bucket=YOUR_BUCKET&precision=s" \ --header "Authorization: Token YOURAUTHTOKEN" \ --header "Content-Encoding: gzip" \ --data-raw "mem,host=host1 used_percent=23.43234543 1556896326" diff --git a/content/influxdb/v2.0/write-data/developer-tools/api.md b/content/influxdb/v2.0/write-data/developer-tools/api.md index 5c0c2f5f7a..64122ebb77 100644 --- a/content/influxdb/v2.0/write-data/developer-tools/api.md +++ b/content/influxdb/v2.0/write-data/developer-tools/api.md @@ -36,7 +36,7 @@ Compressing write requests reduces network bandwidth, but increases server-side {{% /code-tabs %}} {{% code-tab-content %}} ```sh -curl -XPOST "http://localhost:9999/api/v2/write?org=YOUR_ORG&bucket=YOUR_BUCKET&precision=s" \ +curl -XPOST "http://localhost:8086/api/v2/write?org=YOUR_ORG&bucket=YOUR_BUCKET&precision=s" \ --header "Authorization: Token YOURAUTHTOKEN" \ --data-raw " mem,host=host1 used_percent=23.43234543 1556896326 @@ -48,7 +48,7 @@ mem,host=host2 used_percent=27.18294630 1556896336 {{% /code-tab-content %}} {{% code-tab-content %}} ```bash -curl -XPOST "http://localhost:9999/api/v2/write?org=YOUR_ORG&bucket=YOUR_BUCKET&precision=s" \ +curl -XPOST "http://localhost:8086/api/v2/write?org=YOUR_ORG&bucket=YOUR_BUCKET&precision=s" \ --header "Authorization: Token YOURAUTHTOKEN" \ --header "Content-Encoding: gzip" \ --data-raw " diff --git a/content/influxdb/v2.0/write-data/no-code/scrape-data/manage-scrapers/create-a-scraper.md b/content/influxdb/v2.0/write-data/no-code/scrape-data/manage-scrapers/create-a-scraper.md index 81110e5028..433f33049f 100644 --- a/content/influxdb/v2.0/write-data/no-code/scrape-data/manage-scrapers/create-a-scraper.md +++ b/content/influxdb/v2.0/write-data/no-code/scrape-data/manage-scrapers/create-a-scraper.md @@ -23,7 +23,7 @@ Create a new scraper in the InfluxDB user interface (UI). 4. Enter a **Name** for the scraper. 5. Select a **Bucket** to store the scraped data. 6. Enter the **Target URL** to scrape. - The default URL value is `http://localhost:9999/metrics`, + The default URL value is `http://localhost:8086/metrics`, which provides InfluxDB-specific metrics in the [Prometheus data format](https://prometheus.io/docs/instrumenting/exposition_formats/). 7. Click **Create**. diff --git a/content/influxdb/v2.0/write-data/no-code/third-party.md b/content/influxdb/v2.0/write-data/no-code/third-party.md index dbf568e250..fbffd91571 100644 --- a/content/influxdb/v2.0/write-data/no-code/third-party.md +++ b/content/influxdb/v2.0/write-data/no-code/third-party.md @@ -70,7 +70,7 @@ To configure Apache JMeter, complete the following steps in InfluxDB and JMeter. ``` - **influxdbUrl**: _(include the bucket and org you created in InfluxDB)_ ``` - http://localhost:9999/api/v2/write?org=my-org&bucket=jmeter + http://localhost:8086/api/v2/write?org=my-org&bucket=jmeter ``` - **application**: `InfluxDB2` - **influxdbToken**: _your InfluxDB authentication token_ diff --git a/content/influxdb/v2.0/write-data/no-code/use-telegraf/auto-config.md b/content/influxdb/v2.0/write-data/no-code/use-telegraf/auto-config.md index cabeb0151d..f7b05f8f26 100644 --- a/content/influxdb/v2.0/write-data/no-code/use-telegraf/auto-config.md +++ b/content/influxdb/v2.0/write-data/no-code/use-telegraf/auto-config.md @@ -32,7 +32,7 @@ for using Telegraf with InfluxDB v2.0._ ## Create a Telegraf configuration -1. Open the InfluxDB UI _(default: [localhost:9999](http://localhost:9999))_. +1. Open the InfluxDB UI _(default: [localhost:8086](http://localhost:8086))_. 2. In the navigation menu on the left, select **Data** (**Load Data**) > **Telegraf**. {{< nav-icon "load data" >}} @@ -140,7 +140,7 @@ For the exact command, see the Telegraf configuration **Setup Instructions** in {{% /note %}} ```sh -telegraf -config http://localhost:9999/api/v2/telegrafs/0xoX00oOx0xoX00o +telegraf -config http://localhost:8086/api/v2/telegrafs/0xoX00oOx0xoX00o ``` ## Manage Telegraf configurations diff --git a/content/influxdb/v2.0/write-data/no-code/use-telegraf/manual-config.md b/content/influxdb/v2.0/write-data/no-code/use-telegraf/manual-config.md index 1e43f0909b..5fb2a0bc1b 100644 --- a/content/influxdb/v2.0/write-data/no-code/use-telegraf/manual-config.md +++ b/content/influxdb/v2.0/write-data/no-code/use-telegraf/manual-config.md @@ -129,7 +129,7 @@ The example below illustrates an `influxdb_v2` configuration. # ... [[outputs.influxdb_v2]] - urls = ["http://localhost:9999"] + urls = ["http://localhost:8086"] token = "$INFLUX_TOKEN" organization = "example-org" bucket = "example-bucket" diff --git a/data/influxdb_urls.yml b/data/influxdb_urls.yml index eb8978ea2e..3d62337c28 100644 --- a/data/influxdb_urls.yml +++ b/data/influxdb_urls.yml @@ -3,8 +3,8 @@ oss: providers: - name: Default regions: - - name: localhost:9999 - url: http://localhost:9999 + - name: localhost:8086 + url: http://localhost:8086 - name: Custom url: http://example.com:8080