|
@ -16,8 +16,9 @@ Add your payment method and view billing information in the {{< cloud-name "shor
|
|||
1. Click the **user avatar** in the top right corner of the {{< cloud-name "short" >}}
|
||||
UI and select **Billing**.
|
||||
2. Do one of the following:
|
||||
- If you subscribed to an InfluxDB Cloud 2.0 plan through **AWS Marketplace**,
|
||||
click the **AWS** link to access your billing and subscription information.
|
||||
- If you subscribed to an InfluxDB Cloud 2.0 plan through **AWS Marketplace**
|
||||
or **GCP Marketplace**, click the **AWS** or **GCP** link to access your
|
||||
billing and subscription information.
|
||||
|
||||
- If you subscribed to an InfluxDB Cloud 2.0 plan through **InfluxData**, complete the following procedures as needed:
|
||||
|
||||
|
|
|
@ -58,5 +58,5 @@ To request a backup of data in your {{< cloud-name "short" >}} instance, contact
|
|||
2. Do one of the following:
|
||||
|
||||
- If you subscribed to an InfluxDB Cloud 2.0 **Usage-Based Plan** through **AWS Marketplace**, click the **AWS** link, click **Unsubscribe**, and then click **Yes, cancel subscription**.
|
||||
|
||||
- If you subscribed to an InfluxDB Cloud 2.0 **Usage-Based Plan** through **GCP Marketplace**, click the **GCP** link, click **Unsubscribe**, and then click **Yes, cancel subscription**.
|
||||
- If you subscribed to an InfluxDB Cloud 2.0 **Usage-Based Plan** through **InfluxData**, click **Cancel Service**. Select **I understand and agree to these conditions**, and then click **I understand, Cancel Service.** Click **Confirm and Cancel Service**. Your payment method is charged your final balance immediately upon cancellation of service.
|
||||
|
|
|
@ -6,6 +6,8 @@ weight: 1
|
|||
menu:
|
||||
v2_0_cloud:
|
||||
name: Get started with InfluxDB Cloud
|
||||
aliases:
|
||||
- /v2.0/cloud/
|
||||
---
|
||||
|
||||
{{< cloud-name >}} is a fully managed, hosted, multi-tenanted version of the
|
||||
|
@ -26,10 +28,29 @@ Limits are designed to let you monitor 5-10 sensors, stacks or servers comfortab
|
|||
## Sign up
|
||||
|
||||
1. Choose one of the following:
|
||||
- To subscribe to an InfluxDB Cloud 2.0 **Free Plan** through InfluxData, go to [InfluxDB Cloud 2.0]({{< cloud-link >}}), enter your credentials, and then click **Start your Free Plan now**. When you're ready to grow, [upgrade to the Usage-Based Plan](/v2.0/cloud/account-management/upgrade-to-usage-based-plan/).
|
||||
- To subscribe to an InfluxDB Cloud **Usage-Based** plan and pay through your AWS account, sign in to AWS, navigate to the [InfluxDB Cloud product on AWS Marketplace](https://aws.amazon.com/marketplace/pp/B08234JZPS), and follow the prompts to subscribe. After you click **Set Up Your Account**, enter your credentials, and then click **Start Now**. All usage charges will be paid through the subscribed AWS account.
|
||||
- **Subscribe through InfluxData**
|
||||
To subscribe to an InfluxDB Cloud 2.0 **Free Plan** through InfluxData,
|
||||
go to [InfluxDB Cloud 2.0]({{< cloud-link >}}), enter your credentials,
|
||||
and then click **Start your Free Plan now**.
|
||||
When you're ready to grow, [upgrade to the Usage-Based Plan](/v2.0/cloud/account-management/upgrade-to-usage-based-plan/).
|
||||
- **Subscribe through a cloud provider**
|
||||
To subscribe to an InfluxDB Cloud **Usage-Based** plan and pay through your
|
||||
**Amazon Web Services (AWS)** or **Google Cloud Platform (GCP)** account:
|
||||
|
||||
{{%note%}} **Note:** Currently, we do **not support** using an existing InfluxDB Cloud 2.0 account to sign up for an InfluxDB Cloud 2.0 plan through AWS Marketplace.
|
||||
- **AWS**
|
||||
Sign in to AWS, navigate to the [InfluxDB Cloud product on AWS Marketplace](https://aws.amazon.com/marketplace/pp/B08234JZPS),
|
||||
and follow the prompts to subscribe. After you click **Set Up Your Account**,
|
||||
enter your credentials, and then click **Start Now**.
|
||||
All usage charges will be paid through the subscribed AWS account.
|
||||
|
||||
- **GCP**
|
||||
Sign in to GCP, navigate to the [InfluxDB Cloud product on GCP Marketplace](https://console.cloud.google.com/marketplace/details/influxdata-public/cloud2-gcp-marketplace-prod),
|
||||
and follow the prompts to subscribe. After you click **Set Up Your Account**,
|
||||
enter your credentials, and then click **Start Now**.
|
||||
All usage charges will be paid through the subscribed GCP account.
|
||||
|
||||
{{%note%}}
|
||||
Currently, we do **not support** using an existing InfluxDB Cloud 2.0 account to sign up for an InfluxDB Cloud 2.0 plan through AWS or GCP Marketplaces.
|
||||
{{%/note%}}
|
||||
|
||||
2. InfluxDB Cloud requires email verification to complete the sign up process.
|
||||
|
|
|
@ -30,11 +30,11 @@ The InfluxDB UI provides multiple ways to create a task:
|
|||
- [Clone a task](#clone-a-task)
|
||||
|
||||
### Create a task from the Data Explorer
|
||||
1. Click the **Data Explorer** icon in the left navigation menu.
|
||||
1. In the navigation menu on the left, select **Explore** (**Data Explorer**).
|
||||
|
||||
{{< nav-icon "data-explorer" >}}
|
||||
|
||||
2. Building a query and click **Save As** in the upper right.
|
||||
2. Build a query and click **Save As** in the upper right.
|
||||
3. Select the **Task** option.
|
||||
4. Specify the task options. See [Task options](/v2.0/process-data/task-options)
|
||||
for detailed information about each option.
|
||||
|
@ -43,7 +43,7 @@ The InfluxDB UI provides multiple ways to create a task:
|
|||
|
||||
|
||||
### Create a task in the Task UI
|
||||
1. Click the **Tasks** icon in the left navigation menu.
|
||||
1. In the navigation menu on the left, select **Tasks**.
|
||||
|
||||
{{< nav-icon "tasks" >}}
|
||||
|
||||
|
@ -56,7 +56,7 @@ The InfluxDB UI provides multiple ways to create a task:
|
|||
7. Click **Save** in the upper right.
|
||||
|
||||
### Import a task
|
||||
1. Click the **Tasks** icon in the left navigation menu.
|
||||
1. In the navigation menu on the left, select **Tasks**.
|
||||
|
||||
{{< nav-icon "tasks" >}}
|
||||
|
||||
|
@ -69,7 +69,7 @@ The InfluxDB UI provides multiple ways to create a task:
|
|||
5. Click **Import JSON as Task**.
|
||||
|
||||
### Create a task from a template
|
||||
1. Click the **Settings** icon in the left navigation menu.
|
||||
1. In the navigation menu on the left, select **Settings** > **Templates**.
|
||||
|
||||
{{< nav-icon "Settings" >}}
|
||||
|
||||
|
@ -78,7 +78,7 @@ The InfluxDB UI provides multiple ways to create a task:
|
|||
|
||||
|
||||
### Clone a task
|
||||
1. Click the **Tasks** icon in the left navigation menu.
|
||||
1. In the navigation menu on the left, select **Tasks**.
|
||||
|
||||
{{< nav-icon "tasks" >}}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ related:
|
|||
---
|
||||
|
||||
## Delete a task in the InfluxDB UI
|
||||
1. Click the **Tasks** icon in the left navigation menu.
|
||||
1. In the navigation menu on the left, select **Tasks**.
|
||||
|
||||
{{< nav-icon "tasks" >}}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ InfluxDB lets you export tasks from the InfluxDB user interface (UI).
|
|||
Tasks are exported as downloadable JSON files.
|
||||
|
||||
## Export a task in the InfluxDB UI
|
||||
1. Click the **Tasks** icon in the left navigation menu.
|
||||
1. In the navigation menu on the left, select **Tasks**.
|
||||
|
||||
{{< nav-icon "tasks" >}}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ however, you can manually run a task from the InfluxDB user interface (UI) or th
|
|||
`influx` command line interface (CLI).
|
||||
|
||||
## Run a task from the InfluxDB UI
|
||||
1. Click the **Tasks** icon in the left navigation to view the lists of tasks.
|
||||
1. In the navigation menu on the left, select **Tasks**.
|
||||
|
||||
{{< nav-icon "tasks" >}}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ to view task run histories and associated logs.
|
|||
|
||||
## View a task's run history in the InfluxDB UI
|
||||
|
||||
1. Click the **Tasks** icon in the left navigation to view the lists of tasks.
|
||||
1. In the navigation menu on the left, select **Tasks**.
|
||||
|
||||
{{< nav-icon "tasks" >}}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ related:
|
|||
---
|
||||
|
||||
## Update a task in the InfluxDB UI
|
||||
To view your tasks, click the **Tasks** icon in the left navigation menu.
|
||||
Click the **Tasks** icon in the left navigation to view the lists of tasks.
|
||||
|
||||
{{< nav-icon "tasks" >}}
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ This guide covers the different options:
|
|||
## Data Explorer
|
||||
Queries can be built, executed, and visualized in InfluxDB UI's Data Explorer.
|
||||
|
||||

|
||||

|
||||
|
||||
## Influx REPL
|
||||
The [`influx repl` command](/v2.0/reference/cli/influx/repl) starts an interactive
|
||||
|
|
|
@ -23,6 +23,8 @@ To configure InfluxDB, use the following configuration options when starting the
|
|||
- [--session-length](#session-length)
|
||||
- [--session-renew-disabled](#session-renew-disabled)
|
||||
- [--store](#store)
|
||||
- [--tls-cert](#tls-cert)
|
||||
- [--tls-key](#tls-key)
|
||||
- [--tracing-type](#tracing-type)
|
||||
- [--vault-addr](#vault-addr)
|
||||
- [--vault-cacert](#vault-cacert)
|
||||
|
@ -174,6 +176,28 @@ influxd --store=bolt
|
|||
|
||||
---
|
||||
|
||||
## --tls-cert
|
||||
Path to TLS certificate file.
|
||||
|
||||
```sh
|
||||
influxd --tls-cert "influxdb.crt" --tls-key "influxdb.key"
|
||||
```
|
||||
|
||||
For more information, see [Enable TLS encryption](https://v2.docs.influxdata.com/v2.0/security/enable-tls/).
|
||||
|
||||
---
|
||||
|
||||
## --tls-key
|
||||
Path to TLS key file.
|
||||
|
||||
```sh
|
||||
influxd --tls-cert "influxdb.crt" --tls-key "influxdb.key"
|
||||
```
|
||||
|
||||
For more information, see [Enable TLS encryption](https://v2.docs.influxdata.com/v2.0/security/enable-tls/).
|
||||
|
||||
---
|
||||
|
||||
## --tracing-type
|
||||
Enables tracing in InfluxDB and specifies the tracing type.
|
||||
Tracing is disabled by default.
|
||||
|
|
|
@ -12,7 +12,7 @@ weight: 203
|
|||
|
||||
## Control at the dashboard level
|
||||
|
||||
Use dashboard controls in the upper right to update your dashboard.
|
||||
Use dashboard controls in the upper left to update your dashboard.
|
||||
|
||||
### Add a cell
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ weight: 201
|
|||
|
||||
## Create a new dashboard
|
||||
|
||||
1. Click the **Dashboards** icon in the navigation bar.
|
||||
1. In the navigation menu on the left, select **Boards** (**Dashboards**).
|
||||
|
||||
{{< nav-icon "dashboards" >}}
|
||||
|
||||
|
@ -24,7 +24,7 @@ weight: 201
|
|||
|
||||
**To import an existing dashboard**:
|
||||
|
||||
1. Click the **Dashboards** icon in the navigation bar.
|
||||
1. In the navigation menu on the left, select **Boards** (**Dashboards**).
|
||||
|
||||
{{< nav-icon "dashboards" >}}
|
||||
|
||||
|
@ -38,7 +38,7 @@ weight: 201
|
|||
|
||||
**To create a dashboard from a template in the dashboards page**:
|
||||
|
||||
1. Click the **Dashboards** icon in the navigation bar.
|
||||
1. In the navigation menu on the left, select **Boards** (**Dashboards**).
|
||||
|
||||
{{< nav-icon "dashboards" >}}
|
||||
|
||||
|
@ -62,7 +62,7 @@ weight: 201
|
|||
|
||||
## Clone a dashboard
|
||||
|
||||
1. Click the **Dashboards** icon in the navigation bar.
|
||||
1. In the navigation menu on the left, select **Boards** (**Dashboards**).
|
||||
|
||||
{{< nav-icon "dashboards" >}}
|
||||
|
||||
|
@ -79,7 +79,7 @@ weight: 201
|
|||
You can also send data to your dashboard directly from the Data Explorer. For details, [Explore metrics](/v2.0/visualize-data/explore-metrics).
|
||||
|
||||
#### Add a note to your dashboard
|
||||
1. From your dashboard, click **{{< icon "note" >}} Add Note** in the upper right.
|
||||
1. From your dashboard, click **{{< icon "note" >}} Add Note** in the upper left.
|
||||
2. Enter your note in the window that appears. You can use Markdown syntax to format your note.
|
||||
3. To preview your Markdown formatting, click the **Preview** option.
|
||||
4. Click **Save**.
|
||||
|
|
|
@ -11,7 +11,7 @@ weight: 204
|
|||
|
||||
To delete a dashboard from the InfluxDB user interface (UI):
|
||||
|
||||
1. Click the **Dashboards** icon in the navigation bar.
|
||||
1. In the navigation menu on the left, select **Boards** (**Dashboards**).
|
||||
|
||||
{{< nav-icon "dashboards" >}}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ InfluxDB lets you export dashboards from the InfluxDB user interface (UI).
|
|||
|
||||
## Export a dashboard
|
||||
|
||||
1. Click the **Dashboards** icon in the navigation bar.
|
||||
1. In the navigation menu on the left, select **Boards** (**Dashboards**).
|
||||
|
||||
{{< nav-icon "dashboards" >}}
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ The InfluxDB user interface (UI) allows you to move seamlessly between using the
|
|||
Flux builder or templates and manually editing the query.
|
||||
Choose between [visualization types](/v2.0/visualize-data/visualization-types/) for your query.
|
||||
|
||||
To open the **Data Explorer**, click the **Data Explorer** icon in the navigation bar:
|
||||
To open the **Data Explorer**, click the **Explore** (**Data Explorer**) icon in the left navigation menu:
|
||||
|
||||
{{< nav-icon "data-explorer" >}}
|
||||
|
||||
|
@ -26,7 +26,7 @@ Flux is InfluxData's functional data scripting language designed for querying,
|
|||
analyzing, and acting on time series data.
|
||||
See [Get started with Flux](/v2.0/query-data/get-started) to learn more about Flux.
|
||||
|
||||
1. Click the **Data Explorer** icon in the sidebar.
|
||||
1. In the navigation menu on the left, select **Explore* (**Data Explorer**).
|
||||
|
||||
{{< nav-icon "data-explorer" >}}
|
||||
|
||||
|
@ -48,14 +48,10 @@ See [Get started with Flux](/v2.0/query-data/get-started) to learn more about Fl
|
|||
|
||||
Select from available [visualization types](/v2.0/visualize-data/visualization-types/) or enable the **View Raw Data** option to view all of your query's results.
|
||||
|
||||
1. Select a visualization type from the dropdown menu in the upper-left.
|
||||
Select a visualization type from the dropdown menu in the upper-left.
|
||||
|
||||
{{< img-hd src="/img/2-0-visualization-dropdown.png" title="Visualization dropdown" />}}
|
||||
|
||||
2. Select the **Visualization** tab at the bottom of the **Data Explorer**.
|
||||
For details about all of the available visualization options, see
|
||||
[Visualization types](/v2.0/visualize-data/visualization-types/).
|
||||
|
||||
## Control your dashboard cell
|
||||
|
||||
To open the cell editor overlay, click the gear icon in the upper right of a cell and select **Configure**.
|
||||
|
@ -65,7 +61,7 @@ To open the cell editor overlay, click the gear icon in the upper right of a cel
|
|||
|
||||
Toggle the **View Raw Data** {{< icon "toggle" >}} option to see your data in table format instead of a graph. Use this option when data can't be visualized using a visualization type.
|
||||
|
||||
{{< img-hd src="/img/2-0-controls-view-raw-data.png" alt="View raw data" />}}
|
||||
{{< img-hd src="/img/beta-8-raw-data.png" alt="View raw data" />}}
|
||||
|
||||
### Save as CSV
|
||||
|
||||
|
@ -75,7 +71,7 @@ Click the CSV icon to save the cells contents as a CSV file.
|
|||
|
||||
Select how frequently to refresh the dashboard's data. By default, refreshing is paused.
|
||||
|
||||
{{< img-hd src="/img/2-0-controls-refresh-interval.png" alt="Select refresh interval" />}}
|
||||
{{< img-hd src="/img/beta-8-interval-dropdown.png" alt="Select refresh interval" />}}
|
||||
|
||||
### Manually refresh dashboard
|
||||
|
||||
|
|
|
@ -14,11 +14,10 @@ weight: 104
|
|||
Labels are a way to add visual metadata to dashboards, tasks, and other items in the InfluxDB UI.
|
||||
To manage labels:
|
||||
|
||||
1. Click the **Settings** icon in the navigation bar.
|
||||
- In the navigation menu on the left, select **Settings** > **Labels**.
|
||||
|
||||
{{< nav-icon "settings" >}}
|
||||
|
||||
2. Click **Labels**.
|
||||
|
||||
#### Create a label
|
||||
1. Click **{{< icon "plus" >}} Create Label**.
|
||||
|
|
|
@ -13,7 +13,7 @@ weight: 201
|
|||
|
||||
## Create a template from an existing dashboard
|
||||
|
||||
1. Click the **Dashboards** icon in the navigation bar.
|
||||
1. In the navigation menu on the left, select **Boards** (**Dashboards**).
|
||||
|
||||
{{< nav-icon "dashboards" >}}
|
||||
|
||||
|
@ -28,11 +28,10 @@ weight: 201
|
|||
Only [user templates](/v2.0/visualize-data/templates/#dashboard-template-types) can be cloned.
|
||||
{{% /note %}}
|
||||
|
||||
1. Click the **Settings** icon in the left navigation.
|
||||
1. In the navigation menu on the left, select **Settings** > **Templates**.
|
||||
|
||||
{{< nav-icon "settings" >}}
|
||||
|
||||
2. Select the **Templates** tab.
|
||||
3. Select **User Templates**.
|
||||
|
||||
{{< img-hd src="/img/2-0-templates-type-select.png" alt="Select User Templates" />}}
|
||||
|
@ -42,11 +41,10 @@ Only [user templates](/v2.0/visualize-data/templates/#dashboard-template-types)
|
|||
|
||||
## Import an existing dashboard template
|
||||
|
||||
1. Click the **Settings** icon in the left navigation.
|
||||
1. In the navigation menu on the left, select **Settings** > **Templates**.
|
||||
|
||||
{{< nav-icon "settings" >}}
|
||||
|
||||
2. Select the **Templates** tab.
|
||||
3. Click **Import Template** in the upper right.
|
||||
4. In the window that appears:
|
||||
* Select **Upload File** to drag-and-drop or select a file.
|
||||
|
|
|
@ -13,10 +13,9 @@ weight: 203
|
|||
|
||||
To delete a template in the InfluxDB UI:
|
||||
|
||||
1. Click the **Settings** icon in the left navigation.
|
||||
1. In the navigation menu on the left, select **Settings** > **Templates**.
|
||||
|
||||
{{< nav-icon "settings" >}}
|
||||
|
||||
2. Select the **Templates** tab.
|
||||
3. Hover over the name of the template you want to delete, then click **{{< icon "trash" >}}**.
|
||||
3. Click **Delete** to delete your dashboard.
|
||||
|
|
|
@ -13,11 +13,10 @@ weight: 202
|
|||
|
||||
To create a new dashboard from an InfluxDB dashboard template:
|
||||
|
||||
1. Click the **Settings** icon in the left navigation.
|
||||
1. In the navigation menu on the left, select **Settings** > **Templates**.
|
||||
|
||||
{{< nav-icon "settings" >}}
|
||||
|
||||
2. Select the **Templates** tab.
|
||||
3. Select the [template type](/v2.0/visualize-data/templates/#dashboard-template-types).
|
||||
|
||||
{{< img-hd src="/img/2-0-templates-type-select.png" alt="Select User Templates" />}}
|
||||
|
|
|
@ -12,11 +12,10 @@ weight: 202
|
|||
|
||||
To view templates in the InfluxDB userface (UI):
|
||||
|
||||
1. Click the **Settings** icon in the left navigation.
|
||||
1. In the navigation menu on the left, select **Settings** > **Templates**.
|
||||
|
||||
{{< nav-icon "settings" >}}
|
||||
|
||||
2. Select the **Templates** tab.
|
||||
3. Select templates to view:
|
||||
|
||||
{{< img-hd src="/img/2-0-templates-type-select.png" alt="Select User Templates" />}}
|
||||
|
|
|
@ -13,7 +13,7 @@ menu:
|
|||
|
||||
The **Gauge** visualization displays the most recent value for a time series in a gauge.
|
||||
|
||||
{{< img-hd src="/img/2-0-visualizations-gauge-example.png" alt="Gauge example" />}}
|
||||
{{< img-hd src="/img/2-0-visualizations-gauge-example-8.png" alt="Gauge example" />}}
|
||||
|
||||
Select the **Gauge** option from the visualization dropdown in the upper right.
|
||||
|
||||
|
@ -64,4 +64,4 @@ from(bucket: "example-bucket")
|
|||
```
|
||||
|
||||
###### Visualization options for pressure gauge
|
||||
{{< img-hd src="/img/2-0-visualizations-guage-pressure.png" alt="Pressure guage example" />}}
|
||||
{{< img-hd src="/img/2-0-visualizations-gauge-pressure-8.png" alt="Pressure guage example" />}}
|
||||
|
|
|
@ -18,7 +18,7 @@ related:
|
|||
The **Graph + Single Stat** view displays the specified time series in a line graph
|
||||
and overlays the single most recent value as a large numeric value.
|
||||
|
||||
{{< img-hd src="/img/2-0-visualizations-line-graph-single-stat-example.png" alt="Line Graph + Single Stat example" />}}
|
||||
{{< img-hd src="/img/2-0-visualizations-line-graph-single-stat-example-8.png" alt="Line Graph + Single Stat example" />}}
|
||||
|
||||
Select the **Graph + Single Stat** option from the visualization dropdown in the upper right.
|
||||
|
||||
|
@ -92,5 +92,5 @@ from(bucket: "example-bucket")
|
|||
r._field == "used_percent"
|
||||
)
|
||||
```
|
||||
###### Memory usage visualization
|
||||
{{< img-hd src="/img/2-0-visualizations-graph-single-stat-mem.png" alt="Graph + Single Stat Memory Usage Example" />}}
|
||||
###### Memory allocations visualization
|
||||
{{< img-hd src="/img/2-0-visualizations-graph-single-stat-mem-8.png" alt="Graph + Single Stat Memory Usage Example" />}}
|
||||
|
|
|
@ -14,7 +14,7 @@ menu:
|
|||
The Graph visualization provides several types of graphs, each configured through
|
||||
the [Graph controls](#graph-controls).
|
||||
|
||||
{{< img-hd src="/img/2-0-visualizations-line-graph-example.png" alt="Line Graph example" />}}
|
||||
{{< img-hd src="/img/2-0-visualizations-line-graph-example-8.png" alt="Line Graph example" />}}
|
||||
|
||||
Select the **Graph** option from the visualization dropdown in the upper right.
|
||||
|
||||
|
@ -59,13 +59,13 @@ the visualization dropdown.
|
|||
## Graph Examples
|
||||
|
||||
##### Graph with linear interpolation
|
||||
{{< img-hd src="/img/2-0-visualizations-line-graph-example.png" alt="Line Graph example" />}}
|
||||
{{< img-hd src="/img/2-0-visualizations-line-graph-example-8.png" alt="Line Graph example" />}}
|
||||
|
||||
##### Graph with smooth interpolation
|
||||
{{< img-hd src="/img/2-0-visualizations-line-graph-smooth-example.png" alt="Step-Plot Graph example" />}}
|
||||
{{< img-hd src="/img/2-0-visualizations-line-graph-smooth-example-8.png" alt="Step-Plot Graph example" />}}
|
||||
|
||||
##### Graph with step interpolation
|
||||
{{< img-hd src="/img/2-0-visualizations-line-graph-step-example.png" alt="Step-Plot Graph example" />}}
|
||||
{{< img-hd src="/img/2-0-visualizations-line-graph-step-example-8.png" alt="Step-Plot Graph example" />}}
|
||||
|
||||
<!-- ##### Stacked Graph example
|
||||
{{< img-hd src="/img/2-0-visualizations-stacked-graph-example.png" alt="Stacked Graph example" />}} -->
|
||||
|
|
|
@ -13,7 +13,7 @@ menu:
|
|||
|
||||
The **Single Stat** view displays the most recent value of the specified time series as a numerical value.
|
||||
|
||||
{{< img-hd src="/img/2-0-visualizations-single-stat-example.png" alt="Single stat example" />}}
|
||||
{{< img-hd src="/img/2-0-visualizations-single-stat-example-8.png" alt="Single stat example" />}}
|
||||
|
||||
Select the **Single Stat** option from the visualization dropdown in the upper right.
|
||||
|
||||
|
@ -62,4 +62,4 @@ from(bucket: "example-bucket")
|
|||
```
|
||||
|
||||
###### Memory usage as a single stat
|
||||
{{< img-hd src="/img/2-0-visualizations-single-stat-memor.png" alt="Graph + Single Stat Memory Usage Example" />}}
|
||||
{{< img-hd src="/img/2-0-visualizations-single-stat-example-8.png" alt="Graph + Single Stat Memory Usage Example" />}}
|
||||
|
|
|
@ -93,10 +93,9 @@ To quickly start writing data, use the provided user interface.
|
|||
where you're hosting the UI (by default, **localhost:9999**).
|
||||
- _**InfluxDB 2.0 Cloud**_:
|
||||
In your browser, go to https://cloud2.influxdata.com/.
|
||||
2. Click **Load Data** in the navigation menu on the left.
|
||||
3. Select **Buckets**.
|
||||
4. Under the bucket you want to write data to, click **{{< icon "plus" >}} Add Data**.
|
||||
5. Select from the following options:
|
||||
2. In the navigation menu on the left, select **Data** (**Load Data**) > **Buckets**.
|
||||
3. Under the bucket you want to write data to, click **{{< icon "plus" >}} Add Data**.
|
||||
4. Select from the following options:
|
||||
|
||||
- [Configure Telegraf Agent](#configure-telegraf-agent)
|
||||
- [Line Protocol](#line-protocol)
|
||||
|
@ -120,7 +119,7 @@ To configure a Telegraf agent, see [Automatically create a Telegraf configuratio
|
|||
- **Enter Manually:**
|
||||
Select the time precision of your data.
|
||||
Manually enter line protocol.
|
||||
2. Click **Continue**.
|
||||
2. Click **Write Data**.
|
||||
A message indicates whether data is successfully written to InfluxDB.
|
||||
3. To add more data or correct line protocol, click **Previous**.
|
||||
4. Click **Finish**.
|
||||
|
|
|
@ -13,11 +13,10 @@ weight: 301
|
|||
Create a new scraper in the InfluxDB user interface (UI).
|
||||
|
||||
## Create a scraper in the InfluxDB UI
|
||||
1. Click **Load Data** in the navigation bar.
|
||||
1. In the navigation menu on the left, select **Data** (**Load Data**) > **Scrapers**.
|
||||
|
||||
{{< nav-icon "load data" >}}
|
||||
|
||||
2. Click **Scrapers**.
|
||||
3. Click **{{< icon "plus" >}} Create Scraper**.
|
||||
4. Enter a **Name** for the scraper.
|
||||
5. Select a **Bucket** to store the scraped data.
|
||||
|
|
|
@ -13,10 +13,9 @@ weight: 303
|
|||
Delete a scraper from the InfluxDB user interface (UI).
|
||||
|
||||
## Delete a scraper from the InfluxDB UI
|
||||
1. Click **Load Data** in the navigation bar.
|
||||
1. In the navigation menu on the left, select **Data** (**Load Data**) > **Scrapers**.
|
||||
|
||||
{{< nav-icon "load data" >}}
|
||||
|
||||
2. Click **Scrapers**.
|
||||
3. Hover over the scraper you want to delete and click the **{{< icon "delete" >}}** icon.
|
||||
4. Click **Delete**.
|
||||
|
|
|
@ -18,11 +18,9 @@ To modify either, [create a new scraper](/v2.0/write-data/scrape-data/manage-scr
|
|||
{{% /note %}}
|
||||
|
||||
## Update a scraper in the InfluxDB UI
|
||||
1. Click **Load Data** in the navigation bar.
|
||||
1. In the navigation menu on the left, select **Data** (**Load Data**) > **Scrapers**.
|
||||
|
||||
{{< nav-icon "load data" >}}
|
||||
|
||||
2. Click **Scrapers**.
|
||||
3. Hover over the scraper you would like to update and click the **{{< icon "pencil" >}}**
|
||||
that appears next to the scraper name.
|
||||
3. Hover over the scraper you would like to update and click the **{{< icon "pencil" >}}** that appears next to the scraper name.
|
||||
4. Enter a new name for the scraper. Press Return or click out of the name field to save the change.
|
||||
|
|
|
@ -30,11 +30,10 @@ for using Telegraf with InfluxDB v2.0._
|
|||
## Create a Telegraf configuration
|
||||
|
||||
1. Open the InfluxDB UI _(default: [localhost:9999](http://localhost:9999))_.
|
||||
2. Click **Load Data** in the left navigation menu.
|
||||
2. In the navigation menu on the left, select **Data** (**Load Data**) > **Telegraf**.
|
||||
|
||||
{{< nav-icon "load data" >}}
|
||||
|
||||
3. Select **Telegraf**.
|
||||
4. Click **{{< icon "plus" >}} Create Configuration**.
|
||||
5. In the **Bucket** dropdown, select the bucket where Telegraf will store collected data.
|
||||
6. Select one or more of the available plugin groups and click **Continue**.
|
||||
|
@ -42,6 +41,11 @@ for using Telegraf with InfluxDB v2.0._
|
|||
Plugins listed with a <span style="color:#32B08C">{{< icon "check" >}}</span>
|
||||
require no additional configuration.
|
||||
To configure a plugin or access plugin documentation, click the plugin name.
|
||||
|
||||
{{% note %}}
|
||||
Not all available plugins are listed on this screen. For more information on manually configuring additional plugins, see [Manually add Telegraf plugins](/v2.0/write-data/use-telegraf/manual-config/).
|
||||
{{% /note %}}
|
||||
|
||||
8. Provide a **Telegraf Configuration Name** and an optional **Telegraf Configuration Description**.
|
||||
9. Click **Create and Verify**.
|
||||
10. The **Test Your Configuration** page provides instructions for how to start
|
||||
|
|
|
@ -12,11 +12,10 @@ weight: 303
|
|||
|
||||
To delete a Telegraf configuration:
|
||||
|
||||
1. Click **Load Data** in the left navigation menu.
|
||||
1. In the navigation menu on the left, select **Data** (**Load Data**) > **Telegraf**.
|
||||
|
||||
{{< nav-icon "load data" >}}
|
||||
|
||||
2. Select **Telegraf**.
|
||||
3. Hover over the configuration you want to delete, click the **{{< icon "trash" >}}**
|
||||
icon, and click **Delete**.
|
||||
|
||||
|
|
|
@ -17,11 +17,10 @@ of a Telegraf configuration created in the UI.
|
|||
You cannot modify Telegraf settings in existing Telegraf configurations through the UI.
|
||||
{{% /note %}}
|
||||
|
||||
1. Click **Load Data** in left the navigation bar.
|
||||
1. In the navigation menu on the left, select **Data** (**Load Data**) > **Telegraf**.
|
||||
|
||||
{{< nav-icon "load data" >}}
|
||||
|
||||
2. Select **Telegraf**.
|
||||
3. Hover over the configuration you want to edit and click **{{< icon "pencil" >}}**
|
||||
to update the name or description.
|
||||
4. Press Return or click out of the editable field to save your changes.
|
||||
|
|
|
@ -14,11 +14,10 @@ weight: 301
|
|||
|
||||
View Telegraf configuration information in the InfluxDB user interface (UI):
|
||||
|
||||
1. Click **Load Data** in the navigation bar.
|
||||
- In the navigation menu on the left, select **Data** (**Load Data**) > **Telegraf**.
|
||||
|
||||
{{< nav-icon "load data" >}}
|
||||
|
||||
2. Click **Telegraf**.
|
||||
|
||||
### View and download the telegraf.conf
|
||||
To view the actual `telegraf.conf` associated with the configuration,
|
||||
|
|
|
@ -11,6 +11,7 @@ menu:
|
|||
v2_0:
|
||||
parent: Use Telegraf
|
||||
weight: 202
|
||||
v2.0/tags: [manually, plugin, mqtt]
|
||||
---
|
||||
|
||||
Use the Telegraf `influxdb_v2` output plugin to collect and write metrics into an InfluxDB v2.0 bucket.
|
||||
|
@ -29,7 +30,15 @@ Output plugins define destinations where metrics are sent.
|
|||
|
||||
_See [Telegraf plugins](/v2.0/reference/telegraf-plugins/) for a complete list of available plugins._
|
||||
|
||||
## Enable and configure the InfluxDB v2 output plugin
|
||||
### Manually add Telegraf plugins
|
||||
|
||||
To manually add any of the available [Telegraf plugins](/v2.0/reference/telegraf-plugins/), follow the steps below.
|
||||
|
||||
1. Find the plugin you want to enable from the complete list of available [Telegraf plugins](/v2.0/reference/telegraf-plugins/).
|
||||
2. Click **View** to the right of the plugin name to open the plugin page on GitHub. For example, view the MQTT plugin GitHub page [here](https://github.com/influxdata/telegraf/blob/release-1.14/plugins/inputs/mqtt_consumer/README.md).
|
||||
3. Copy and paste the example configuration into your Telegraf configuration file (typically named `telegraf.conf`).
|
||||
|
||||
### Enable and configure the InfluxDB v2 output plugin
|
||||
|
||||
To send data to an InfluxDB v2.0 instance, enable in the
|
||||
[`influxdb_v2` output plugin](https://github.com/influxdata/telegraf/blob/master/plugins/outputs/influxdb_v2/README.md)
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
title: Use Telegraf plugins
|
||||
description: >
|
||||
Enter a description here.
|
||||
menu:
|
||||
v2_0:
|
||||
name: Use Telegraf plugins
|
||||
parent: Use Telegraf
|
||||
weight: 202
|
||||
---
|
||||
The following articles guide you through step-by-step Telegraf configuration examples:
|
||||
|
||||
{{< children >}}
|
|
@ -0,0 +1,117 @@
|
|||
---
|
||||
title: Use the HTTP input plugin
|
||||
seotitle: Use the Telegraf HTTP input plugin to write data to InfluxDB
|
||||
list_title: HTTP input plugin
|
||||
description: >
|
||||
Write Citi Bike data to your InfluxDB instance with the HTTP plugin.
|
||||
menu:
|
||||
v2_0:
|
||||
name: HTTP input plugin
|
||||
parent: Use Telegraf plugins
|
||||
weight: 202
|
||||
---
|
||||
|
||||
This example walks through using the Telegraf HTTP input plugin to collect live metrics on Citi Bike stations in New York City. Live station data is available in JSON format from [NYC OpenData](https://data.cityofnewyork.us/NYC-BigApps/Citi-Bike-Live-Station-Feed-JSON-/p94q-8hxh).
|
||||
|
||||
Configure [`influxdb` output plugin](telegraf/v1.13/plugins/plugin-list/#influxdb) to write metrics to your InfluxDB 2.0 instance.
|
||||
|
||||
## Configure the HTTP Input plugin in your Telegraf configuration file
|
||||
|
||||
To retrieve data from the Citi Bike URL endpoint, enable the `inputs.http` input plugin in your Telegraf configuration file.
|
||||
|
||||
Specify the following options:
|
||||
|
||||
### `urls`
|
||||
One or more URLs to read metrics from. For this example, use `https://feeds.citibikenyc.com/stations/stations.json`.
|
||||
|
||||
### `data_format`
|
||||
The format of the data in the HTTP endpoints that Telegraf will ingest. For this example, use JSON.
|
||||
|
||||
|
||||
## Add parser information to your Telegraf configuration
|
||||
|
||||
Specify the following JSON-specific options.
|
||||
|
||||
### JSON
|
||||
|
||||
#### `json_query`
|
||||
To parse only the relevant portion of JSON data, set the `json_query` option with a [GJSON](https://github.com/tidwall/gjson) path. The result of the query should contain a JSON object or an array of objects.
|
||||
In this case, we don't want to parse the JSON query's `executionTime` at the beginning of the data, so we'll limit this to include only the data in the `stationBeanList` array.
|
||||
|
||||
#### `tag_keys`
|
||||
List of one or more JSON keys that should be added as tags. For this example, we'll use the tag keys `id`, `stationName`, `city`, and `postalCode`.
|
||||
|
||||
#### `json_string_fields`
|
||||
List the keys of fields that are in string format so that they can be parsed as strings. Here, the string fields are `statusValue`, `stAddress1`, `stAddress2`, `location`, and `landMark`.
|
||||
|
||||
#### `json_time_key`
|
||||
Key from the JSON file that creates the timestamp metric. In this case, we want to use the time that station data was last reported, or the `lastCommunicationTime`. If you don't specify a key, the time that Telegraf reads the data becomes the timestamp.
|
||||
|
||||
#### `json_time_format`
|
||||
The format used to interpret the designated `json_time_key`. This example uses [Go reference time format](https://golang.org/pkg/time/#Time.Format). For example, `Mon Jan 2 15:04:05 MST 2006`.
|
||||
|
||||
#### `json_timezone`
|
||||
The timezone We'll set this to the Unix TZ value where our bike data takes place, `America/New_York`.
|
||||
|
||||
|
||||
#### Example configuration
|
||||
|
||||
```toml
|
||||
[[inputs.http]]
|
||||
#URL for NYC's Citi Bike station data in JSON format
|
||||
urls = ["https://feeds.citibikenyc.com/stations/stations.json"]
|
||||
|
||||
#Overwrite measurement name from default `http` to `citibikenyc`
|
||||
name_override = "citibikenyc"
|
||||
|
||||
#Exclude url and host items from tags
|
||||
tagexclude = ["url", "host"]
|
||||
|
||||
#Data from HTTP in JSON format
|
||||
data_format = "json"
|
||||
|
||||
#Parse `stationBeanList` array only
|
||||
json_query = "stationBeanList"
|
||||
|
||||
#Set station metadata as tags
|
||||
tag_keys = ["id", "stationName", "city", "postalCode"]
|
||||
|
||||
#Do not include station landmark data as fields
|
||||
fielddrop = ["landMark"]
|
||||
|
||||
#JSON values to set as string fields
|
||||
json_string_fields = ["statusValue", "stAddress1", "stAddress2", "location", "landMark"]
|
||||
|
||||
#Latest station information reported at `lastCommunicationTime`
|
||||
json_time_key = "lastCommunicationTime"
|
||||
|
||||
#Time is reported in Golang "reference time" format
|
||||
json_time_format = "2006-01-02 03:04:05 PM"
|
||||
|
||||
#Time is reported in Eastern Standard Time (EST)
|
||||
json_timezone = "America/New_York"
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Start Telegraf and verify data appears
|
||||
|
||||
[Start the Telegraf service](https://docs.influxdata.com/telegraf/v1.14/introduction/getting-started/).
|
||||
|
||||
To test that the data is being sent to InfluxDB, run the following (replacing `telegraf.conf` with the path to your configuration file):
|
||||
|
||||
```
|
||||
telegraf -config ~/telegraf.conf -test
|
||||
```
|
||||
|
||||
This command should return line protocol that looks similar to the following:
|
||||
|
||||
|
||||
```
|
||||
citibikenyc,id=3443,stationName=W\ 52\ St\ &\ 6\ Ave statusKey=1,location="",totalDocks=41,availableDocks=32,latitude=40.76132983124814,longitude=-73.97982001304626,availableBikes=8,stAddress2="",stAddress1="W 52 St & 6 Ave",statusValue="In Service" 1581533519000000000
|
||||
citibikenyc,id=367,stationName=E\ 53\ St\ &\ Lexington\ Ave availableBikes=8,stAddress1="E 53 St & Lexington Ave",longitude=-73.97069431,latitude=40.75828065,stAddress2="",statusKey=1,location="",statusValue="In Service",totalDocks=34,availableDocks=24 1581533492000000000
|
||||
citibikenyc,id=359,stationName=E\ 47\ St\ &\ Park\ Ave totalDocks=64,availableBikes=15,statusValue="In Service",location="",latitude=40.75510267,availableDocks=49,stAddress1="E 47 St & Park Ave",longitude=-73.97498696,statusKey=1,stAddress2="" 1581533535000000000
|
||||
citibikenyc,id=304,stationName=Broadway\ &\ Battery\ Pl statusValue="In Service",availableDocks=11,stAddress1="Broadway & Battery Pl",statusKey=1,stAddress2="",location="",totalDocks=33,latitude=40.70463334,longitude=-74.01361706,availableBikes=22 1581533499000000000
|
||||
```
|
||||
|
||||
Now, you can explore and query the Citi Bike data in InfluxDB.
|
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 241 KiB |
After Width: | Height: | Size: 144 KiB |
After Width: | Height: | Size: 162 KiB |
After Width: | Height: | Size: 156 KiB |
After Width: | Height: | Size: 167 KiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 180 KiB |
After Width: | Height: | Size: 314 KiB |
After Width: | Height: | Size: 78 KiB |