diff --git a/assets/styles/layouts/article/_tags.scss b/assets/styles/layouts/article/_tags.scss index 26c305367..87f796268 100644 --- a/assets/styles/layouts/article/_tags.scss +++ b/assets/styles/layouts/article/_tags.scss @@ -11,7 +11,7 @@ padding: .35rem .6rem; font-style: italic; font-weight: $medium; - color: rgba($article-text, .75); + color: rgba($article-text, .75) !important; font-size: .8rem; border-radius: 1rem; @@ -21,7 +21,7 @@ } &:hover { - color: $g20-white; + color: $g20-white !important; } } } diff --git a/content/influxdb/v2.0/account-management/pricing-plans.md b/content/influxdb/v2.0/account-management/pricing-plans.md index ad5312a73..86e6f897f 100644 --- a/content/influxdb/v2.0/account-management/pricing-plans.md +++ b/content/influxdb/v2.0/account-management/pricing-plans.md @@ -13,7 +13,7 @@ menu: parent: Account management name: Pricing plans products: [cloud] -v2.0/tags: [VPC] +influxdb/v2.0/tags: [VPC] --- InfluxDB Cloud 2.0 offers two pricing plans: diff --git a/content/v2.0/monitor-alert/templates/_index.md b/content/influxdb/v2.0/monitor-alert/templates/_index.md similarity index 88% rename from content/v2.0/monitor-alert/templates/_index.md rename to content/influxdb/v2.0/monitor-alert/templates/_index.md index 6bdfb96e1..dbb8b7435 100644 --- a/content/v2.0/monitor-alert/templates/_index.md +++ b/content/influxdb/v2.0/monitor-alert/templates/_index.md @@ -3,10 +3,10 @@ title: Monitor with templates description: > Use community templates to monitor data in many supported environments. Monitor infrastructure, networking, IoT, software, security, TICK stack, and more. menu: - v2_0: + influxdb_2_0: parent: Monitor & alert weight: 104 -v2.0/tags: [monitor, templates] +influxdb/v2.0/tags: [monitor, templates] --- Use one of our community templates to quickly set up InfluxDB (with a bucket and dashboard) to collect, analyze, and monitor data in supported environments. diff --git a/content/v2.0/monitor-alert/templates/infrastructure/_index.md b/content/influxdb/v2.0/monitor-alert/templates/infrastructure/_index.md similarity index 85% rename from content/v2.0/monitor-alert/templates/infrastructure/_index.md rename to content/influxdb/v2.0/monitor-alert/templates/infrastructure/_index.md index 55fe716cd..8262f3e88 100644 --- a/content/v2.0/monitor-alert/templates/infrastructure/_index.md +++ b/content/influxdb/v2.0/monitor-alert/templates/infrastructure/_index.md @@ -3,10 +3,10 @@ title: Monitor infrastructure description: > Use one of our community templates to quickly set up InfluxDB (with a bucket and dashboard) to collect, analyze, and monitor your infrastructure. menu: - v2_0: + influxdb_2_0: parent: Monitor with templates weight: 104 -v2.0/tags: [monitor, templates, infrastructure] +influxdb/v2.0/tags: [monitor, templates, infrastructure] --- Use one of our community templates to quickly set up InfluxDB (with a bucket and dashboard) to collect, analyze, and monitor your infrastructure. diff --git a/content/v2.0/monitor-alert/templates/infrastructure/aws.md b/content/influxdb/v2.0/monitor-alert/templates/infrastructure/aws.md similarity index 99% rename from content/v2.0/monitor-alert/templates/infrastructure/aws.md rename to content/influxdb/v2.0/monitor-alert/templates/infrastructure/aws.md index e4034ff61..fa5cfbe23 100644 --- a/content/v2.0/monitor-alert/templates/infrastructure/aws.md +++ b/content/influxdb/v2.0/monitor-alert/templates/infrastructure/aws.md @@ -3,7 +3,7 @@ title: Monitor Amazon Web Services (AWS) description: > Use the [AWS CloudWatch Monitoring template](https://github.com/influxdata/community-templates/tree/master/aws_cloudwatch) to monitor data from Amazon Web Services (AWS), Amazon Elastic Compute Cloud (EC2), and Amazon Elastic Load Balancing (ELB) with the AWS CloudWatch Service. menu: - v2_0: + influxdb_2_0: parent: Monitor infrastructure name: AWS CloudWatch weight: 201 diff --git a/content/v2.0/monitor-alert/templates/infrastructure/docker.md b/content/influxdb/v2.0/monitor-alert/templates/infrastructure/docker.md similarity index 99% rename from content/v2.0/monitor-alert/templates/infrastructure/docker.md rename to content/influxdb/v2.0/monitor-alert/templates/infrastructure/docker.md index f0e2db581..8bb882870 100644 --- a/content/v2.0/monitor-alert/templates/infrastructure/docker.md +++ b/content/influxdb/v2.0/monitor-alert/templates/infrastructure/docker.md @@ -3,7 +3,7 @@ title: Monitor Docker description: > Use the [Docker Monitoring template](https://github.com/influxdata/community-templates/tree/master/docker) to monitor your Docker containers. menu: - v2_0: + influxdb_2_0: parent: Monitor infrastructure name: Docker weight: 202 diff --git a/content/v2.0/monitor-alert/templates/infrastructure/vshpere.md b/content/influxdb/v2.0/monitor-alert/templates/infrastructure/vshpere.md similarity index 99% rename from content/v2.0/monitor-alert/templates/infrastructure/vshpere.md rename to content/influxdb/v2.0/monitor-alert/templates/infrastructure/vshpere.md index 8402ad73f..564e953be 100644 --- a/content/v2.0/monitor-alert/templates/infrastructure/vshpere.md +++ b/content/influxdb/v2.0/monitor-alert/templates/infrastructure/vshpere.md @@ -3,7 +3,7 @@ title: Monitor vSphere description: > Use the [vSphere Dashboard for InfluxDB v2 template](https://github.com/influxdata/community-templates/tree/master/vsphere) to monitor your vSphere host. menu: - v2_0: + influxdb_2_0: parent: Monitor infrastructure name: vSphere weight: 206 diff --git a/content/v2.0/monitor-alert/templates/infrastructure/windows.md b/content/influxdb/v2.0/monitor-alert/templates/infrastructure/windows.md similarity index 99% rename from content/v2.0/monitor-alert/templates/infrastructure/windows.md rename to content/influxdb/v2.0/monitor-alert/templates/infrastructure/windows.md index 39420b12e..d1b461125 100644 --- a/content/v2.0/monitor-alert/templates/infrastructure/windows.md +++ b/content/influxdb/v2.0/monitor-alert/templates/infrastructure/windows.md @@ -3,7 +3,7 @@ title: Monitor Windows description: > Use the [Windows System Monitoring template](https://github.com/influxdata/community-templates/tree/master/windows_system) to monitor your Windows system. menu: - v2_0: + influxdb_2_0: parent: Monitor infrastructure name: Windows weight: 207 diff --git a/content/v2.0/monitor-alert/templates/networks/_index.md b/content/influxdb/v2.0/monitor-alert/templates/networks/_index.md similarity index 80% rename from content/v2.0/monitor-alert/templates/networks/_index.md rename to content/influxdb/v2.0/monitor-alert/templates/networks/_index.md index a686d16e8..f08a0fa3a 100644 --- a/content/v2.0/monitor-alert/templates/networks/_index.md +++ b/content/influxdb/v2.0/monitor-alert/templates/networks/_index.md @@ -3,10 +3,10 @@ title: Monitor networks description: > Use one of our community templates to quickly set up InfluxDB (with a bucket and dashboard) to collect, analyze, and monitor your networks. menu: - v2_0: + influxdb_2_0: parent: Monitor with templates weight: 104 -v2.0/tags: [monitor, templates, networks, networking] +influxdb/v2.0/tags: [monitor, templates, networks, networking] --- Use one of our community templates to quickly set up InfluxDB (with a bucket and dashboard) to collect, analyze, and monitor your networks. diff --git a/content/v2.0/monitor-alert/templates/networks/haproxy.md b/content/influxdb/v2.0/monitor-alert/templates/networks/haproxy.md similarity index 99% rename from content/v2.0/monitor-alert/templates/networks/haproxy.md rename to content/influxdb/v2.0/monitor-alert/templates/networks/haproxy.md index 3c5d473d5..1d4ac217f 100644 --- a/content/v2.0/monitor-alert/templates/networks/haproxy.md +++ b/content/influxdb/v2.0/monitor-alert/templates/networks/haproxy.md @@ -3,7 +3,7 @@ title: Monitor HAProxy description: > Use the [HAProxy for InfluxDB v2 template](https://github.com/influxdata/community-templates/tree/master/haproxy) to monitor your HAProxy instance. menu: - v2_0: + influxdb_2_0: parent: Monitor networks name: HAproxy weight: 201 diff --git a/content/influxdb/v2.0/query-data/influxql.md b/content/influxdb/v2.0/query-data/influxql.md index 5d15df203..19550c4ba 100644 --- a/content/influxdb/v2.0/query-data/influxql.md +++ b/content/influxdb/v2.0/query-data/influxql.md @@ -3,7 +3,7 @@ title: Query data with InfluxQL description: > Use the [InfluxDB 1.x `/query` compatibility endpoint](/v2.0/reference/api/influxdb-1x/query) to query data in InfluxDB 2.0 with **InfluxQL**. -weight: 10 +weight: 102 aliases: - /v2.0/query-data/influxql/ influxdb/v2.0/tags: [influxql, query] 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 1436977d2..b47ccdb0d 100644 --- a/content/influxdb/v2.0/reference/api/client-libraries/go.md +++ b/content/influxdb/v2.0/reference/api/client-libraries/go.md @@ -8,7 +8,7 @@ menu: influxdb_2_0_ref: name: Go parent: Client libraries -v2.0/tags: [client libraries, Go] +influxdb/v2.0/tags: [client libraries, Go] weight: 201 --- diff --git a/content/influxdb/v2.0/reference/api/client-libraries/js.md b/content/influxdb/v2.0/reference/api/client-libraries/js.md index 3e0d46e68..ebd1febd6 100644 --- a/content/influxdb/v2.0/reference/api/client-libraries/js.md +++ b/content/influxdb/v2.0/reference/api/client-libraries/js.md @@ -8,7 +8,7 @@ menu: influxdb_2_0_ref: name: JavaScript parent: Client libraries -v2.0/tags: [client libraries, JavaScript] +influxdb/v2.0/tags: [client libraries, JavaScript] weight: 201 --- diff --git a/content/v2.0/reference/cli/influx/dashboards/_index.md b/content/influxdb/v2.0/reference/cli/influx/dashboards/_index.md similarity index 97% rename from content/v2.0/reference/cli/influx/dashboards/_index.md rename to content/influxdb/v2.0/reference/cli/influx/dashboards/_index.md index 651affe23..4064e1a86 100644 --- a/content/v2.0/reference/cli/influx/dashboards/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/dashboards/_index.md @@ -3,11 +3,11 @@ title: influx dashboards description: > The `influx dashboards` command lists existing InfluxDB dashboards. menu: - v2_0_ref: + influxdb_2_0_ref: name: influx dashboards parent: influx weight: 101 -v2.0/tags: [telegraf] +influxdb/v2.0/tags: [telegraf] --- The `influx dashboards` command lists existing InfluxDB dashboards. diff --git a/content/v2.0/reference/flux/stdlib/contrib/influxdb/_index.md b/content/influxdb/v2.0/reference/flux/stdlib/contrib/influxdb/_index.md similarity index 91% rename from content/v2.0/reference/flux/stdlib/contrib/influxdb/_index.md rename to content/influxdb/v2.0/reference/flux/stdlib/contrib/influxdb/_index.md index 6e26e0a5f..c5c74f8e7 100644 --- a/content/v2.0/reference/flux/stdlib/contrib/influxdb/_index.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/contrib/influxdb/_index.md @@ -5,12 +5,12 @@ description: > The Flux InfluxDB package provides additional functions for querying data from InfluxDB. Import the `contrib/jsternberg/influxdb` package. menu: - v2_0_ref: + influxdb_2_0_ref: name: InfluxDB identifier: contrib_influxdb parent: Contributed weight: 202 -v2.0/tags: [functions, package, query] +influxdb/v2.0/tags: [functions, package, query] --- The Flux InfluxDB package provides additional functions for querying data from InfluxDB. diff --git a/content/v2.0/reference/flux/stdlib/contrib/influxdb/select.md b/content/influxdb/v2.0/reference/flux/stdlib/contrib/influxdb/select.md similarity index 91% rename from content/v2.0/reference/flux/stdlib/contrib/influxdb/select.md rename to content/influxdb/v2.0/reference/flux/stdlib/contrib/influxdb/select.md index 9016b478d..b67dd1857 100644 --- a/content/v2.0/reference/flux/stdlib/contrib/influxdb/select.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/contrib/influxdb/select.md @@ -5,17 +5,17 @@ description: > and `pivot()` that returns pivoted query results and masks the `_start` and `_stop` column Results are similar to those returned by InfluxQL `SELECT` statements. menu: - v2_0_ref: + influxdb_2_0_ref: name: influxdb.select parent: contrib_influxdb weight: 202 -v2.0/tags: [functions, package, query] +influxdb/v2.0/tags: [functions, package, query] related: - - /v2.0/reference/flux/stdlib/built-in/inputs/from/ - - /v2.0/reference/flux/stdlib/built-in/transformations/range/ - - /v2.0/reference/flux/stdlib/built-in/transformations/filter/ - - /v2.0/reference/flux/stdlib/influxdb-v1/fieldsascols/ - - /v2.0/reference/flux/stdlib/built-in/transformations/pivot/ + - /influxdb/v2.0/reference/flux/stdlib/built-in/inputs/from/ + - /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/range/ + - /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/filter/ + - /influxdb/v2.0/reference/flux/stdlib/influxdb-v1/fieldsascols/ + - /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/pivot/ --- The `influxdb.select()` function is an alternate implementation of `from()`, `range()`, `filter()` diff --git a/content/v2.0/reference/flux/stdlib/contrib/rows/_index.md b/content/influxdb/v2.0/reference/flux/stdlib/contrib/rows/_index.md similarity index 91% rename from content/v2.0/reference/flux/stdlib/contrib/rows/_index.md rename to content/influxdb/v2.0/reference/flux/stdlib/contrib/rows/_index.md index 595d7cf9a..5b1b7d638 100644 --- a/content/v2.0/reference/flux/stdlib/contrib/rows/_index.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/contrib/rows/_index.md @@ -5,11 +5,11 @@ description: > The Flux Rows package provides additional functions for remapping values in rows. Import the `contrib/jsternberg/rows` package. menu: - v2_0_ref: + influxdb_2_0_ref: name: Rows parent: Contributed weight: 202 -v2.0/tags: [functions, package] +influxdb/v2.0/tags: [functions, package] --- The Flux Rows package provides additional functions for remapping values in rows. diff --git a/content/v2.0/reference/flux/stdlib/contrib/rows/map.md b/content/influxdb/v2.0/reference/flux/stdlib/contrib/rows/map.md similarity index 97% rename from content/v2.0/reference/flux/stdlib/contrib/rows/map.md rename to content/influxdb/v2.0/reference/flux/stdlib/contrib/rows/map.md index 131b87789..74da813aa 100644 --- a/content/v2.0/reference/flux/stdlib/contrib/rows/map.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/contrib/rows/map.md @@ -4,13 +4,13 @@ description: > The `rows.map()` function is an alternate implementation of [`map()`](/v2.0/reference/flux/stdlib/built-in/transformations/map/) that is faster, but more limited than `map()`. menu: - v2_0_ref: + influxdb_2_0_ref: name: rows.map parent: Rows weight: 202 -v2.0/tags: [functions, package, map] +influxdb/v2.0/tags: [functions, package, map] related: - - /v2.0/reference/flux/stdlib/built-in/transformations/map/ + - /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/map/ --- The `rows.map()` function is an alternate implementation of [`map()`](/v2.0/reference/flux/stdlib/built-in/transformations/map/) diff --git a/content/v2.0/reference/flux/stdlib/experimental/array/_index.md b/content/influxdb/v2.0/reference/flux/stdlib/experimental/array/_index.md similarity index 86% rename from content/v2.0/reference/flux/stdlib/experimental/array/_index.md rename to content/influxdb/v2.0/reference/flux/stdlib/experimental/array/_index.md index 56b73c88d..9fcc3b397 100644 --- a/content/v2.0/reference/flux/stdlib/experimental/array/_index.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/experimental/array/_index.md @@ -5,11 +5,11 @@ description: > The Flux Array package provides functions for building tables from Flux arrays. Import the `experimental/array` package. menu: - v2_0_ref: + influxdb_2_0_ref: name: Array parent: Experimental weight: 301 -v2.0/tags: [functions, array, package, table] +influxdb/v2.0/tags: [functions, array, package, table] --- Flux Array functions provide tools for building tables from Flux arrays. diff --git a/content/v2.0/reference/flux/stdlib/experimental/array/from.md b/content/influxdb/v2.0/reference/flux/stdlib/experimental/array/from.md similarity index 98% rename from content/v2.0/reference/flux/stdlib/experimental/array/from.md rename to content/influxdb/v2.0/reference/flux/stdlib/experimental/array/from.md index e3a8e29e3..82fcca4a9 100644 --- a/content/v2.0/reference/flux/stdlib/experimental/array/from.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/experimental/array/from.md @@ -3,7 +3,7 @@ title: array.from() function description: > The experimental `array.from()` function constructs a table from an array of records. menu: - v2_0_ref: + influxdb_2_0_ref: name: array.from parent: Array weight: 401 diff --git a/content/v2.0/reference/flux/stdlib/experimental/geo/s2celllatlon.md b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/s2celllatlon.md similarity index 85% rename from content/v2.0/reference/flux/stdlib/experimental/geo/s2celllatlon.md rename to content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/s2celllatlon.md index 0593a5bfb..4433de370 100644 --- a/content/v2.0/reference/flux/stdlib/experimental/geo/s2celllatlon.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/s2celllatlon.md @@ -4,13 +4,13 @@ description: > The `geo.s2CellLatLon()` function returns the latitude and longitude of the center of an S2 cell. menu: - v2_0_ref: + influxdb_2_0_ref: name: geo.s2CellLatLon parent: Geo weight: 401 -v2.0/tags: [functions, geo] +influxdb/v2.0/tags: [functions, geo] related: - - /v2.0/query-data/flux/geo/ + - /influxdb/v2.0/query-data/flux/geo/ --- The `geo.s2CellLatLon()` function returns the latitude and longitude of the diff --git a/content/v2.0/reference/flux/stdlib/experimental/geo/st_contains.md b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_contains.md similarity index 94% rename from content/v2.0/reference/flux/stdlib/experimental/geo/st_contains.md rename to content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_contains.md index 04f9e6187..f15396148 100644 --- a/content/v2.0/reference/flux/stdlib/experimental/geo/st_contains.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_contains.md @@ -4,13 +4,13 @@ description: > The `geo.ST_Contains()` function tests if the specified region contains the specified GIS geometry and returns `true` or `false`. menu: - v2_0_ref: + influxdb_2_0_ref: name: geo.ST_Contains parent: Geo weight: 401 -v2.0/tags: [functions, geo, GIS] +influxdb/v2.0/tags: [functions, geo, GIS] related: - - /v2.0/query-data/flux/geo/ + - /influxdb/v2.0/query-data/flux/geo/ --- The `geo.ST_Contains()` function tests if the specified region contains the specified diff --git a/content/v2.0/reference/flux/stdlib/experimental/geo/st_distance.md b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_distance.md similarity index 94% rename from content/v2.0/reference/flux/stdlib/experimental/geo/st_distance.md rename to content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_distance.md index be1918b65..019e2eacd 100644 --- a/content/v2.0/reference/flux/stdlib/experimental/geo/st_distance.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_distance.md @@ -4,13 +4,13 @@ description: > The `geo.ST_Distance()` function returns the distance between the specified region and specified GIS geometry. menu: - v2_0_ref: + influxdb_2_0_ref: name: geo.ST_Distance parent: Geo weight: 401 -v2.0/tags: [functions, geo, GIS] +influxdb/v2.0/tags: [functions, geo, GIS] related: - - /v2.0/query-data/flux/geo/ + - /influxdb/v2.0/query-data/flux/geo/ --- The `geo.ST_Distance()` function returns the distance between the specified region diff --git a/content/v2.0/reference/flux/stdlib/experimental/geo/st_dwithin.md b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_dwithin.md similarity index 94% rename from content/v2.0/reference/flux/stdlib/experimental/geo/st_dwithin.md rename to content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_dwithin.md index 187831403..517c04f21 100644 --- a/content/v2.0/reference/flux/stdlib/experimental/geo/st_dwithin.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_dwithin.md @@ -5,13 +5,13 @@ description: > distance from the specified geographic information system (GIS) geometry and returns `true` or `false`. menu: - v2_0_ref: + influxdb_2_0_ref: name: geo.ST_DWithin parent: Geo weight: 401 -v2.0/tags: [functions, geo, GIS] +influxdb/v2.0/tags: [functions, geo, GIS] related: - - /v2.0/query-data/flux/geo/ + - /influxdb/v2.0/query-data/flux/geo/ --- The `geo.ST_DWithin()` function tests if the specified region is within a defined diff --git a/content/v2.0/reference/flux/stdlib/experimental/geo/st_intersects.md b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_intersects.md similarity index 93% rename from content/v2.0/reference/flux/stdlib/experimental/geo/st_intersects.md rename to content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_intersects.md index fc4a612c3..a3cbcee90 100644 --- a/content/v2.0/reference/flux/stdlib/experimental/geo/st_intersects.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_intersects.md @@ -4,13 +4,13 @@ description: > The `geo.ST_Intersects()` function tests if the specified geographic information system (GIS) geometry intersects with the specified region and returns `true` or `false`. menu: - v2_0_ref: + influxdb_2_0_ref: name: geo.ST_Intersects parent: Geo weight: 401 -v2.0/tags: [functions, geo, GIS] +influxdb/v2.0/tags: [functions, geo, GIS] related: - - /v2.0/query-data/flux/geo/ + - /influxdb/v2.0/query-data/flux/geo/ --- The `geo.ST_Intersects()` function tests if the specified geographic information diff --git a/content/v2.0/reference/flux/stdlib/experimental/geo/st_length.md b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_length.md similarity index 93% rename from content/v2.0/reference/flux/stdlib/experimental/geo/st_length.md rename to content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_length.md index 41f5c233b..053dc079f 100644 --- a/content/v2.0/reference/flux/stdlib/experimental/geo/st_length.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_length.md @@ -4,13 +4,13 @@ description: > The `geo.ST_Length()` function returns the [spherical length or distance](https://mathworld.wolfram.com/SphericalDistance.html) of the specified geographic information system (GIS) geometry. menu: - v2_0_ref: + influxdb_2_0_ref: name: geo.ST_Length parent: Geo weight: 401 -v2.0/tags: [functions, geo, GIS] +influxdb/v2.0/tags: [functions, geo, GIS] related: - - /v2.0/query-data/flux/geo/ + - /influxdb/v2.0/query-data/flux/geo/ --- The `geo.ST_Length()` function returns the [spherical length or distance](https://mathworld.wolfram.com/SphericalDistance.html) diff --git a/content/v2.0/reference/flux/stdlib/experimental/geo/st_linestring.md b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_linestring.md similarity index 94% rename from content/v2.0/reference/flux/stdlib/experimental/geo/st_linestring.md rename to content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_linestring.md index 32d7a6715..5b2383071 100644 --- a/content/v2.0/reference/flux/stdlib/experimental/geo/st_linestring.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/experimental/geo/st_linestring.md @@ -4,13 +4,13 @@ description: > The `geo.ST_LineString()` function converts a series of geographic points into [linestring](/v2.0/reference/flux/stdlib/experimental/geo/#linestring). menu: - v2_0_ref: + influxdb_2_0_ref: name: geo.ST_LineString parent: Geo weight: 401 -v2.0/tags: [functions, geo, GIS] +influxdb/v2.0/tags: [functions, geo, GIS] related: - - /v2.0/query-data/flux/geo/ + - /influxdb/v2.0/query-data/flux/geo/ --- The `geo.ST_LineString()` function converts a series of geographic points into diff --git a/content/influxdb/v2.0/write-data/developer-tools/third-party-solutions.md b/content/influxdb/v2.0/write-data/developer-tools/third-party-solutions.md index 35dec0176..76966082d 100644 --- a/content/influxdb/v2.0/write-data/developer-tools/third-party-solutions.md +++ b/content/influxdb/v2.0/write-data/developer-tools/third-party-solutions.md @@ -7,7 +7,7 @@ description: > Write data to InfluxDB using third-party developer tools. aliases: menu: - v2_0: + influxdb_2_0: name: Third-party developer tools parent: Developer tools --- @@ -48,7 +48,7 @@ The [template](https://influxdata-lambda.s3.amazonaws.com/GeoLambda.yml) contain After a few minutes, the stack deploys to your region. To view the new Lambda, select **Services > AWS Lambda**. On the Lambda functions page, you should see your new Lambda. The `CopyZipsFunction` is the helper copy function, and the `GeoPythonLambda` does the data collection and writing work: -{{< img-hd src="static/img/influxdb/cloudformation1.png" alt="GeoPythonLambda data in InfluxDB" />}} +{{< img-hd src="/img/cloudformation1.png" alt="GeoPythonLambda data in InfluxDB" />}} ### Verify your setup @@ -60,4 +60,4 @@ After a few minutes, the stack deploys to your region. To view the new Lambda, s With the data points written, when you log into your InfluxDB UI, you’ll be able to explore the geolocation earthquake data: -{{< img-hd src="static/img/influxdb/cloudformation2.png" alt="GeoPythonLambda data in InfluxDB" />}} +{{< img-hd src="/img/cloudformation2.png" alt="GeoPythonLambda data in InfluxDB" />}} diff --git a/content/v2.0/write-data/developer-tools/third-party-solutions.md b/content/v2.0/write-data/developer-tools/third-party-solutions.md deleted file mode 100644 index 512312365..000000000 --- a/content/v2.0/write-data/developer-tools/third-party-solutions.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: Third-party technologies -seotitle: Write data with third-party technologies -list_title: Write data with third-party technologies -weight: 103 -description: > - Write data to InfluxDB using third-party developer tools. -aliases: -menu: - v2_0: - name: Third-party developer tools - parent: Developer tools ---- - -Configure third-party technologies to send line protocol directly to InfluxDB. - -## AWS Lambda via CloudFormation template - -Write to InfluxDB with AWS Lambda, Amazon Web Services' serverless offering. This example provides a CloudFormation template that collects earthquake from the [United States Geological Survey (USGS)](https://www.usgs.gov/) every hour and outputs it as line protocol into an InfluxDB bucket. - -The [template](https://influxdata-lambda.s3.amazonaws.com/GeoLambda.yml) contains the following sections: - -- Lines 1-20: Define variables that the template asks for when it's installed. -- Lines 21-120: Handle a quirk of Lambda deployments that requires the Lambda assets to be in your region before deployment. As there is no elegant workaround, these 100 lines create an S3 bucket in your account in the region you're creating the stack and copies in these resources. -- Lines 121-132: Define a role with basic permission to run the Lambda. -- Lines 133-144: Define a Python library layer. This layer packages the Python HTTP library, a Python S2 Geometry library, and the InfluxDB Python client library. -- Lines 145-165: Define the Lambda function, a short Python script zipped up in a file called `geo_lambda.zip`. -- Lines 166-188: Define an event rule with permission to run the Lambda every hour. - -### Deploy the template - -1. Log into your free AWS account and search for the CloudFormation service. Make sure you’re in the AWS region you want to deploy the Lambda to⁠. -2. Click **Create Stack**. -3. In the **Prerequisite - Prepare Template** section, select **Template is ready**. -4. In the **Specify template** section: - - Under **Template source**, select **Amazon S3 URL**. - - In the **Amazon S3 URL** field, enter the CloudFormation template URL: `https://influxdata-lambda.s3.amazonaws.com/GeoLambda.yml` -5. Click **Next**. -6. Enter a name in the **Stack name** field. -7. Enter the following InfluxDB details: - - Organization ID - - Bucket ID of the bucket the Lambda writes to - - Token with permission to write to the bucket - - InfluxDB URL -8. Do not alter or add to any other fields. Click **Next**. -9. Select the **I acknowledge that AWS CloudFormation might create IAM resources** check box. -10. Click **Create Stack**. - -After a few minutes, the stack deploys to your region. To view the new Lambda, select **Services > AWS Lambda**. On the Lambda functions page, you should see your new Lambda. The `CopyZipsFunction` is the helper copy function, and the `GeoPythonLambda` does the data collection and writing work: - -{{< img-hd src="/img/cloudformation1.png" alt="GeoPythonLambda data in InfluxDB" />}} - -### Verify your setup - -`GeoPythonLambda` should run every hour based on the AWS Rule we set up, but you should test and confirm it works. - -1. Click `GeoPythonLambda`, and then click **Test**. -2. The test requires an input definition, but this Lambda has no input requirements, so click through and save the default dataset. -3. If the test is successful, a green **Execution result: succeeded** message appears. - -With the data points written, when you log into your InfluxDB UI, you’ll be able to explore the geolocation earthquake data: - -{{< img-hd src="/img/cloudformation2.png" alt="GeoPythonLambda data in InfluxDB" />}} diff --git a/layouts/partials/article/flux-contrib.html b/layouts/partials/article/flux-contrib.html index 3bf7a7368..8c6dc0676 100644 --- a/layouts/partials/article/flux-contrib.html +++ b/layouts/partials/article/flux-contrib.html @@ -1,5 +1,5 @@ -{{ $currentVersion := (index (findRE "[^/]+.*?" .RelPermalink) 0) .RelPermalink }} -{{ $contribPath := print "/" $currentVersion "/reference/flux/stdlib/contrib/" }} +{{ $currentVersion := (index (findRE "[^/]+.*?" .RelPermalink) 1) .RelPermalink }} +{{ $contribPath := print "/influxdb/" $currentVersion "/reference/flux/stdlib/contrib/" }} {{ if in .RelPermalink $contribPath }} {{ if not (eq .RelPermalink $contribPath) }} diff --git a/layouts/partials/article/flux-experimental.html b/layouts/partials/article/flux-experimental.html index 8a01cc8db..c7d4d2de5 100644 --- a/layouts/partials/article/flux-experimental.html +++ b/layouts/partials/article/flux-experimental.html @@ -1,6 +1,6 @@ -{{ $currentVersion := (index (findRE "[^/]+.*?" .RelPermalink) 0) .RelPermalink }} -{{ $expRiskURL := print "/" $currentVersion "/reference/flux/stdlib/experimental/#use-experimental-functions-at-your-own-risk" }} -{{ $expPath := print "/" $currentVersion "/reference/flux/stdlib/experimental/" }} +{{ $currentVersion := (index (findRE "[^/]+.*?" .RelPermalink) 1) .RelPermalink }} +{{ $expRiskURL := print "/influxdb/" $currentVersion "/reference/flux/stdlib/experimental/#use-experimental-functions-at-your-own-risk" }} +{{ $expPath := print "/influxdb/" $currentVersion "/reference/flux/stdlib/experimental/" }} {{ if in .RelPermalink $expPath }} {{ if not (eq .RelPermalink $expPath) }}