Update aliases (#1388)
* removed unnecessary aliases * added influxdb namespace to v2 aliasespull/1390/head
parent
689b6b571f
commit
431ee3c499
|
@ -7,8 +7,6 @@ layout: landing-influxdb
|
|||
menu:
|
||||
influxdb_2_0:
|
||||
name: InfluxDB v2.0
|
||||
aliases:
|
||||
- /v2.0/
|
||||
weight: 1
|
||||
---
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@ description: >
|
|||
weight: 10
|
||||
products: [cloud]
|
||||
aliases:
|
||||
- /v2.0/cloud/account-management/
|
||||
- /v2.0/account-management
|
||||
- /influxdb/v2.0/cloud/account-management/
|
||||
- /influxdb/v2.0/account-management
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
name: Account management
|
||||
|
|
|
@ -4,10 +4,9 @@ list_title: Manage billing
|
|||
description: >
|
||||
Upgrade to the InfluxDB Cloud Usage-Based Plan and manage your billing information.
|
||||
aliases:
|
||||
- /v2.0/cloud/account-management/billing
|
||||
- /v2.0/cloud/account-management/upgrade-to-payg/
|
||||
- /v2.0/cloud/account-management/upgrade-to-usage-based-plan/
|
||||
- /v2.0/account-management/billing
|
||||
- /influxdb/v2.0/cloud/account-management/billing
|
||||
- /influxdb/v2.0/cloud/account-management/upgrade-to-payg/
|
||||
- /influxdb/v2.0/cloud/account-management/upgrade-to-usage-based-plan/
|
||||
weight: 103
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
|
|
|
@ -5,8 +5,7 @@ description: >
|
|||
View your InfluxDB Cloud 2.0 data usage and rate limit notifications.
|
||||
weight: 103
|
||||
aliases:
|
||||
- /v2.0/cloud/account-management/data-usage
|
||||
- /v2.0/account-management/data-usage
|
||||
- /influxdb/v2.0/cloud/account-management/data-usage
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Account management
|
||||
|
|
|
@ -3,8 +3,6 @@ title: Manage multiple users
|
|||
description: >
|
||||
View and manage multiple users in an InfluxDB Cloud account.
|
||||
weight: 4
|
||||
aliases:
|
||||
- /v2.0/account-management/multi-user
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Account management
|
||||
|
|
|
@ -4,8 +4,6 @@ list_title: Invite a user
|
|||
description: >
|
||||
Invite a user to collaborate in InfluxDB Cloud.
|
||||
weight: 103
|
||||
aliases:
|
||||
- /v2.0/account-management/multi-user/invite-user
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Manage multiple users
|
||||
|
|
|
@ -4,8 +4,6 @@ seotitle: Remove a user from your InfluxDB Cloud organization
|
|||
description: >
|
||||
Remove a user from an InfluxDB Cloud organization.
|
||||
weight: 103
|
||||
aliases:
|
||||
- /v2.0/account-management/multi-user/remove-user
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Manage multiple users
|
||||
|
|
|
@ -5,8 +5,7 @@ description: >
|
|||
requests, backing up data, and contacting InfluxData Support.
|
||||
weight: 104
|
||||
aliases:
|
||||
- /v2.0/cloud/account-management/offboarding
|
||||
- /v2.0/account-management/offboarding
|
||||
- /influxdb/v2.0/cloud/account-management/offboarding
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Account management
|
||||
|
|
|
@ -4,8 +4,6 @@ description: >
|
|||
Use the InfluxDB Cloud 2.0 pricing calculator to estimate costs by adjusting the number of devices,
|
||||
plugins, metrics, and writes for the Usage-based Plan.
|
||||
weight: 2
|
||||
aliases:
|
||||
- /v2.0/account-management/pricing-calculator
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
name: Pricing calculator
|
||||
|
|
|
@ -4,9 +4,8 @@ description: >
|
|||
InfluxDB Cloud 2.0 provides two pricing plans to fit your needs – the rate-limited
|
||||
Free Plan and the Usage-based Plan.
|
||||
aliases:
|
||||
- /v2.0/cloud/rate-limits/
|
||||
- /v2.0/cloud/pricing-plans/
|
||||
- /v2.0/account-management/pricing-plans
|
||||
- /influxdb/v2.0/cloud/rate-limits/
|
||||
- /influxdb/v2.0/cloud/pricing-plans/
|
||||
weight: 102
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
|
|
|
@ -5,8 +5,6 @@ description: >
|
|||
InfluxDB provides tools that let you back up and restore data and metadata stored
|
||||
in InfluxDB.
|
||||
influxdb/v2.0/tags: [backup, restore]
|
||||
aliases:
|
||||
- /v2.0/backup-restore
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
name: Back up & restore data
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
influxdb_2_0:
|
||||
parent: Back up & restore data
|
||||
weight: 101
|
||||
aliases:
|
||||
- /v2.0/backup-restore/backup
|
||||
related:
|
||||
- /influxdb/v2.0/backup-restore/restore/
|
||||
- /influxdb/v2.0/reference/cli/influx/backup/
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
parent: Back up & restore data
|
||||
weight: 101
|
||||
influxdb/v2.0/tags: [restore]
|
||||
aliases:
|
||||
- /v2.0/backup-restore/restore
|
||||
related:
|
||||
- /influxdb/v2.0/backup-restore/backup/
|
||||
- /influxdb/v2.0/reference/cli/influxd/restore/
|
||||
|
|
|
@ -7,8 +7,7 @@ menu:
|
|||
weight: 2
|
||||
influxdb/v2.0/tags: [get-started, install]
|
||||
aliases:
|
||||
- /v2.0/cloud/get-started
|
||||
- /v2.0/get-started
|
||||
- /influxdb/v2.0/cloud/get-started
|
||||
---
|
||||
|
||||
The InfluxDB 2.0 time series platform is purpose-built to collect, store,
|
||||
|
|
|
@ -5,8 +5,6 @@ description: >
|
|||
from dashboards and Telegraf configurations to notifications and alerts.
|
||||
menu: influxdb_2_0
|
||||
weight: 9
|
||||
aliases:
|
||||
- /v2.0/influxdb-templates
|
||||
influxdb/v2.0/tags: [templates]
|
||||
---
|
||||
|
||||
|
|
|
@ -10,8 +10,7 @@ menu:
|
|||
name: Templates in Cloud
|
||||
weight: 101
|
||||
aliases:
|
||||
- /v2.0/influxdb-templates/get_started_cloud/
|
||||
- /v2.0/influxdb-templates/cloud/
|
||||
- /influxdb/v2.0/influxdb-templates/get_started_cloud/
|
||||
influxdb/v2.0/tags: [templates]
|
||||
products: [cloud]
|
||||
---
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
name: Create a template
|
||||
identifier: Create an InfluxDB template
|
||||
weight: 103
|
||||
aliases:
|
||||
- /v2.0/influxdb-templates/create/
|
||||
influxdb/v2.0/tags: [templates]
|
||||
related:
|
||||
- /influxdb/v2.0/reference/cli/influx/export/
|
||||
|
|
|
@ -9,8 +9,6 @@ menu:
|
|||
influxdb_2_0:
|
||||
parent: InfluxDB templates
|
||||
weight: 105
|
||||
aliases:
|
||||
- /v2.0/influxdb-templates/stacks/
|
||||
related:
|
||||
- /influxdb/v2.0/reference/cli/stacks/
|
||||
---
|
||||
|
|
|
@ -10,8 +10,6 @@ menu:
|
|||
parent: InfluxDB stacks
|
||||
name: Initialize a stack
|
||||
weight: 201
|
||||
aliases:
|
||||
- /v2.0/influxdb-templates/stacks/init/
|
||||
related:
|
||||
- /influxdb/v2.0/reference/cli/influx/stacks/init/
|
||||
list_code_example: |
|
||||
|
|
|
@ -9,8 +9,6 @@ menu:
|
|||
parent: InfluxDB stacks
|
||||
name: Remove a stack
|
||||
weight: 204
|
||||
aliases:
|
||||
- /v2.0/influxdb-templates/stacks/remove/
|
||||
related:
|
||||
- /influxdb/v2.0/reference/cli/influx/stacks/remove/
|
||||
list_code_example: |
|
||||
|
|
|
@ -13,8 +13,6 @@ menu:
|
|||
parent: InfluxDB stacks
|
||||
name: Update a stack
|
||||
weight: 202
|
||||
aliases:
|
||||
- /v2.0/influxdb-templates/stacks/update/
|
||||
related:
|
||||
- /influxdb/v2.0/reference/cli/influx/apply
|
||||
- /influxdb/v2.0/reference/cli/influx/stacks/update/
|
||||
|
|
|
@ -9,8 +9,6 @@ menu:
|
|||
parent: InfluxDB stacks
|
||||
name: View stacks
|
||||
weight: 203
|
||||
aliases:
|
||||
- /v2.0/influxdb-templates/stacks/views/
|
||||
related:
|
||||
- /influxdb/v2.0/reference/cli/influx/stacks/
|
||||
list_code_example: |
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
parent: InfluxDB templates
|
||||
name: Use templates
|
||||
weight: 102
|
||||
aliases:
|
||||
- /v2.0/influxdb-templates/use/
|
||||
influxdb/v2.0/tags: [templates]
|
||||
related:
|
||||
- /influxdb/v2.0/reference/cli/influx/apply/
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
influxdb_2_0:
|
||||
name: Monitor & alert
|
||||
weight: 6
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/
|
||||
influxdb/v2.0/tags: [monitor, alert, checks, notification, endpoints]
|
||||
---
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
influxdb_2_0:
|
||||
parent: Monitor & alert
|
||||
weight: 101
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/checks/
|
||||
influxdb/v2.0/tags: [monitor, checks, notifications, alert]
|
||||
related:
|
||||
- /influxdb/v2.0/monitor-alert/notification-rules/
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
influxdb_2_0:
|
||||
parent: Manage checks
|
||||
weight: 201
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/checks/create/
|
||||
related:
|
||||
- /influxdb/v2.0/monitor-alert/notification-rules/
|
||||
- /influxdb/v2.0/monitor-alert/notification-endpoints/
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
influxdb_2_0:
|
||||
parent: Manage checks
|
||||
weight: 204
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/checks/delete/
|
||||
related:
|
||||
- /influxdb/v2.0/monitor-alert/notification-rules/
|
||||
- /influxdb/v2.0/monitor-alert/notification-endpoints/
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
influxdb_2_0:
|
||||
parent: Manage checks
|
||||
weight: 203
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/checks/update/
|
||||
related:
|
||||
- /influxdb/v2.0/monitor-alert/notification-rules/
|
||||
- /influxdb/v2.0/monitor-alert/notification-endpoints/
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
influxdb_2_0:
|
||||
parent: Manage checks
|
||||
weight: 202
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/checks/view/
|
||||
related:
|
||||
- /influxdb/v2.0/monitor-alert/notification-rules/
|
||||
- /influxdb/v2.0/monitor-alert/notification-endpoints/
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
influxdb_2_0:
|
||||
parent: Monitor & alert
|
||||
weight: 102
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/notification-endpoints/
|
||||
related:
|
||||
- /influxdb/v2.0/monitor-alert/checks/
|
||||
- /influxdb/v2.0/monitor-alert/notification-rules/
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: Create endpoints
|
||||
parent: Manage notification endpoints
|
||||
weight: 201
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/notification-endpoints/create/
|
||||
related:
|
||||
- /influxdb/v2.0/monitor-alert/checks/
|
||||
- /influxdb/v2.0/monitor-alert/notification-rules/
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: Delete endpoints
|
||||
parent: Manage notification endpoints
|
||||
weight: 204
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/notification-endpoints/delete/
|
||||
related:
|
||||
- /influxdb/v2.0/monitor-alert/checks/
|
||||
- /influxdb/v2.0/monitor-alert/notification-rules/
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: Update endpoints
|
||||
parent: Manage notification endpoints
|
||||
weight: 203
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/notification-endpoints/update/
|
||||
related:
|
||||
- /influxdb/v2.0/monitor-alert/checks/
|
||||
- /influxdb/v2.0/monitor-alert/notification-rules/
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
name: View endpoint history
|
||||
parent: Manage notification endpoints
|
||||
weight: 202
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/notification-endpoints/view/
|
||||
related:
|
||||
- /influxdb/v2.0/monitor-alert/checks/
|
||||
- /influxdb/v2.0/monitor-alert/notification-rules/
|
||||
|
|
|
@ -3,8 +3,6 @@ title: Manage notification rules
|
|||
description: >
|
||||
Manage notification rules in InfluxDB.
|
||||
weight: 103
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/notification-rules/
|
||||
influxdb/v2.0/tags: [monitor, notifications, alert]
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
|
|
|
@ -3,8 +3,6 @@ title: Create notification rules
|
|||
description: >
|
||||
Create notification rules to send alerts on your time series data.
|
||||
weight: 201
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/notification-rules/create/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Manage notification rules
|
||||
|
|
|
@ -3,8 +3,6 @@ title: Delete notification rules
|
|||
description: >
|
||||
If you no longer need to receive an alert, delete the associated notification rule.
|
||||
weight: 204
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/notification-rules/delete/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Manage notification rules
|
||||
|
|
|
@ -3,8 +3,6 @@ title: Update notification rules
|
|||
description: >
|
||||
Update notification rules to update the notification message or change the schedule or conditions.
|
||||
weight: 203
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/notification-rules/update/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Manage notification rules
|
||||
|
|
|
@ -3,8 +3,6 @@ title: View notification rules
|
|||
description: >
|
||||
Update notification rules to update the notification message or change the schedule or conditions.
|
||||
weight: 202
|
||||
aliases:
|
||||
- /v2.0/monitor-alert/notification-rules/view/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Manage notification rules
|
||||
|
|
|
@ -1,57 +0,0 @@
|
|||
---
|
||||
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:
|
||||
influxdb_2_0:
|
||||
parent: Monitor infrastructure
|
||||
name: AWS CloudWatch
|
||||
weight: 201
|
||||
---
|
||||
|
||||
Use the [AWS CloudWatch Monitoring template](https://github.com/influxdata/community-templates/tree/master/aws_cloudwatch) to monitor data from [Amazon Web Services (AWS)](https://aws.amazon.com/), [Amazon Elastic Compute Cloud (EC2)](https://aws.amazon.com/ec2/), and [Amazon Elastic Load Balancing (ELB)](https://aws.amazon.com/elasticloadbalancing/) with the [AWS CloudWatch Service](https://aws.amazon.com/cloudwatch/).
|
||||
|
||||
The AWS CloudWatch Monitoring template includes the following:
|
||||
|
||||
- two [dashboards](/influxdb/v2.0/reference/glossary/#dashboard):
|
||||
- **AWS CloudWatch NLB (Network Load Balancers) Monitoring**: Displays data from the `cloudwatch_aws_network_elb measurement`
|
||||
- **AWS CloudWatch Instance Monitoring**: Displays data from the `cloudwatch_aws_ec2` measurement
|
||||
- two [buckets](/influxdb/v2.0/reference/glossary/#bucket): `kubernetes` and `cloudwatch`
|
||||
- two labels: `inputs.cloudwatch`, `AWS`
|
||||
- one variable: `v.bucket`
|
||||
- one [Telegraf configuration](/influxdb/v2.0/write-data/no-code/use-telegraf/auto-config/view-telegraf-config/): [AWS CloudWatch input plugin](/influxdb/v2.0/reference/telegraf-plugins/#cloudwatch)
|
||||
|
||||
## Apply the template
|
||||
|
||||
1. Use the [`influx` CLI](/influxdb/v2.0/reference/cli/influx/) to run the following command:
|
||||
|
||||
```sh
|
||||
influx apply -f https://raw.githubusercontent.com/influxdata/community-templates/master/aws_cloudwatch/aws_cloudwatch.yml
|
||||
```
|
||||
For more information, see [influx apply](/influxdb/v2.0/reference/cli/influx/apply/).
|
||||
2. [Install Telegraf](/telegraf/latest/introduction/installation/) on a server with network access to both the CloudWatch API and [InfluxDB v2 API](/influxdb/v2.0/reference/api/).
|
||||
3. In your Telegraf configuration file (`telegraf.conf`), find the following example `influxdb_v2` output plugins, and then **replace** the `urls` to specify the servers to monitor:
|
||||
|
||||
```sh
|
||||
## k8s
|
||||
[[outputs.influxdb_v2]]
|
||||
urls = ["http://influxdb.monitoring:9999"]
|
||||
organization = "InfluxData"
|
||||
bucket = "kubernetes"
|
||||
token = "secret-token"
|
||||
|
||||
## cloudv2 sample
|
||||
[[outputs.influxdb_v2]]
|
||||
urls = ["$INFLUX_HOST"]
|
||||
token = "$INFLUX_TOKEN"
|
||||
organization = "$INFLUX_ORG"
|
||||
bucket = “cloudwatch"
|
||||
```
|
||||
4. [Start Telegraf](/influxdb/v2.0/write-data/no-code/use-telegraf/auto-config/#start-telegraf).
|
||||
|
||||
## View the incoming data
|
||||
|
||||
1. In the InfluxDB user interface (UI), select **Boards** (**Dashboards**).
|
||||
|
||||
{{< nav-icon "dashboards" >}}
|
||||
2. Open your AWS dashboards, and then set the `v.bucket` variable to specify the bucket to query data from (`kubernetes` or `cloudwatch`).
|
|
@ -1,54 +0,0 @@
|
|||
---
|
||||
title: Monitor Docker
|
||||
description: >
|
||||
Use the [Docker Monitoring template](https://github.com/influxdata/community-templates/tree/master/docker) to monitor your Docker containers.
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Monitor infrastructure
|
||||
name: Docker
|
||||
weight: 202
|
||||
---
|
||||
|
||||
Use the [Docker Monitoring template](https://github.com/influxdata/community-templates/tree/master/docker) to monitor your Docker containers. First, [apply the template](#apply-the-template), and then [view incoming data](#view-incoming-data).
|
||||
This template uses the [Docker input plugin](/influxdb/v2.0/reference/telegraf-plugins/#docker) to collect metrics stored in InfluxDB and display these metrics in a dashboard.
|
||||
|
||||
The Docker Monitoring template includes the following:
|
||||
|
||||
- one [dashboard](/influxdb/v2.0/reference/glossary/#dashboard): **Docker**
|
||||
- one [bucket](/influxdb/v2.0/reference/glossary/#bucket): `docker, 7d retention`
|
||||
- labels: Docker input plugin labels
|
||||
- one [Telegraf configuration](/influxdb/v2.0/write-data/no-code/use-telegraf/auto-config/view-telegraf-config/): Docker input plugin
|
||||
- one variable: `bucket`
|
||||
- four [checks](/influxdb/v2.0/reference/glossary/#check): `Container cpu`, `mem`, `disk`, `non-zero exit`
|
||||
- one [notification endpoint](/influxdb/v2.0/reference/glossary/#notification-endpoint): `Http Post`
|
||||
- one [notification rule](/influxdb/v2.0/reference/glossary/#notification-rule): `Crit Alert`
|
||||
|
||||
For more information about how checks, notification endpoints, and notifications rules work together, see [monitor data and send alerts](/influxdb/v2.0/monitor-alert/).
|
||||
|
||||
## Apply the template
|
||||
|
||||
1. Use the [`influx` CLI](/influxdb/v2.0/reference/cli/influx/) to run the following command:
|
||||
|
||||
```sh
|
||||
influx apply -f https://raw.githubusercontent.com/influxdata/community-templates/master/docker/docker.yml
|
||||
```
|
||||
For more information, see [influx apply](/influxdb/v2.0/reference/cli/influx/apply/).
|
||||
|
||||
> **Note:** Ensure your `influx` CLI is configured with your account credentials and that configuration is active. For more information, see [influx config](https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config/).
|
||||
|
||||
2. [Install Telegraf](/telegraf/latest/introduction/installation/) on a server with network access to both the Docker containers and [InfluxDB v2 API](/influxdb/v2.0/reference/api/).
|
||||
3. In your [Telegraf configuration file (`telegraf.conf`)](/influxdb/v2.0/write-data/no-code/use-telegraf/auto-config/view-telegraf-config/), do the following:
|
||||
- Depending on how you run Docker, you may need to customize the [Docker input plugin](/influxdb/v2.0/reference/telegraf-plugins/#docker) configuration, for example, you may need to specify the `endpoint` value.
|
||||
- Set the following environment variables:
|
||||
- INFLUX_TOKEN: Token must have permissions to read Telegraf configurations and write data to the `telegraf` bucket. See how to [view tokens](/influxdb/v2.0/security/tokens/view-tokens/).
|
||||
- INFLUX_ORG: Name of your organization. See how to [view your organization](/influxdb/v2.0/organizations/view-orgs/).
|
||||
- INFLUX_HOST: Your InfluxDB host URL, for example, localhost, a remote instance, or InfluxDB Cloud.
|
||||
|
||||
4. [Start Telegraf](/influxdb/v2.0/write-data/no-code/use-telegraf/auto-config/#start-telegraf).
|
||||
|
||||
## View incoming data
|
||||
|
||||
1. In the InfluxDB user interface (UI), select **Boards** (**Dashboards**).
|
||||
|
||||
{{< nav-icon "dashboards" >}}
|
||||
2. Open the **Docker** dashboard to start monitoring.
|
|
@ -1,48 +0,0 @@
|
|||
---
|
||||
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:
|
||||
influxdb_2_0:
|
||||
parent: Monitor networks
|
||||
name: HAproxy
|
||||
weight: 201
|
||||
---
|
||||
|
||||
Use the [HAProxy for InfluxDB v2 template](https://github.com/influxdata/community-templates/tree/master/haproxy) to monitor your HAProxy instances. First, [apply the template](#apply-the-template), and then [view incoming data](#view-incoming-data).
|
||||
This template uses the [HAProxy input plugin](/influxdb/v2.0/reference/telegraf-plugins/#haproxy) to collect metrics stored in an HAProxy instance and display these metrics in a dashboard.
|
||||
|
||||
The HAProxy for InfluxDB v2 template includes the following:
|
||||
|
||||
- one [dashboard](/influxdb/v2.0/reference/glossary/#dashboard): **HAProxy**
|
||||
- one [bucket](/influxdb/v2.0/reference/glossary/#bucket): `haproxy`
|
||||
- label: `haproxy`
|
||||
- one [Telegraf configuration](/influxdb/v2.0/write-data/no-code/use-telegraf/auto-config/view-telegraf-config/): HAProxy input plugin, InfluxDB v2 output plugin
|
||||
- one variable: `bucket`
|
||||
|
||||
## Apply the template
|
||||
|
||||
1. Use the [`influx` CLI](/influxdb/v2.0/reference/cli/influx/) to run the following command:
|
||||
|
||||
```sh
|
||||
influx apply -f https://raw.githubusercontent.com/influxdata/community-templates/master/haproxy/haproxy.yml
|
||||
```
|
||||
For more information, see [influx apply](/influxdb/v2.0/reference/cli/influx/apply/).
|
||||
|
||||
> **Note:** Ensure your `influx` CLI is configured with your account credentials and that configuration is active. For more information, see [influx config](https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config/).
|
||||
|
||||
2. [Install Telegraf](/telegraf/latest/introduction/installation/) on a server with network access to both the HAProxy instances and [InfluxDB v2 API](/influxdb/v2.0/reference/api/).
|
||||
3. In your [Telegraf configuration file (`telegraf.conf`)](/influxdb/v2.0/write-data/no-code/use-telegraf/auto-config/view-telegraf-config/), do the following:
|
||||
- Set the following environment variables:
|
||||
- INFLUX_TOKEN: Token must have permissions to read Telegraf configurations and write data to the `haproxy` bucket. See how to [view tokens](/influxdb/v2.0/security/tokens/view-tokens/).
|
||||
- INFLUX_ORG: Name of your organization. See how to [view your organization](/influxdb/v2.0/organizations/view-orgs/).
|
||||
- INFLUX_HOST: Your InfluxDB host URL, for example, localhost, a remote instance, or InfluxDB Cloud.
|
||||
|
||||
4. [Start Telegraf](/influxdb/v2.0/write-data/no-code/use-telegraf/auto-config/#start-telegraf).
|
||||
|
||||
## View incoming data
|
||||
|
||||
1. In the InfluxDB user interface (UI), select **Boards** (**Dashboards**).
|
||||
|
||||
{{< nav-icon "dashboards" >}}
|
||||
2. Open the **HAProxy** dashboard to start monitoring.
|
|
@ -2,8 +2,6 @@
|
|||
title: Manage organizations
|
||||
seotitle: Manage organizations in InfluxDB
|
||||
description: Manage organizations in InfluxDB using the InfluxDB UI or the influx CLI.
|
||||
aliases:
|
||||
- /v2.0/organizations/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
name: Manage organizations
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: Manage buckets
|
||||
parent: Manage organizations
|
||||
weight: 105
|
||||
aliases:
|
||||
- /v2.0/organizations/create-org/buckets/
|
||||
influxdb/v2.0/tags: [buckets]
|
||||
---
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: Create a bucket
|
||||
parent: Manage buckets
|
||||
weight: 201
|
||||
aliases:
|
||||
- /v2.0/organizations/create-org/buckets/create-bucket/
|
||||
---
|
||||
|
||||
Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI)
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: Delete a bucket
|
||||
parent: Manage buckets
|
||||
weight: 203
|
||||
aliases:
|
||||
- /v2.0/organizations/create-org/buckets/delete-bucket/
|
||||
---
|
||||
|
||||
Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI)
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: Update a bucket
|
||||
parent: Manage buckets
|
||||
weight: 202
|
||||
aliases:
|
||||
- /v2.0/organizations/create-org/buckets/update-bucket/
|
||||
---
|
||||
|
||||
Use the `influx` command line interface (CLI) or the InfluxDB user interface (UI) to update a bucket.
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: View buckets
|
||||
parent: Manage buckets
|
||||
weight: 202
|
||||
aliases:
|
||||
- /v2.0/organizations/create-org/buckets/view-bucket/
|
||||
---
|
||||
|
||||
## View a list of buckets
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
title: Create an organization
|
||||
seotitle: Create an organization in InfluxDB
|
||||
description: Create an organization in InfluxDB using the InfluxDB UI or the influx CLI.
|
||||
aliases:
|
||||
- /v2.0/organizations/create-org/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
name: Create an organization
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
title: Delete an organization
|
||||
seotitle: Delete an organization from InfluxDB
|
||||
description: Delete an existing organization from InfluxDB using the InfluxDB UI or the influx CLI.
|
||||
aliases:
|
||||
- /v2.0/organizations/delete-org/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
name: Delete an organization
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: Manage members
|
||||
parent: Manage organizations
|
||||
weight: 106
|
||||
aliases:
|
||||
- /v2.0/organizations/create-org/members/
|
||||
influxdb/v2.0/tags: [members]
|
||||
---
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: Add a member
|
||||
parent: Manage members
|
||||
weight: 201
|
||||
aliases:
|
||||
- /v2.0/organizations/create-org/members/add-members/
|
||||
---
|
||||
|
||||
Use the `influx` command line interface (CLI) to add a member to an organization.
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: Remove a member
|
||||
parent: Manage members
|
||||
weight: 203
|
||||
aliases:
|
||||
- /v2.0/organizations/create-org/members/remove-members/
|
||||
---
|
||||
|
||||
Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI)
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: View members
|
||||
parent: Manage members
|
||||
weight: 202
|
||||
aliases:
|
||||
- /v2.0/organizations/create-org/members/view-members/
|
||||
---
|
||||
|
||||
Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI)
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
title: Switch organizations
|
||||
seotitle: Switch organizations in InfluxDB
|
||||
description: Switch from one organization to another in the InfluxDB UI
|
||||
aliases:
|
||||
- /v2.0/organizations/switch-org/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
name: Switch organizations
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
title: Update an organization
|
||||
seotitle: Update an organization in InfluxDB
|
||||
description: Update an organization's name and assets in InfluxDB using the InfluxDB UI or the influx CLI.
|
||||
aliases:
|
||||
- /v2.0/organizations/update-org/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
name: Update an organization
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
title: View organizations
|
||||
seotitle: View organizations in InfluxDB
|
||||
description: Review a list of organizations in InfluxDB using the InfluxDB UI or the influx CLI.
|
||||
aliases:
|
||||
- /v2.0/organizations/view-org/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
name: View organizations
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
influxdb_2_0:
|
||||
name: Process data
|
||||
weight: 4
|
||||
aliases:
|
||||
- /v2.0/process-data/
|
||||
influxdb/v2.0/tags: [tasks]
|
||||
---
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@ menu:
|
|||
name: Common tasks
|
||||
parent: Process data
|
||||
weight: 104
|
||||
aliases:
|
||||
- /v2.0/process-data/common-tasks/
|
||||
---
|
||||
|
||||
The following articles walk through common task use cases.
|
||||
|
|
|
@ -9,8 +9,6 @@ menu:
|
|||
name: Downsample data
|
||||
parent: Common tasks
|
||||
weight: 201
|
||||
aliases:
|
||||
- /v2.0/process-data/common-tasks/downsample-data/
|
||||
influxdb/v2.0/tags: [tasks]
|
||||
---
|
||||
|
||||
|
|
|
@ -5,8 +5,7 @@ description: >
|
|||
Learn the basics of writing an InfluxDB task that processes data, and then performs an action,
|
||||
such as storing the modified data in a new bucket or sending an alert.
|
||||
aliases:
|
||||
- /v2.0/process-data/write-a-task/
|
||||
- /v2.0/process-data/get-started/
|
||||
- /influxdb/v2.0/process-data/write-a-task/
|
||||
influxdb/v2.0/tags: [tasks]
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
|
|
|
@ -11,8 +11,6 @@ menu:
|
|||
name: Manage tasks
|
||||
parent: Process data
|
||||
weight: 102
|
||||
aliases:
|
||||
- /v2.0/process-data/manage-tasks/
|
||||
---
|
||||
|
||||
InfluxDB provides two options for managing the creation, reading, updating, and deletion (CRUD) of tasks -
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
name: Create a task
|
||||
parent: Manage tasks
|
||||
weight: 201
|
||||
aliases:
|
||||
- /v2.0/process-data/manage-tasks/create-task/
|
||||
related:
|
||||
- /influxdb/v2.0/reference/cli/influx/task/create
|
||||
---
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
name: Delete a task
|
||||
parent: Manage tasks
|
||||
weight: 206
|
||||
aliases:
|
||||
- /v2.0/process-data/manage-tasks/delete-task/
|
||||
related:
|
||||
- /influxdb/v2.0/reference/cli/influx/task/delete
|
||||
---
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: Export a task
|
||||
parent: Manage tasks
|
||||
weight: 205
|
||||
aliases:
|
||||
- /v2.0/process-data/manage-tasks/export-task/
|
||||
---
|
||||
|
||||
InfluxDB lets you export tasks from the InfluxDB user interface (UI).
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
name: Run a task
|
||||
parent: Manage tasks
|
||||
weight: 203
|
||||
aliases:
|
||||
- /v2.0/process-data/manage-tasks/run-task/
|
||||
related:
|
||||
- /influxdb/v2.0/reference/cli/influx/task/run
|
||||
- /influxdb/v2.0/reference/cli/influx/task/retry
|
||||
|
|
|
@ -7,8 +7,6 @@ menu:
|
|||
name: View run history
|
||||
parent: Manage tasks
|
||||
weight: 203
|
||||
aliases:
|
||||
- /v2.0/process-data/manage-tasks/task-run-history/
|
||||
related:
|
||||
- /influxdb/v2.0/reference/cli/influx/task/run/find
|
||||
---
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
name: Update a task
|
||||
parent: Manage tasks
|
||||
weight: 204
|
||||
aliases:
|
||||
- /v2.0/process-data/manage-tasks/update-task/
|
||||
related:
|
||||
- /influxdb/v2.0/reference/cli/influx/task/update
|
||||
---
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
name: View tasks
|
||||
parent: Manage tasks
|
||||
weight: 202
|
||||
aliases:
|
||||
- /v2.0/process-data/manage-tasks/view-tasks/
|
||||
related:
|
||||
- /influxdb/v2.0/reference/cli/influx/task/list
|
||||
---
|
||||
|
|
|
@ -9,8 +9,6 @@ menu:
|
|||
name: Task options
|
||||
parent: Process data
|
||||
weight: 105
|
||||
aliases:
|
||||
- /v2.0/process-data/task-options/
|
||||
influxdb/v2.0/tags: [tasks, flux]
|
||||
---
|
||||
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
influxdb_2_0:
|
||||
name: Query data
|
||||
weight: 3
|
||||
aliases:
|
||||
- /v2.0/query-data/
|
||||
influxdb/v2.0/tags: [query, flux]
|
||||
---
|
||||
|
||||
|
|
|
@ -3,8 +3,6 @@ title: Execute queries
|
|||
seotitle: Different ways to query InfluxDB
|
||||
description: There are multiple ways to query data from InfluxDB including the InfluxDB UI, CLI, and API.
|
||||
weight: 103
|
||||
aliases:
|
||||
- /v2.0/query-data/execute-queries/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
name: Execute queries
|
||||
|
|
|
@ -8,8 +8,7 @@ menu:
|
|||
name: Query with Flux
|
||||
parent: Query data
|
||||
alias:
|
||||
- /v2.0/query-data/guides/
|
||||
- /v2.0/query-data/flux/
|
||||
- /influxdb/v2.0/query-data/guides/
|
||||
---
|
||||
|
||||
The following guides walk through both common and complex queries and use cases for Flux.
|
||||
|
|
|
@ -11,13 +11,12 @@ menu:
|
|||
parent: Query with Flux
|
||||
weight: 209
|
||||
aliases:
|
||||
- /v2.0/query-data/guides/calculate-percentages/
|
||||
- /v2.0/query-data/flux/calculate-percentages/
|
||||
- /influxdb/v2.0/query-data/guides/calculate-percentages/
|
||||
related:
|
||||
- /influxdb/v2.0/query-data/flux/mathematic-operations
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/map
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/pivot
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/join
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/map
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/pivot
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/join
|
||||
list_query_example: percentages
|
||||
---
|
||||
|
||||
|
|
|
@ -12,13 +12,12 @@ menu:
|
|||
parent: Query with Flux
|
||||
weight: 220
|
||||
aliases:
|
||||
- /v2.0/query-data/guides/conditional-logic/
|
||||
- /v2.0/query-data/flux/conditional-logic/
|
||||
- /influxdb/v2.0/query-data/guides/conditional-logic/
|
||||
related:
|
||||
- /influxdb/v2.0/query-data/flux/query-fields/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/filter/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/map/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/reduce/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/filter/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/map/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/reduce/
|
||||
list_code_example: |
|
||||
```js
|
||||
if color == "green" then "008000" else "ffffff"
|
||||
|
|
|
@ -10,10 +10,8 @@ menu:
|
|||
parent: Query with Flux
|
||||
name: Cumulative sum
|
||||
influxdb/v2.0/tags: [query, cumulative sum]
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/cumulativesum/
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/cumulativesum/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/cumulativesum/
|
||||
list_query_example: cumulative_sum
|
||||
---
|
||||
|
||||
|
|
|
@ -9,8 +9,7 @@ menu:
|
|||
parent: Query with Flux
|
||||
weight: 220
|
||||
aliases:
|
||||
- /v2.0/query-data/guides/custom-functions/
|
||||
- /v2.0/query-data/flux/custom-functions/
|
||||
- /influxdb/v2.0/query-data/guides/custom-functions/
|
||||
list_code_example: |
|
||||
```js
|
||||
multByX = (tables=<-, x) =>
|
||||
|
|
|
@ -8,10 +8,9 @@ menu:
|
|||
parent: Custom functions
|
||||
weight: 301
|
||||
aliases:
|
||||
- /v2.0/query-data/guides/custom-functions/custom-aggregate/
|
||||
- /v2.0/query-data/flux/custom-functions/custom-aggregate/
|
||||
- /influxdb/v2.0/query-data/guides/custom-functions/custom-aggregate/
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/reduce/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/reduce/
|
||||
---
|
||||
|
||||
To aggregate your data, use the Flux
|
||||
|
|
|
@ -12,11 +12,10 @@ menu:
|
|||
parent: Query with Flux
|
||||
weight: 220
|
||||
aliases:
|
||||
- /v2.0/query-data/guides/exists/
|
||||
- /v2.0/query-data/flux/exists/
|
||||
- /influxdb/v2.0/query-data/guides/exists/
|
||||
related:
|
||||
- /influxdb/v2.0/query-data/flux/query-fields/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/filter/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/filter/
|
||||
list_code_example: |
|
||||
##### Filter null values
|
||||
```js
|
||||
|
|
|
@ -10,17 +10,15 @@ menu:
|
|||
name: Explore your schema
|
||||
parent: Query with Flux
|
||||
weight: 206
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/explore-schema/
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/inputs/buckets/
|
||||
- /v2.0/reference/flux/stdlib/influxdb-v1/measurements
|
||||
- /v2.0/reference/flux/stdlib/influxdb-v1/fieldkeys
|
||||
- /v2.0/reference/flux/stdlib/influxdb-v1/measurementfieldkeys
|
||||
- /v2.0/reference/flux/stdlib/influxdb-v1/tagkeys
|
||||
- /v2.0/reference/flux/stdlib/influxdb-v1/measurementtagkeys
|
||||
- /v2.0/reference/flux/stdlib/influxdb-v1/tagvalues
|
||||
- /v2.0/reference/flux/stdlib/influxdb-v1/measurementtagvalues
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/inputs/buckets/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurements
|
||||
- /influxdb/v2.0/reference/flux/stdlib/influxdb-v1/fieldkeys
|
||||
- /influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementfieldkeys
|
||||
- /influxdb/v2.0/reference/flux/stdlib/influxdb-v1/tagkeys
|
||||
- /influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagkeys
|
||||
- /influxdb/v2.0/reference/flux/stdlib/influxdb-v1/tagvalues
|
||||
- /influxdb/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagvalues
|
||||
list_code_example: |
|
||||
```js
|
||||
import "influxdata/influxdb/v1"
|
||||
|
|
|
@ -6,15 +6,13 @@ description: >
|
|||
Use the [`fill()` function](/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/fill/)
|
||||
to replace _null_ values.
|
||||
weight: 210
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/fill/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Query with Flux
|
||||
name: Fill
|
||||
influxdb/v2.0/tags: [query, fill]
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/fill/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/fill/
|
||||
list_query_example: fill_null
|
||||
---
|
||||
|
||||
|
|
|
@ -7,16 +7,14 @@ description: >
|
|||
[`last()`](/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/last/) functions
|
||||
to return the first or last point in an input table.
|
||||
weight: 210
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/first-last/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Query with Flux
|
||||
name: First & last
|
||||
influxdb/v2.0/tags: [query]
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/first/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/last/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/first/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/selectors/last/
|
||||
list_query_example: first_last
|
||||
---
|
||||
|
||||
|
|
|
@ -8,8 +8,6 @@ menu:
|
|||
name: Geo-temporal data
|
||||
parent: Query with Flux
|
||||
weight: 220
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/geo/
|
||||
list_code_example: |
|
||||
```js
|
||||
import "experimental/geo"
|
||||
|
|
|
@ -7,11 +7,9 @@ menu:
|
|||
name: Filter by region
|
||||
parent: Geo-temporal data
|
||||
weight: 302
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/geo/filter-by-region/
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/experimental/geo/
|
||||
- /v2.0/reference/flux/stdlib/experimental/geo/filterrows/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/experimental/geo/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/experimental/geo/filterrows/
|
||||
list_code_example: |
|
||||
```js
|
||||
import "experimental/geo"
|
||||
|
|
|
@ -7,12 +7,10 @@ menu:
|
|||
influxdb_2_0:
|
||||
parent: Geo-temporal data
|
||||
weight: 302
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/geo/group-geo-data/
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/experimental/geo/
|
||||
- /v2.0/reference/flux/stdlib/experimental/geo/groupbyarea/
|
||||
- /v2.0/reference/flux/stdlib/experimental/geo/astracks/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/experimental/geo/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/experimental/geo/groupbyarea/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/experimental/geo/astracks/
|
||||
list_code_example: |
|
||||
```js
|
||||
import "experimental/geo"
|
||||
|
|
|
@ -8,12 +8,10 @@ menu:
|
|||
name: Shape geo-temporal data
|
||||
parent: Geo-temporal data
|
||||
weight: 301
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/geo/shape-geo-data/
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/experimental/geo/
|
||||
- /v2.0/reference/flux/stdlib/experimental/geo/shapedata/
|
||||
- /v2.0/reference/flux/stdlib/experimental/geo/s2cellidtoken/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/experimental/geo/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/experimental/geo/shapedata/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/experimental/geo/s2cellidtoken/
|
||||
list_code_example: |
|
||||
```js
|
||||
import "experimental/geo"
|
||||
|
|
|
@ -11,11 +11,10 @@ menu:
|
|||
parent: Query with Flux
|
||||
weight: 202
|
||||
aliases:
|
||||
- /v2.0/query-data/guides/group-data/
|
||||
- /v2.0/query-data/flux/group-data/
|
||||
- /influxdb/v2.0/query-data/guides/group-data/
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/group
|
||||
- /v2.0/reference/flux/stdlib/experimental/group
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/group
|
||||
- /influxdb/v2.0/reference/flux/stdlib/experimental/group
|
||||
list_query_example: group
|
||||
---
|
||||
|
||||
|
|
|
@ -11,10 +11,9 @@ menu:
|
|||
parent: Query with Flux
|
||||
weight: 210
|
||||
aliases:
|
||||
- /v2.0/query-data/guides/histograms/
|
||||
- /v2.0/query-data/flux/histograms/
|
||||
- /influxdb/v2.0/query-data/guides/histograms/
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/histogram
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/histogram
|
||||
list_query_example: histogram
|
||||
---
|
||||
|
||||
|
|
|
@ -8,15 +8,13 @@ description: >
|
|||
This function is especially useful when tracking changes in counter values that
|
||||
wrap over time or periodically reset.
|
||||
weight: 210
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/increase/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Query with Flux
|
||||
name: Increase
|
||||
influxdb/v2.0/tags: [query, increase, counters]
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/increase/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/increase/
|
||||
list_query_example: increase
|
||||
---
|
||||
|
||||
|
|
|
@ -10,10 +10,9 @@ menu:
|
|||
parent: Query with Flux
|
||||
weight: 210
|
||||
aliases:
|
||||
- /v2.0/query-data/guides/join/
|
||||
- /v2.0/query-data/flux/join/
|
||||
- /influxdb/v2.0/query-data/guides/join/
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/join
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/join
|
||||
list_query_example: join
|
||||
---
|
||||
|
||||
|
|
|
@ -9,18 +9,17 @@ menu:
|
|||
parent: Query with Flux
|
||||
weight: 220
|
||||
aliases:
|
||||
- /v2.0/query-data/guides/manipulate-timestamps/
|
||||
- /v2.0/query-data/flux/manipulate-timestamps/
|
||||
- /influxdb/v2.0/query-data/guides/manipulate-timestamps/
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/misc/now/
|
||||
- /v2.0/reference/flux/stdlib/system/time/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/type-conversions/time/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/type-conversions/uint/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/type-conversions/int/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/truncatetimecolumn/
|
||||
- /v2.0/reference/flux/stdlib/date/truncate/
|
||||
- /v2.0/reference/flux/stdlib/experimental/addduration/
|
||||
- /v2.0/reference/flux/stdlib/experimental/subduration/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/misc/now/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/system/time/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/type-conversions/time/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/type-conversions/uint/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/type-conversions/int/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/truncatetimecolumn/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/date/truncate/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/experimental/addduration/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/experimental/subduration/
|
||||
---
|
||||
|
||||
Every point stored in InfluxDB has an associated timestamp.
|
||||
|
|
|
@ -12,13 +12,12 @@ menu:
|
|||
parent: Query with Flux
|
||||
weight: 208
|
||||
aliases:
|
||||
- /v2.0/query-data/guides/mathematic-operations/
|
||||
- /v2.0/query-data/flux/mathematic-operations/
|
||||
- /influxdb/v2.0/query-data/guides/mathematic-operations/
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/map
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/reduce/
|
||||
- /v2.0/reference/flux/language/operators/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/type-conversions/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/map
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/reduce/
|
||||
- /influxdb/v2.0/reference/flux/language/operators/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/type-conversions/
|
||||
- /influxdb/v2.0/query-data/flux/calculate-percentages/
|
||||
list_query_example: map_math
|
||||
---
|
||||
|
|
|
@ -6,8 +6,6 @@ description: >
|
|||
Use the [`median()` function](/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/median/)
|
||||
to return a value representing the `0.5` quantile (50th percentile) or median of input data.
|
||||
weight: 210
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/median/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Query with Flux
|
||||
|
@ -15,8 +13,8 @@ menu:
|
|||
influxdb/v2.0/tags: [query, median]
|
||||
related:
|
||||
- /influxdb/v2.0/query-data/flux/percentile-quantile/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/median/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/quantile/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/median/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/quantile/
|
||||
list_query_example: median
|
||||
---
|
||||
|
||||
|
|
|
@ -9,11 +9,10 @@ menu:
|
|||
parent: Query with Flux
|
||||
weight: 220
|
||||
aliases:
|
||||
- /v2.0/query-data/guides/monitor-states/
|
||||
- /v2.0/query-data/flux/monitor-states/
|
||||
- /influxdb/v2.0/query-data/guides/monitor-states/
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/stateduration/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/statecount/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/stateduration/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/statecount/
|
||||
---
|
||||
|
||||
Flux helps you monitor states in your metrics and events:
|
||||
|
|
|
@ -7,16 +7,14 @@ description: >
|
|||
or [`timedMovingAverage()`](/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/timedmovingaverage/)
|
||||
functions to return the moving average of data.
|
||||
weight: 210
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/moving-average/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Query with Flux
|
||||
name: Moving Average
|
||||
influxdb/v2.0/tags: [query, moving average]
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/movingaverage/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/timedmovingaverage/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/movingaverage/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/timedmovingaverage/
|
||||
list_query_example: moving_average
|
||||
---
|
||||
|
||||
|
|
|
@ -6,8 +6,6 @@ description: >
|
|||
Use the `quantile()` function to return all values within the `q` quantile or
|
||||
percentile of input data.
|
||||
weight: 210
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/percentile-quantile/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Query with Flux
|
||||
|
@ -15,7 +13,7 @@ menu:
|
|||
influxdb/v2.0/tags: [query, percentile, quantile]
|
||||
related:
|
||||
- /influxdb/v2.0/query-data/flux/query-median/
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/quantile/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/quantile/
|
||||
list_query_example: quantile
|
||||
---
|
||||
|
||||
|
|
|
@ -6,14 +6,12 @@ description: >
|
|||
`filter()` performs operations similar to the `SELECT` statement and the `WHERE`
|
||||
clause in InfluxQL and other SQL-like query languages.
|
||||
weight: 201
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/query-fields/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Query with Flux
|
||||
influxdb/v2.0/tags: [query, select, where]
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/filter/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/filter/
|
||||
- /influxdb/v2.0/query-data/flux/conditional-logic/
|
||||
- /influxdb/v2.0/query-data/flux/regular-expressions/
|
||||
list_code_example: |
|
||||
|
|
|
@ -10,16 +10,14 @@ description: >
|
|||
If time between points varies, these functions normalize points to a common time interval
|
||||
making values easily comparable.
|
||||
weight: 210
|
||||
aliases:
|
||||
- /v2.0/query-data/flux/rate/
|
||||
menu:
|
||||
influxdb_2_0:
|
||||
parent: Query with Flux
|
||||
name: Rate
|
||||
influxdb/v2.0/tags: [query, rate]
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/derivative/
|
||||
- /v2.0/reference/flux/stdlib/experimental/aggregate/rate/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/derivative/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/experimental/aggregate/rate/
|
||||
list_query_example: rate_of_change
|
||||
---
|
||||
|
||||
|
|
|
@ -9,11 +9,10 @@ menu:
|
|||
parent: Query with Flux
|
||||
weight: 220
|
||||
aliases:
|
||||
- /v2.0/query-data/guides/regular-expressions/
|
||||
- /v2.0/query-data/flux/regular-expressions/
|
||||
- /influxdb/v2.0/query-data/guides/regular-expressions/
|
||||
related:
|
||||
- /influxdb/v2.0/query-data/flux/query-fields/
|
||||
- /v2.0/reference/flux/stdlib/regexp/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/regexp/
|
||||
list_query_example: regular_expressions
|
||||
---
|
||||
|
||||
|
|
|
@ -11,10 +11,9 @@ menu:
|
|||
weight: 220
|
||||
influxdb/v2.0/tags: [scalar]
|
||||
related:
|
||||
- /v2.0/reference/flux/stdlib/built-in/transformations/stream-table/
|
||||
- /influxdb/v2.0/reference/flux/stdlib/built-in/transformations/stream-table/
|
||||
aliases:
|
||||
- /v2.0/query-data/guides/scalar-values/
|
||||
- /v2.0/query-data/flux/scalar-values/
|
||||
- /influxdb/v2.0/query-data/guides/scalar-values/
|
||||
list_code_example: |
|
||||
```js
|
||||
scalarValue = {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue