From f6a75a66680e0834e1ced0867db585ccd4ec7cf0 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 4 Sep 2020 11:38:40 -0600 Subject: [PATCH 1/6] uppdated js to not change influxdb 1.x urls, added keep url tags to telegraf, chronograf, and kapacitor codeblocks --- assets/js/influxdb-url.js | 31 ++++++++++++------- .../administration/creating-connections.md | 1 + .../administration/managing-influxdb-users.md | 1 + .../v1.6/guides/live_leaderboard.md | 2 ++ .../monitoring-influxenterprise-clusters.md | 3 ++ .../administration/creating-connections.md | 1 + .../administration/managing-influxdb-users.md | 1 + .../v1.7/guides/live_leaderboard.md | 2 ++ .../monitoring-influxenterprise-clusters.md | 3 ++ .../administration/creating-connections.md | 1 + .../administration/managing-influxdb-users.md | 1 + .../v1.8/guides/live_leaderboard.md | 2 ++ .../monitoring-influxenterprise-clusters.md | 2 ++ .../v1.8/administration/anti-entropy-api.md | 2 +- .../v2.0/query-data/execute-queries.md | 15 +++------ .../v1.4/administration/configuration.md | 1 + .../kapacitor/v1.4/administration/security.md | 7 +++++ .../kapacitor/v1.4/guides/live_leaderboard.md | 2 ++ .../v1.4/introduction/getting-started.md | 4 +++ .../v1.4/introduction/install-docker.md | 1 + content/kapacitor/v1.4/working/api.md | 2 ++ .../v1.5/administration/configuration.md | 1 + .../kapacitor/v1.5/administration/security.md | 7 +++++ .../kapacitor/v1.5/guides/live_leaderboard.md | 2 ++ .../v1.5/introduction/getting-started.md | 5 ++- .../v1.5/introduction/install-docker.md | 1 + content/kapacitor/v1.5/working/api.md | 2 ++ .../v1.10/administration/configuration.md | 3 +- .../v1.11/administration/configuration.md | 3 +- .../v1.12/administration/configuration.md | 3 +- .../v1.13/administration/configuration.md | 5 ++- .../v1.14/administration/configuration.md | 5 ++- .../v1.15/administration/configuration.md | 3 ++ .../v1.9/administration/configuration.md | 1 + data/influxdb_urls.yml | 2 +- data/versions.yaml | 1 - .../partials/footer/influxdb-url-modal.html | 6 ++-- 37 files changed, 101 insertions(+), 34 deletions(-) delete mode 100644 data/versions.yaml diff --git a/assets/js/influxdb-url.js b/assets/js/influxdb-url.js index 176093314..1449f1537 100644 --- a/assets/js/influxdb-url.js +++ b/assets/js/influxdb-url.js @@ -1,7 +1,8 @@ -var defaultUrl = "http://localhost:9999" +var defaultUrl = "http://localhost:8086" var placeholderCloudUrl = "https://cloud2.influxdata.com" var defaultCloudUrl = "https://us-west-2-1.aws.cloud2.influxdata.com" var elementSelector = ".article--content pre:not(.preserve)" +var isInfluxDBv1 = /influxdb\/v1/.test(window.location.href) // Retrieve the selected URL from the influxdb_url session cookie function getUrl() { @@ -25,23 +26,29 @@ function getPrevUrl() { } // Iterate through code blocks and update InfluxDB urls +// Ignore URLs in InfluxDB 1.x docs function updateUrls(currentUrl, newUrl) { - if (typeof currentUrl != newUrl) { - $(elementSelector).each(function() { - $(this).html($(this).html().replace(currentUrl, newUrl)); - }); + if (!isInfluxDBv1) { + if (typeof currentUrl != newUrl) { + $(elementSelector).each(function() { + $(this).html($(this).html().replace(currentUrl, newUrl)); + }); + } } } // Append the URL selector button to each codeblock with an InfluxDB URL +// Ignore codeblocks on InfluxDB v1.x pages function appendUrlSelector(currentUrl, selectorText) { - $(elementSelector).each(function() { - var code = $(this).html() - if (code.includes(currentUrl)) { - $(this).after("
" + selectorText + "
") - $('.select-url').fadeIn(400) - } - }); + if (!isInfluxDBv1) { + $(elementSelector).each(function() { + var code = $(this).html() + if (code.includes(currentUrl)) { + $(this).after("
" + selectorText + "
") + $('.select-url').fadeIn(400) + } + }); + } } // Toggle the URL selector modal window diff --git a/content/chronograf/v1.6/administration/creating-connections.md b/content/chronograf/v1.6/administration/creating-connections.md index bf5c5a4f3..b4accb242 100644 --- a/content/chronograf/v1.6/administration/creating-connections.md +++ b/content/chronograf/v1.6/administration/creating-connections.md @@ -51,6 +51,7 @@ An `.src` files contains the details for a single InfluxDB connection. Create a new file named `example.src` (the filename is arbitrary) and place it at Chronograf's `resource-path`. All `.src` files should contain the following: +{{< keep-url >}} ```json { "id": "10000", diff --git a/content/chronograf/v1.6/administration/managing-influxdb-users.md b/content/chronograf/v1.6/administration/managing-influxdb-users.md index b0bc1f55a..12443012f 100644 --- a/content/chronograf/v1.6/administration/managing-influxdb-users.md +++ b/content/chronograf/v1.6/administration/managing-influxdb-users.md @@ -65,6 +65,7 @@ Run the `curl` command below to create an admin user, replacing: * `chronothan` with your own username * `supersecret` with your own password (note that the password requires single quotes) +{{< keep-url >}} ``` ~# curl -XPOST "http://localhost:8086/query" --data-urlencode "q=CREATE USER chronothan WITH PASSWORD 'supersecret' WITH ALL PRIVILEGES" ``` diff --git a/content/chronograf/v1.6/guides/live_leaderboard.md b/content/chronograf/v1.6/guides/live_leaderboard.md index d5b31e098..30e49e2fe 100644 --- a/content/chronograf/v1.6/guides/live_leaderboard.md +++ b/content/chronograf/v1.6/guides/live_leaderboard.md @@ -187,6 +187,7 @@ max Since we are writing data back to InfluxDB create a database `game` for our results. +{{< keep-url >}} ``` curl -G 'http://localhost:8086/query?' --data-urlencode 'q=CREATE DATABASE game' ``` @@ -274,6 +275,7 @@ Hit the endpoint several times to see that the scores are updating once a second Now, let's check InfluxDB to see our historical data. +{{< keep-url >}} ```bash curl \ -G 'http://localhost:8086/query?db=game' \ diff --git a/content/chronograf/v1.6/guides/monitoring-influxenterprise-clusters.md b/content/chronograf/v1.6/guides/monitoring-influxenterprise-clusters.md index 4a928523e..5ecca204d 100644 --- a/content/chronograf/v1.6/guides/monitoring-influxenterprise-clusters.md +++ b/content/chronograf/v1.6/guides/monitoring-influxenterprise-clusters.md @@ -85,6 +85,7 @@ Because you enabled authentication, you must perform this step before moving on Run the command below to create an admin user, replacing `chronothan` and `supersecret` with your own username and password. Note that the password requires single quotes. +{{< keep-url >}} ``` ~# curl -XPOST "http://localhost:8086/query" --data-urlencode "q=CREATE USER chronothan WITH PASSWORD 'supersecret' WITH ALL PRIVILEGES" ``` @@ -173,6 +174,8 @@ Repeat steps one through four for each data node in your cluster. Run the following command on your InfluxDB OSS instance to see if your Telegraf instances are successfully collecting and writing data. Replace the `chronothan` and `supersecret` values with your actual username and password. + +{{< keep-url >}} ``` ~# curl -G "http://localhost:8086/query?db=telegraf&u=chronothan&p=supersecret&pretty=true" --data-urlencode "q=SHOW TAG VALUES FROM cpu WITH KEY=host" ``` diff --git a/content/chronograf/v1.7/administration/creating-connections.md b/content/chronograf/v1.7/administration/creating-connections.md index 2c3780423..b50cdaf1e 100644 --- a/content/chronograf/v1.7/administration/creating-connections.md +++ b/content/chronograf/v1.7/administration/creating-connections.md @@ -85,6 +85,7 @@ An `.src` files contains the details for a single InfluxDB connection. Create a new file named `example.src` (the filename is arbitrary) and place it at Chronograf's `resource-path`. All `.src` files should contain the following: +{{< keep-url >}} ```json { "id": "10000", diff --git a/content/chronograf/v1.7/administration/managing-influxdb-users.md b/content/chronograf/v1.7/administration/managing-influxdb-users.md index 660230a73..d78b23b6f 100644 --- a/content/chronograf/v1.7/administration/managing-influxdb-users.md +++ b/content/chronograf/v1.7/administration/managing-influxdb-users.md @@ -64,6 +64,7 @@ Run the `curl` command below to create an admin user, replacing: * `chronothan` with your own username * `supersecret` with your own password (note that the password requires single quotes) +{{< keep-url >}} ``` ~# curl -XPOST "http://localhost:8086/query" --data-urlencode "q=CREATE USER chronothan WITH PASSWORD 'supersecret' WITH ALL PRIVILEGES" ``` diff --git a/content/chronograf/v1.7/guides/live_leaderboard.md b/content/chronograf/v1.7/guides/live_leaderboard.md index fea4ba8f6..9c32dfa75 100644 --- a/content/chronograf/v1.7/guides/live_leaderboard.md +++ b/content/chronograf/v1.7/guides/live_leaderboard.md @@ -187,6 +187,7 @@ max Since we are writing data back to InfluxDB create a database `game` for our results. +{{< keep-url >}} ``` curl -G 'http://localhost:8086/query?' --data-urlencode 'q=CREATE DATABASE game' ``` @@ -274,6 +275,7 @@ Hit the endpoint several times to see that the scores are updating once a second Now, let's check InfluxDB to see our historical data. +{{< keep-url >}} ```bash curl \ -G 'http://localhost:8086/query?db=game' \ diff --git a/content/chronograf/v1.7/guides/monitoring-influxenterprise-clusters.md b/content/chronograf/v1.7/guides/monitoring-influxenterprise-clusters.md index e2c243583..852276864 100644 --- a/content/chronograf/v1.7/guides/monitoring-influxenterprise-clusters.md +++ b/content/chronograf/v1.7/guides/monitoring-influxenterprise-clusters.md @@ -85,6 +85,7 @@ Because you enabled authentication, you must perform this step before moving on Run the command below to create an admin user, replacing `chronothan` and `supersecret` with your own username and password. Note that the password requires single quotes. +{{< keep-url >}} ``` ~# curl -XPOST "http://localhost:8086/query" --data-urlencode "q=CREATE USER chronothan WITH PASSWORD 'supersecret' WITH ALL PRIVILEGES" ``` @@ -173,6 +174,8 @@ Repeat steps one through four for each data node in your cluster. Run the following command on your InfluxDB OSS instance to see if your Telegraf instances are successfully collecting and writing data. Replace the `chronothan` and `supersecret` values with your actual username and password. + +{{< keep-url >}} ``` ~# curl -G "http://localhost:8086/query?db=telegraf&u=chronothan&p=supersecret&pretty=true" --data-urlencode "q=SHOW TAG VALUES FROM cpu WITH KEY=host" ``` diff --git a/content/chronograf/v1.8/administration/creating-connections.md b/content/chronograf/v1.8/administration/creating-connections.md index fbd67a098..818a4effb 100644 --- a/content/chronograf/v1.8/administration/creating-connections.md +++ b/content/chronograf/v1.8/administration/creating-connections.md @@ -85,6 +85,7 @@ An `.src` files contains the details for a single InfluxDB connection. Create a new file named `example.src` (the filename is arbitrary) and place it at Chronograf's `resource-path`. All `.src` files should contain the following: +{{< keep-url >}} ```json { "id": "10000", diff --git a/content/chronograf/v1.8/administration/managing-influxdb-users.md b/content/chronograf/v1.8/administration/managing-influxdb-users.md index f78c017a2..873b611d7 100644 --- a/content/chronograf/v1.8/administration/managing-influxdb-users.md +++ b/content/chronograf/v1.8/administration/managing-influxdb-users.md @@ -66,6 +66,7 @@ Run the `curl` command below to create an admin user, replacing: * `chronothan` with your own username * `supersecret` with your own password (note that the password requires single quotes) +{{< keep-url >}} ``` ~# curl -XPOST "http://localhost:8086/query" --data-urlencode "q=CREATE USER chronothan WITH PASSWORD 'supersecret' WITH ALL PRIVILEGES" ``` diff --git a/content/chronograf/v1.8/guides/live_leaderboard.md b/content/chronograf/v1.8/guides/live_leaderboard.md index 78e1dacbc..fea349c3b 100644 --- a/content/chronograf/v1.8/guides/live_leaderboard.md +++ b/content/chronograf/v1.8/guides/live_leaderboard.md @@ -187,6 +187,7 @@ max Since we are writing data back to InfluxDB create a database `game` for our results. +{{< keep-url >}} ``` curl -G 'http://localhost:8086/query?' --data-urlencode 'q=CREATE DATABASE game' ``` @@ -274,6 +275,7 @@ Hit the endpoint several times to see that the scores are updating once a second Now, let's check InfluxDB to see our historical data. +{{< keep-url >}} ```bash curl \ -G 'http://localhost:8086/query?db=game' \ diff --git a/content/chronograf/v1.8/guides/monitoring-influxenterprise-clusters.md b/content/chronograf/v1.8/guides/monitoring-influxenterprise-clusters.md index 185e8bf9e..dbc86ef5d 100644 --- a/content/chronograf/v1.8/guides/monitoring-influxenterprise-clusters.md +++ b/content/chronograf/v1.8/guides/monitoring-influxenterprise-clusters.md @@ -85,6 +85,7 @@ Because you enabled authentication, you must perform this step before moving on Run the command below to create an admin user, replacing `chronothan` and `supersecret` with your own username and password. Note that the password requires single quotes. +{{< keep-url >}} ``` ~# curl -XPOST "http://localhost:8086/query" --data-urlencode "q=CREATE USER chronothan WITH PASSWORD 'supersecret' WITH ALL PRIVILEGES" ``` @@ -199,6 +200,7 @@ $ influx Replace the `chronothan` and `supersecret` values with your actual username and password. +{{< keep-url >}} ``` ~# curl -G "http://localhost:8086/query?db=telegraf&u=chronothan&p=supersecret&pretty=true" --data-urlencode "q=SHOW TAG VALUES FROM cpu WITH KEY=host" ``` diff --git a/content/enterprise_influxdb/v1.8/administration/anti-entropy-api.md b/content/enterprise_influxdb/v1.8/administration/anti-entropy-api.md index 7a885299d..9945805dd 100644 --- a/content/enterprise_influxdb/v1.8/administration/anti-entropy-api.md +++ b/content/enterprise_influxdb/v1.8/administration/anti-entropy-api.md @@ -17,7 +17,7 @@ Use the [Anti-Entropy service](/enterprise_influxdb/v1.8/administration/anti-ent The base URL is: ```text -http://localhost:8086/shard-repair` +http://localhost:8086/shard-repair ``` ## GET `/status` diff --git a/content/influxdb/v2.0/query-data/execute-queries.md b/content/influxdb/v2.0/query-data/execute-queries.md index 2988edc51..39295ff78 100644 --- a/content/influxdb/v2.0/query-data/execute-queries.md +++ b/content/influxdb/v2.0/query-data/execute-queries.md @@ -14,7 +14,7 @@ There are multiple ways to execute queries with InfluxDB. This guide covers the different options: - [Data Explorer](#data-explorer) -- [Influx REPL](#influx-repl) +- [Flux REPL](#flux-repl) - [Influx query command](#influx-query-command) - [InfluxDB API](#influxdb-api) @@ -23,18 +23,13 @@ Queries can be built, executed, and visualized in InfluxDB UI's Data Explorer. ![Data Explorer with Flux](/img/influxdb/2-0-data-explorer.png) -## Influx REPL +## Flux REPL The [Flux REPL](/influxdb/v2.0/tools/repl/) starts an interactive Read-Eval-Print Loop (REPL) where you can write and execute Flux queries. - - - - - -{{% note %}} -`ctrl-d` will close the REPL. -{{% /note %}} +```sh +./flux repl +``` ## Influx query command You can pass queries to the [`influx query` command](/influxdb/v2.0/reference/cli/influx/query) diff --git a/content/kapacitor/v1.4/administration/configuration.md b/content/kapacitor/v1.4/administration/configuration.md index a47bdba71..fa3aa4267 100644 --- a/content/kapacitor/v1.4/administration/configuration.md +++ b/content/kapacitor/v1.4/administration/configuration.md @@ -298,6 +298,7 @@ but one InfluxDB table array configuration must be flagged as the `default`. **Example 8 – An InfluxDB Connection grouping** +{{< keep-url >}} ```toml ... [[influxdb]] diff --git a/content/kapacitor/v1.4/administration/security.md b/content/kapacitor/v1.4/administration/security.md index ea1a71e5d..500e62b00 100644 --- a/content/kapacitor/v1.4/administration/security.md +++ b/content/kapacitor/v1.4/administration/security.md @@ -60,6 +60,7 @@ When testing with a **self-signed certificate** it is also important to switch o certificate verification with the property `insecure-skip-verify`. Failure to do so will result in x509 certificate errors as follows: +{{< keep-url >}} ``` ts=2018-02-19T13:26:11.437+01:00 lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=localhost err="Get https://localhost:8086/ping: x509: certificate is valid for lenovo-TP02, not localhost" ``` @@ -71,6 +72,8 @@ ts=2018-02-19T13:26:11.437+01:00 lvl=error msg="failed to connect to InfluxDB, r In the configuration file these values are set according to the following example. **Example 1 – TLS Configuration Properties for InfluxDB – kapacitor.conf** + +{{< keep-url >}} ```toml [[influxdb]] # Connect to an InfluxDB cluster @@ -106,6 +109,8 @@ Note that when a CA file contains the certificate and key together the property As environment variables these properties can be set as follows: **Example 2 – TLS Configuration Properties for InfluxDB – ENVARS** + +{{< keep-url >}} ``` KAPACITOR_INFLUXDB_0_URLS_0="https://localhost:8086" KAPACITOR_INFLUXDB_0_SSL_CERT="/etc/ssl/influxdb-selfsigned.crt" @@ -129,6 +134,7 @@ This results in the following file: **Example 3 – The InfluxDB part of the Kapacitor configuration** +{{< keep-url >}} ```json { "elements": [ @@ -223,6 +229,7 @@ file, as environment variables or over the HTTP API. **Example 4 – InfluxDB Authentication Parameters – kapacitor.conf** +{{< keep-url >}} ```toml [[influxdb]] # Connect to an InfluxDB cluster diff --git a/content/kapacitor/v1.4/guides/live_leaderboard.md b/content/kapacitor/v1.4/guides/live_leaderboard.md index ef045c6d3..11a8b3564 100644 --- a/content/kapacitor/v1.4/guides/live_leaderboard.md +++ b/content/kapacitor/v1.4/guides/live_leaderboard.md @@ -188,6 +188,7 @@ max Since we are writing data back to InfluxDB create a database `game` for our results. +{{< keep-url >}} ``` curl -G 'http://localhost:8086/query?' --data-urlencode 'q=CREATE DATABASE game' ``` @@ -275,6 +276,7 @@ Hit the endpoint several times to see that the scores are updating once a second Now, let's check InfluxDB to see our historical data. +{{< keep-url >}} ```bash curl \ -G 'http://localhost:8086/query?db=game' \ diff --git a/content/kapacitor/v1.4/introduction/getting-started.md b/content/kapacitor/v1.4/introduction/getting-started.md index 3d8eebc59..b3d8d22dd 100644 --- a/content/kapacitor/v1.4/introduction/getting-started.md +++ b/content/kapacitor/v1.4/introduction/getting-started.md @@ -114,6 +114,8 @@ The Telegraf configuration file can be found at its default location: `/etc/tele * `[[inputs.cpu]]` - declares how to collect the system cpu metrics to be sent to InfluxDB. *Example - relevant sections of `/etc/telegraf/telegraf.conf`* + +{{< keep-url >}} ``` [agent] ## Default data collection interval for all inputs @@ -191,6 +193,7 @@ InfluxDB and Telegraf are now running and listening on localhost. Wait about a This can be achieved with the following query: +{{< keep-url >}} ```bash $ curl -G 'http://localhost:8086/query?db=telegraf' --data-urlencode 'q=SELECT mean(usage_idle) FROM cpu' ``` @@ -376,6 +379,7 @@ Telegraf will log errors if it cannot communicate to InfluxDB. InfluxDB will log an error about `connection refused` if it cannot send data to Kapacitor. Run the query `SHOW SUBSCRIPTIONS` to find the endpoint that InfluxDB is using to send data to Kapacitor. +{{< keep-url >}} ``` $ curl -G 'http://localhost:8086/query?db=telegraf' --data-urlencode 'q=SHOW SUBSCRIPTIONS' diff --git a/content/kapacitor/v1.4/introduction/install-docker.md b/content/kapacitor/v1.4/introduction/install-docker.md index c546b1612..7ab74466a 100644 --- a/content/kapacitor/v1.4/introduction/install-docker.md +++ b/content/kapacitor/v1.4/introduction/install-docker.md @@ -127,6 +127,7 @@ At this point there should be running on the host machine: InfluxDB, Telegraf an The running configuration can be further inspected by using the `influx` command line client directly from the InfluxDB Container. +{{< keep-url >}} ``` $ docker exec -it tik_influxdb_1 influx --precision rfc3339 Connected to http://localhost:8086 version 1.3.3 diff --git a/content/kapacitor/v1.4/working/api.md b/content/kapacitor/v1.4/working/api.md index 847eac676..c6d2b234f 100644 --- a/content/kapacitor/v1.4/working/api.md +++ b/content/kapacitor/v1.4/working/api.md @@ -1860,6 +1860,7 @@ Retrieve all the configuration sections which can be overridden. GET /kapacitor/v1/config ``` +{{< keep-url >}} ```json { "link" : {"rel": "self", "href": "/kapacitor/v1/config"}, @@ -1986,6 +1987,7 @@ Retrieve only the InfluxDB section. GET /kapacitor/v1/config/influxdb ``` +{{< keep-url >}} ```json { "link" : {"rel": "self", "href": "/kapacitor/v1/config/influxdb"}, diff --git a/content/kapacitor/v1.5/administration/configuration.md b/content/kapacitor/v1.5/administration/configuration.md index af48de4d2..a38310775 100644 --- a/content/kapacitor/v1.5/administration/configuration.md +++ b/content/kapacitor/v1.5/administration/configuration.md @@ -340,6 +340,7 @@ To use Kapacitor with an InfluxDB instance that requires authentication, it must authenticate using an InfluxDB user with **read and write** permissions. {{% /note %}} +{{< keep-url >}} ```toml ... [[influxdb]] diff --git a/content/kapacitor/v1.5/administration/security.md b/content/kapacitor/v1.5/administration/security.md index fc6884d65..d2971c932 100644 --- a/content/kapacitor/v1.5/administration/security.md +++ b/content/kapacitor/v1.5/administration/security.md @@ -59,6 +59,7 @@ When testing with a **self-signed certificate** it is also important to switch o certificate verification with the property `insecure-skip-verify`. Failure to do so will result in x509 certificate errors as follows: +{{< keep-url >}} ``` ts=2018-02-19T13:26:11.437+01:00 lvl=error msg="failed to connect to InfluxDB, retrying..." service=influxdb cluster=localhost err="Get https://localhost:8086/ping: x509: certificate is valid for lenovo-TP02, not localhost" ``` @@ -70,6 +71,8 @@ ts=2018-02-19T13:26:11.437+01:00 lvl=error msg="failed to connect to InfluxDB, r In the configuration file these values are set according to the following example. **Example 1 – TLS Configuration Properties for InfluxDB – kapacitor.conf** + +{{< keep-url >}} ```toml [[influxdb]] # Connect to an InfluxDB cluster @@ -105,6 +108,8 @@ Note that when a CA file contains the certificate and key together the property As environment variables these properties can be set as follows: **Example 2 – TLS Configuration Properties for InfluxDB – ENVARS** + +{{< keep-url >}} ``` KAPACITOR_INFLUXDB_0_URLS_0="https://localhost:8086" KAPACITOR_INFLUXDB_0_SSL_CERT="/etc/ssl/influxdb-selfsigned.crt" @@ -128,6 +133,7 @@ This results in the following file: **Example 3 – The InfluxDB part of the Kapacitor configuration** +{{< keep-url >}} ```json { "elements": [ @@ -222,6 +228,7 @@ file, as environment variables or over the HTTP API. **Example 4 – InfluxDB Authentication Parameters – kapacitor.conf** +{{< keep-url >}} ```toml [[influxdb]] # Connect to an InfluxDB cluster diff --git a/content/kapacitor/v1.5/guides/live_leaderboard.md b/content/kapacitor/v1.5/guides/live_leaderboard.md index 82b17c8c5..c2dc04956 100644 --- a/content/kapacitor/v1.5/guides/live_leaderboard.md +++ b/content/kapacitor/v1.5/guides/live_leaderboard.md @@ -190,6 +190,7 @@ max Since we are writing data back to InfluxDB create a database `game` for our results. +{{< keep-url >}} ``` curl -G 'http://localhost:8086/query?' --data-urlencode 'q=CREATE DATABASE game' ``` @@ -277,6 +278,7 @@ Hit the endpoint several times to see that the scores are updating once a second Now, let's check InfluxDB to see our historical data. +{{< keep-url >}} ```bash curl \ -G 'http://localhost:8086/query?db=game' \ diff --git a/content/kapacitor/v1.5/introduction/getting-started.md b/content/kapacitor/v1.5/introduction/getting-started.md index f1868fab9..bc7b055e3 100644 --- a/content/kapacitor/v1.5/introduction/getting-started.md +++ b/content/kapacitor/v1.5/introduction/getting-started.md @@ -46,6 +46,7 @@ To get started, do the following: 2. In the Telegraf configuration file (`/etc/telegraf/telegraf.conf`), configure `[[outputs.influxd]]` to specify how to connect to InfluxDB and the destination database. + {{< keep-url >}} ```sh [[outputs.influxdb]] ## InfluxDB url is required and must be in the following form: http/udp "://" host [ ":" port] @@ -67,6 +68,7 @@ To get started, do the following: 4. After a minute, run the following command to use the InfluxDB API to query for the Telegraf data: + {{< keep-url >}} ```bash $ curl -G 'http://localhost:8086/query?db=telegraf' --data-urlencode 'q=SELECT mean(usage_idle) FROM cpu' ``` @@ -276,8 +278,9 @@ Complete the following steps to ensure log files and communication channels aren InfluxDB logs an error about `connection refused` if it cannot send data to Kapacitor. Run the query `SHOW SUBSCRIPTIONS` against InfluxDB to find the endpoint that InfluxDB is using to send data to Kapacitor. - In the following example, InfluxDB must be running on localhost:8086: + In the following example, InfluxDB must be running on `localhost:8086`: + {{< keep-url >}} ``` $ curl -G 'http://localhost:8086/query?db=telegraf' --data-urlencode 'q=SHOW SUBSCRIPTIONS' diff --git a/content/kapacitor/v1.5/introduction/install-docker.md b/content/kapacitor/v1.5/introduction/install-docker.md index 938b5ad0e..e5a7fa00a 100644 --- a/content/kapacitor/v1.5/introduction/install-docker.md +++ b/content/kapacitor/v1.5/introduction/install-docker.md @@ -126,6 +126,7 @@ At this point there should be running on the host machine: InfluxDB, Telegraf an The running configuration can be further inspected by using the `influx` command line client directly from the InfluxDB Container. +{{< keep-url >}} ``` $ docker exec -it tik_influxdb_1 influx --precision rfc3339 Connected to http://localhost:8086 version 1.3.3 diff --git a/content/kapacitor/v1.5/working/api.md b/content/kapacitor/v1.5/working/api.md index 78b7cf43e..3a344449f 100644 --- a/content/kapacitor/v1.5/working/api.md +++ b/content/kapacitor/v1.5/working/api.md @@ -1864,6 +1864,7 @@ Retrieve all the configuration sections which can be overridden. GET /kapacitor/v1/config ``` +{{< keep-url >}} ```json { "link" : {"rel": "self", "href": "/kapacitor/v1/config"}, @@ -1990,6 +1991,7 @@ Retrieve only the InfluxDB section. GET /kapacitor/v1/config/influxdb ``` +{{< keep-url >}} ```json { "link" : {"rel": "self", "href": "/kapacitor/v1/config/influxdb"}, diff --git a/content/telegraf/v1.10/administration/configuration.md b/content/telegraf/v1.10/administration/configuration.md index b21738497..c13bdacca 100644 --- a/content/telegraf/v1.10/administration/configuration.md +++ b/content/telegraf/v1.10/administration/configuration.md @@ -73,7 +73,7 @@ Each plugin will sleep for a random time within jitter before collecting. This can be used to avoid many plugins querying things like sysfs at the same time, which can have a measurable effect on the system. * **flush_interval**: Default data flushing interval for all outputs. -You should not set this below `interval`. +You should not set this below `interval`. Maximum `flush_interval` will be `flush_interval` + `flush_jitter` * **flush_jitter**: Jitter the flush interval by a random amount. This is primarily to avoid @@ -322,6 +322,7 @@ Additional inputs (or outputs) of the same type can be specified by defining the #### Output configuration examples: +{{< keep-url >}} ```toml [[outputs.influxdb]] urls = [ "http://localhost:8086" ] diff --git a/content/telegraf/v1.11/administration/configuration.md b/content/telegraf/v1.11/administration/configuration.md index b0edb4df7..bd46d240f 100644 --- a/content/telegraf/v1.11/administration/configuration.md +++ b/content/telegraf/v1.11/administration/configuration.md @@ -73,7 +73,7 @@ Each plugin will sleep for a random time within jitter before collecting. This can be used to avoid many plugins querying things like sysfs at the same time, which can have a measurable effect on the system. * **flush_interval**: Default data flushing interval for all outputs. -You should not set this below `interval`. +You should not set this below `interval`. Maximum `flush_interval` will be `flush_interval` + `flush_jitter` * **flush_jitter**: Jitter the flush interval by a random amount. This is primarily to avoid @@ -322,6 +322,7 @@ Additional inputs (or outputs) of the same type can be specified by defining the #### Output configuration examples: +{{< keep-url >}} ```toml [[outputs.influxdb]] urls = [ "http://localhost:8086" ] diff --git a/content/telegraf/v1.12/administration/configuration.md b/content/telegraf/v1.12/administration/configuration.md index de90faf06..dfb89e3e8 100644 --- a/content/telegraf/v1.12/administration/configuration.md +++ b/content/telegraf/v1.12/administration/configuration.md @@ -73,7 +73,7 @@ Each plugin will sleep for a random time within jitter before collecting. This can be used to avoid many plugins querying things like sysfs at the same time, which can have a measurable effect on the system. * **flush_interval**: Default data flushing interval for all outputs. -You should not set this below `interval`. +You should not set this below `interval`. Maximum `flush_interval` will be `flush_interval` + `flush_jitter` * **flush_jitter**: Jitter the flush interval by a random amount. This is primarily to avoid @@ -322,6 +322,7 @@ Additional inputs (or outputs) of the same type can be specified by defining the #### Output configuration examples: +{{< keep-url >}} ```toml [[outputs.influxdb]] urls = [ "http://localhost:8086" ] diff --git a/content/telegraf/v1.13/administration/configuration.md b/content/telegraf/v1.13/administration/configuration.md index 636aaa1f2..ef907d69a 100644 --- a/content/telegraf/v1.13/administration/configuration.md +++ b/content/telegraf/v1.13/administration/configuration.md @@ -41,7 +41,7 @@ configuration files. ## Set environment variables Add environment variables anywhere in the configuration file by prepending them with `$`. -For strings, variables must be in quotes (for example, `"$STR_VAR"`). +For strings, variables must be in quotes (for example, `"$STR_VAR"`). For numbers and Booleans, variables must be unquoted (for example, `$INT_VAR`, `$BOOL_VAR`). You can also set environment variables using the Linux `export` command: `export password=mypassword` @@ -52,6 +52,7 @@ You can also set environment variables using the Linux `export` command: `export In the Telegraf environment variables file (`/etc/default/telegraf`): +{{< keep-url >}} ```sh USER="alice" INFLUX_URL="http://localhost:8086" @@ -75,6 +76,7 @@ In the Telegraf configuration file (`/etc/telegraf.conf`): The environment variables above add the following configuration settings to Telegraf: +{{< keep-url >}} ```sh [global_tags] user = "alice" @@ -361,6 +363,7 @@ Additional inputs (or outputs) of the same type can be specified by defining the #### Output configuration examples: +{{< keep-url >}} ```toml [[outputs.influxdb]] urls = [ "http://localhost:8086" ] diff --git a/content/telegraf/v1.14/administration/configuration.md b/content/telegraf/v1.14/administration/configuration.md index 73843bbf2..139a3a147 100644 --- a/content/telegraf/v1.14/administration/configuration.md +++ b/content/telegraf/v1.14/administration/configuration.md @@ -42,7 +42,7 @@ configuration files. ## Set environment variables Add environment variables anywhere in the configuration file by prepending them with `$`. -For strings, variables must be in quotes (for example, `"$STR_VAR"`). +For strings, variables must be in quotes (for example, `"$STR_VAR"`). For numbers and Booleans, variables must be unquoted (for example, `$INT_VAR`, `$BOOL_VAR`). You can also set environment variables using the Linux `export` command: `export password=mypassword` @@ -53,6 +53,7 @@ You can also set environment variables using the Linux `export` command: `export In the Telegraf environment variables file (`/etc/default/telegraf`): +{{< keep-url >}} ```sh USER="alice" INFLUX_URL="http://localhost:8086" @@ -76,6 +77,7 @@ In the Telegraf configuration file (`/etc/telegraf.conf`): The environment variables above add the following configuration settings to Telegraf: +{{< keep-url >}} ```sh [global_tags] user = "alice" @@ -361,6 +363,7 @@ Additional inputs (or outputs) of the same type can be specified by defining the #### Output configuration examples: +{{< keep-url >}} ```toml [[outputs.influxdb]] urls = [ "http://localhost:8086" ] diff --git a/content/telegraf/v1.15/administration/configuration.md b/content/telegraf/v1.15/administration/configuration.md index e814dcdb4..522ddf433 100644 --- a/content/telegraf/v1.15/administration/configuration.md +++ b/content/telegraf/v1.15/administration/configuration.md @@ -53,6 +53,7 @@ You can also set environment variables using the Linux `export` command: `export In the Telegraf environment variables file (`/etc/default/telegraf`): +{{< keep-url >}} ```sh USER="alice" INFLUX_URL="http://localhost:8086" @@ -76,6 +77,7 @@ In the Telegraf configuration file (`/etc/telegraf.conf`): The environment variables above add the following configuration settings to Telegraf: +{{< keep-url >}} ```sh [global_tags] user = "alice" @@ -362,6 +364,7 @@ Additional inputs (or outputs) of the same type can be specified by defining the #### Output configuration examples: +{{< keep-url >}} ```toml [[outputs.influxdb]] urls = [ "http://localhost:8086" ] diff --git a/content/telegraf/v1.9/administration/configuration.md b/content/telegraf/v1.9/administration/configuration.md index ce3c6836c..8f72df62f 100644 --- a/content/telegraf/v1.9/administration/configuration.md +++ b/content/telegraf/v1.9/administration/configuration.md @@ -322,6 +322,7 @@ Additional inputs (or outputs) of the same type can be specified by defining the #### Output configuration examples: +{{< keep-url >}} ```toml [[outputs.influxdb]] urls = [ "http://localhost:8086" ] diff --git a/data/influxdb_urls.yml b/data/influxdb_urls.yml index c98acdd9c..eb8978ea2 100644 --- a/data/influxdb_urls.yml +++ b/data/influxdb_urls.yml @@ -1,5 +1,5 @@ oss: - product: InfluxDB OSS + product: InfluxDB v2 OSS providers: - name: Default regions: diff --git a/data/versions.yaml b/data/versions.yaml deleted file mode 100644 index 0c28bd5ba..000000000 --- a/data/versions.yaml +++ /dev/null @@ -1 +0,0 @@ -stable_version: v2.0 diff --git a/layouts/partials/footer/influxdb-url-modal.html b/layouts/partials/footer/influxdb-url-modal.html index e66466b5c..9526e128b 100644 --- a/layouts/partials/footer/influxdb-url-modal.html +++ b/layouts/partials/footer/influxdb-url-modal.html @@ -1,4 +1,4 @@ -{{ $currentVersion := (index (findRE "[^/]+.*?" .RelPermalink) 0) .RelPermalink | default "v2.0" }} +{{ $latestInfluxDBVersion := index (last 1 $.Site.Data.products.influxdb.versions) 0 }} From e130607357d398e33a5154165db112ea233c5d3b Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 4 Sep 2020 11:45:18 -0600 Subject: [PATCH 2/6] 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 052be1845..7c3a74e79 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 4b8b7618d..552295a21 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 2c973a316..9bfb32aa0 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 39295ff78..33981510c 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 21a45b055..7be1d5e90 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 a27d78a0b..fa424e71a 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 93d95659d..18821e2e2 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 37de701f8..36a9b8508 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 be5184667..f4727a7ef 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 ba32594e0..9ea85ccea 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 f19cc0032..e95e683a6 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 b83547c79..94f10b500 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 2f45aee29..820e1aeb1 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 0a680d6aa..ad5ec36cc 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 e864039e3..406979419 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 98c525efa..22ca90286 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 2b11b2dfb..f03daec5f 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 3e564f8db..17034f8ee 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 7083285f2..17c09afd1 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 6078502d9..00cc7839d 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 11fd66ae5..953b2f2a4 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 e20b0d09e..5aeadb91e 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 03232204a..128926178 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 42af166b7..44a05b7d5 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 21e7c9568..8d5ebed0d 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 182718992..30d74e2b6 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 688144ae4..ae68cfaa5 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 d1cefa421..32e531368 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 56d349f69..bd7f4dea6 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 286794a11..87e434a00 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 d0a53650e..39563f65e 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 9fd403c67..04b60b620 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 4014a888a..9376b38ff 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 d8f13d95c..68c20e1f7 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 0714618bd..aff1e8e3a 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 7971189e8..a11fc7c7c 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 0673c2c08..117f0d52b 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 a9b59ec40..3209e0205 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 6aafe65e0..dca687e35 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 420751b63..100975b76 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 4e6fcadcc..83993ba04 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 619faadc8..61739707c 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 5fadf0569..a0ff925e1 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 a39b31ab2..d7830bc8a 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 e487f2355..bfea802b4 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 db0e0b3af..113f12816 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 f8f193ea1..1169ecb5e 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 44625825a..c4e55b0a9 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 fbe694282..3e288e0db 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 16d663d9b..c09c8ca59 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 085f20cfb..e5038df10 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 97c2f4900..7fc227446 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 3f3a71a82..057959f2f 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 2617ed7cb..58aeb7816 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 302787694..8fc5c556c 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 a6eafd875..b94ca14c3 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 ad5cd7d81..e86f21e12 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 1c189581e..c6e776013 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 b0cbe2a1c..b5b88ca00 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 a862c9903..e821267ed 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 5564be157..bd1264496 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 913d7b58b..c2b419c28 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 094f8c867..fcc21589a 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 459fb2eae..b9ef31b1c 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 92808c41a..2a4f977d8 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 f3bf39800..1aafe5d77 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 d24e772fd..33e8ad62e 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 b72f26676..58bb6602b 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 d745801ca..4f7d0c942 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 9c7916817..7a38c6707 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 76a585903..31f41e3a1 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 8f330a9c6..a06ec87d8 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 69276c650..a3565afe7 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 9a8ea878e..21e4af28a 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 3c40ff1c3..7fc4df543 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 80c993fbc..5b9130da9 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 ac5e4387e..81f743e22 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 2c5dd50ad..b0501cccc 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 b7df11ac3..062fe47b3 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 5c0c2f5f7..64122ebb7 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 81110e502..433f33049 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 dbf568e25..fbffd9157 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 cabeb0151..f7b05f8f2 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 1e43f0909..5fb2a0bc1 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 eb8978ea2..3d62337c2 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 From 7dde55ff0835f9e334a300489b80e263c58cc382 Mon Sep 17 00:00:00 2001 From: Kelly Date: Fri, 4 Sep 2020 11:04:55 -0700 Subject: [PATCH 3/6] add spaces after 9999 ports to highlight --- CONTRIBUTING.md | 8 ++++---- data/telegraf_plugins.yml | 2 +- layouts/shortcodes/cli/influxd-flags.md | 2 +- static/downloads/air-sensor-data.rb | 4 ++-- static/downloads/influxdb-k8-minikube.yaml | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 177a4a422..93c3bfbb3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -649,7 +649,7 @@ When a user selects an InfluxDB product and region, example URLs in code blocks throughout the documentation are updated to match their product and region. InfluxDB URLs are configured in `/data/influxdb_urls.yml`. -By default, the InfluxDB URL replaced inside of code blocks is `http://localhost:9999`. +By default, the InfluxDB URL replaced inside of code blocks is `http://localhost:9999`. Use this URL in all code examples that should be updated with a selected provider and region. For example: @@ -657,14 +657,14 @@ For example: ~~~ ```sh # This URL will get updated -http://localhost:9999 +http://localhost:9999 # This URL will NOT get updated http://example.com ``` ~~~ -If the user selects the **US West (Oregon)** region, all occurrences of `http://localhost:9999` +If the user selects the **US West (Oregon)** region, all occurrences of `http://localhost:9999` in code blocks will get updated to `https://us-west-2-1.aws.cloud2.influxdata.com`. ### Exempt URLs from getting updated @@ -675,7 +675,7 @@ just before the code block. {{< keep-url >}} ``` // This URL won't get updated -http://localhost:9999 +http://localhost:9999 ``` ~~~ diff --git a/data/telegraf_plugins.yml b/data/telegraf_plugins.yml index f7dcb6075..25d83d561 100644 --- a/data/telegraf_plugins.yml +++ b/data/telegraf_plugins.yml @@ -613,7 +613,7 @@ input: ```toml [[inputs.prometheus]] ## An array of urls to scrape metrics from. - urls = ["http://localhost:9999/metrics"] + urls = ["http://localhost:9999/metrics"] ``` introduced: 1.8.0 diff --git a/layouts/shortcodes/cli/influxd-flags.md b/layouts/shortcodes/cli/influxd-flags.md index af210a1a9..4f7152843 100644 --- a/layouts/shortcodes/cli/influxd-flags.md +++ b/layouts/shortcodes/cli/influxd-flags.md @@ -5,7 +5,7 @@ | | `--e2e-testing` | Add /debug/flush endpoint to clear stores; used for end-to-end tests (default `false`) | | `INFLUXD_E2E_TESTING` | | | `--engine-path` | Path to persistent engine files (default `~/.influxdbv2/engine`) | string | `INFLUXD_ENGINE_PATH` | | `-h` | `--help` | Help for the `influxd` command | | | -| | `--http-bind-address` | Bind address for the REST HTTP API (default `:9999`) | string | `INFLUXD_HTTP_BIND_ADDRESS` | +| | `--http-bind-address` | Bind address for the REST HTTP API (default `:9999`) | string | `INFLUXD_HTTP_BIND_ADDRESS` | | | `--log-level` | Supported log levels are debug, info, and error (default `info`) | string | `INFLUXD_LOG_LEVEL` | | | `--new-meta-store` | Enables the new meta store | | `INFLUXD_NEW_META_STORE` | | | `--new-meta-store-read-only` | Toggle read-only mode for the new meta store and duplicate reads between old and new store (default `true`) | | `INFLUXD_NEW_META_STORE_READ_ONLY` | diff --git a/static/downloads/air-sensor-data.rb b/static/downloads/air-sensor-data.rb index 70fd9136f..caaa44083 100755 --- a/static/downloads/air-sensor-data.rb +++ b/static/downloads/air-sensor-data.rb @@ -8,7 +8,7 @@ require "uri" options = { protocol: "http", host: "localhost", - port: "9999", + port: "9999", interval: 5 } @@ -31,7 +31,7 @@ OptionParser.new do |opt| options[:host] = host end - opt.on("-p","--port port","Your InfluxDB port. Defaults to '9999'") do |port| + opt.on("-p","--port port","Your InfluxDB port. Defaults to '9999'") do |port| options[:port] = port end diff --git a/static/downloads/influxdb-k8-minikube.yaml b/static/downloads/influxdb-k8-minikube.yaml index 42f1c2698..4c5444eb9 100644 --- a/static/downloads/influxdb-k8-minikube.yaml +++ b/static/downloads/influxdb-k8-minikube.yaml @@ -26,7 +26,7 @@ spec: - image: quay.io/influxdb/influxdb:2.0.0-beta name: influxdb ports: - - containerPort: 9999 + - containerPort: 9999 name: influxdb volumeMounts: - mountPath: /root/.influxdbv2 @@ -50,8 +50,8 @@ metadata: spec: ports: - name: influxdb - port: 9999 - targetPort: 9999 + port: 9999 + targetPort: 9999 selector: app: influxdb type: ClusterIP From c5aba47c097993be0bf500b214821f8103b85712 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 4 Sep 2020 12:26:51 -0600 Subject: [PATCH 4/6] updated more default ports --- CONTRIBUTING.md | 8 ++++---- data/telegraf_plugins.yml | 2 +- layouts/shortcodes/cli/influxd-flags.md | 2 +- static/downloads/air-sensor-data.rb | 4 ++-- static/downloads/influxdb-k8-minikube.yaml | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 177a4a422..eb5112fc9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -649,7 +649,7 @@ When a user selects an InfluxDB product and region, example URLs in code blocks throughout the documentation are updated to match their product and region. InfluxDB URLs are configured in `/data/influxdb_urls.yml`. -By default, the InfluxDB URL replaced inside of code blocks is `http://localhost:9999`. +By default, the InfluxDB URL replaced inside of code blocks is `http://localhost:8086`. Use this URL in all code examples that should be updated with a selected provider and region. For example: @@ -657,14 +657,14 @@ For example: ~~~ ```sh # This URL will get updated -http://localhost:9999 +http://localhost:8086 # This URL will NOT get updated http://example.com ``` ~~~ -If the user selects the **US West (Oregon)** region, all occurrences of `http://localhost:9999` +If the user selects the **US West (Oregon)** region, all occurrences of `http://localhost:8086` in code blocks will get updated to `https://us-west-2-1.aws.cloud2.influxdata.com`. ### Exempt URLs from getting updated @@ -675,7 +675,7 @@ just before the code block. {{< keep-url >}} ``` // This URL won't get updated -http://localhost:9999 +http://localhost:8086 ``` ~~~ diff --git a/data/telegraf_plugins.yml b/data/telegraf_plugins.yml index f7dcb6075..1c07cf383 100644 --- a/data/telegraf_plugins.yml +++ b/data/telegraf_plugins.yml @@ -613,7 +613,7 @@ input: ```toml [[inputs.prometheus]] ## An array of urls to scrape metrics from. - urls = ["http://localhost:9999/metrics"] + urls = ["http://localhost:8086/metrics"] ``` introduced: 1.8.0 diff --git a/layouts/shortcodes/cli/influxd-flags.md b/layouts/shortcodes/cli/influxd-flags.md index af210a1a9..9c52efb51 100644 --- a/layouts/shortcodes/cli/influxd-flags.md +++ b/layouts/shortcodes/cli/influxd-flags.md @@ -5,7 +5,7 @@ | | `--e2e-testing` | Add /debug/flush endpoint to clear stores; used for end-to-end tests (default `false`) | | `INFLUXD_E2E_TESTING` | | | `--engine-path` | Path to persistent engine files (default `~/.influxdbv2/engine`) | string | `INFLUXD_ENGINE_PATH` | | `-h` | `--help` | Help for the `influxd` command | | | -| | `--http-bind-address` | Bind address for the REST HTTP API (default `:9999`) | string | `INFLUXD_HTTP_BIND_ADDRESS` | +| | `--http-bind-address` | Bind address for the REST HTTP API (default `:8086`) | string | `INFLUXD_HTTP_BIND_ADDRESS` | | | `--log-level` | Supported log levels are debug, info, and error (default `info`) | string | `INFLUXD_LOG_LEVEL` | | | `--new-meta-store` | Enables the new meta store | | `INFLUXD_NEW_META_STORE` | | | `--new-meta-store-read-only` | Toggle read-only mode for the new meta store and duplicate reads between old and new store (default `true`) | | `INFLUXD_NEW_META_STORE_READ_ONLY` | diff --git a/static/downloads/air-sensor-data.rb b/static/downloads/air-sensor-data.rb index 70fd9136f..13fced823 100755 --- a/static/downloads/air-sensor-data.rb +++ b/static/downloads/air-sensor-data.rb @@ -8,7 +8,7 @@ require "uri" options = { protocol: "http", host: "localhost", - port: "9999", + port: "8086", interval: 5 } @@ -31,7 +31,7 @@ OptionParser.new do |opt| options[:host] = host end - opt.on("-p","--port port","Your InfluxDB port. Defaults to '9999'") do |port| + opt.on("-p","--port port","Your InfluxDB port. Defaults to '8086'") do |port| options[:port] = port end diff --git a/static/downloads/influxdb-k8-minikube.yaml b/static/downloads/influxdb-k8-minikube.yaml index 42f1c2698..91d51f601 100644 --- a/static/downloads/influxdb-k8-minikube.yaml +++ b/static/downloads/influxdb-k8-minikube.yaml @@ -26,7 +26,7 @@ spec: - image: quay.io/influxdb/influxdb:2.0.0-beta name: influxdb ports: - - containerPort: 9999 + - containerPort: 8086 name: influxdb volumeMounts: - mountPath: /root/.influxdbv2 @@ -50,8 +50,8 @@ metadata: spec: ports: - name: influxdb - port: 9999 - targetPort: 9999 + port: 8086 + targetPort: 8086 selector: app: influxdb type: ClusterIP From 463b8021b05f9aa55b08365be79f0f73b72bf8a0 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 8 Sep 2020 10:32:50 -0600 Subject: [PATCH 5/6] removed v2 from influxdb url modal per PR feedback --- layouts/partials/footer/influxdb-url-modal.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/footer/influxdb-url-modal.html b/layouts/partials/footer/influxdb-url-modal.html index 9526e128b..0b9c7532c 100644 --- a/layouts/partials/footer/influxdb-url-modal.html +++ b/layouts/partials/footer/influxdb-url-modal.html @@ -6,7 +6,7 @@