updated bucket, telegraf, and scraper workflows

pull/404/head
Scott Anderson 2019-08-23 10:18:42 -06:00
parent 9249899c60
commit 1713af0df5
14 changed files with 43 additions and 47 deletions

View File

@ -14,14 +14,14 @@ to create a bucket.
## Create a bucket in the InfluxDB UI ## Create a bucket in the InfluxDB UI
1. Click the **Settings** tab in the navigation bar. 1. Click **Load Data** in the navigation bar.
{{< nav-icon "settings" >}} {{< nav-icon "load data" >}}
2. Select the **Buckets** tab. 2. Select **Buckets**.
3. Click **{{< icon "plus" >}} Create Bucket** in the upper right. 3. Click **{{< icon "plus" >}} Create Bucket** in the upper right.
4. Enter a **Name** for the bucket. 4. Enter a **Name** for the bucket.
5. Select **How often to clear data?**: 5. Select **Delete Data older than**:
Select **Never** to retain data forever. Select **Never** to retain data forever.
Select **Periodically** to define a specific retention policy. Select **Periodically** to define a specific retention policy.
5. Click **Create** to create the bucket. 5. Click **Create** to create the bucket.

View File

@ -14,13 +14,13 @@ to delete a bucket.
## Delete a bucket in the InfluxDB UI ## Delete a bucket in the InfluxDB UI
1. Click the **Settings** tab in the navigation bar. 1. Click **Load Data** in the navigation bar.
{{< nav-icon "settings" >}} {{< nav-icon "load data" >}}
2. Select the **Buckets** tab. 2. Select **Buckets**.
3. Hover over the bucket you would like to delete. 3. Hover over the bucket you would like to delete.
4. Click **Delete** and **Confirm** to delete the bucket. 4. Click **{{< icon "delete" >}} Delete Bucket** and **Delete** to delete the bucket.
## Delete a bucket using the influx CLI ## Delete a bucket using the influx CLI

View File

@ -23,11 +23,11 @@ If you change a bucket name, be sure to update the bucket in the above places as
## Update a bucket's name in the InfluxDB UI ## Update a bucket's name in the InfluxDB UI
1. Click the **Settings** tab in the navigation bar. 1. Click **Load Data** in the navigation bar.
{{< nav-icon "settings" >}} {{< nav-icon "load data" >}}
2. Select the **Buckets** tab. 2. Select **Buckets**.
3. Hover over the name of the bucket you want to rename in the list. 3. Hover over the name of the bucket you want to rename in the list.
4. Click **Rename**. 4. Click **Rename**.
5. Review the information in the window that appears and click **I understand, let's rename my bucket**. 5. Review the information in the window that appears and click **I understand, let's rename my bucket**.
@ -35,11 +35,11 @@ If you change a bucket name, be sure to update the bucket in the above places as
## Update a bucket's retention policy in the InfluxDB UI ## Update a bucket's retention policy in the InfluxDB UI
1. Click the **Settings** tab in the navigation bar. 1. Click **Load Data** in the navigation bar.
{{< nav-icon "settings" >}} {{< nav-icon "load data" >}}
2. Select the **Buckets** tab. 2. Select **Buckets**.
3. Click the name of the bucket you want to update from the list. 3. Click the name of the bucket you want to update from the list.
4. In the window that appears, edit the bucket's retention policy. 4. In the window that appears, edit the bucket's retention policy.
5. Click **Save Changes**. 5. Click **Save Changes**.

View File

@ -11,11 +11,11 @@ weight: 202
## View buckets in the InfluxDB UI ## View buckets in the InfluxDB UI
1. Click the **Settings** tab in the navigation bar. 1. Click **Load Data** in the navigation bar.
{{< nav-icon "settings" >}} {{< nav-icon "load data" >}}
2. Select the **Buckets** tab. 2. Select **Buckets**.
3. Click on a bucket to view details. 3. Click on a bucket to view details.
## View buckets using the influx CLI ## View buckets using the influx CLI

View File

@ -114,11 +114,11 @@ influx write -b bucketName -o orgName -p s @/path/to/line-protocol.txt
``` ```
## Write data in the InfluxDB UI ## Write data in the InfluxDB UI
1. Click **Settings** in the left navigation menu. 1. Click **Load Data** in the left navigation menu.
{{< nav-icon "settings" >}} {{< nav-icon "load data" >}}
2. Select the **Buckets** tab. 2. Select **Buckets**.
3. Hover over the bucket to write data to and click **{{< icon "plus" >}} Add Data**. 3. Hover over the bucket to write data to and click **{{< icon "plus" >}} Add Data**.
4. Select **Line Protocol**. 4. Select **Line Protocol**.
_You can also [use Telegraf](/v2.0/write-data/use-telegraf/) or _You can also [use Telegraf](/v2.0/write-data/use-telegraf/) or

View File

@ -13,17 +13,17 @@ weight: 301
Create a new scraper in the InfluxDB user interface (UI). Create a new scraper in the InfluxDB user interface (UI).
## Create a scraper in the InfluxDB UI ## Create a scraper in the InfluxDB UI
1. Click the **Settings** tab in the navigation bar. 1. Click **Load Data** in the navigation bar.
{{< nav-icon "settings" >}} {{< nav-icon "load data" >}}
2. Click the **Scrapers** tab. 2. Click **Scrapers**.
3. Click **{{< icon "plus" >}} Create Scraper**. 3. Click **{{< icon "plus" >}} Create Scraper**.
4. Enter a **Name** for the scraper. 4. Enter a **Name** for the scraper.
5. Select a **Bucket** to store the scraped data. 5. Select a **Bucket** to store the scraped data.
6. Enter the **Target URL** to scrape. The default URL value is `http://localhost:9999/metrics`, 6. Enter the **Target URL** to scrape. The default URL value is `http://localhost:9999/metrics`,
which provides InfluxDB-specific metrics in the [Prometheus data format](https://prometheus.io/docs/instrumenting/exposition_formats/). which provides InfluxDB-specific metrics in the [Prometheus data format](https://prometheus.io/docs/instrumenting/exposition_formats/).
7. Click **Finish**. 7. Click **Create**.
The new scraper will begin scraping data after approximately 10 seconds, The new scraper will begin scraping data after approximately 10 seconds,
then continue scraping in 10 second intervals. then continue scraping in 10 second intervals.

View File

@ -13,11 +13,11 @@ weight: 303
Delete a scraper from the InfluxDB user interface (UI). Delete a scraper from the InfluxDB user interface (UI).
## Delete a scraper from the InfluxDB UI ## Delete a scraper from the InfluxDB UI
1. Click the **Settings** tab in the navigation bar. 1. Click **Load Data** in the navigation bar.
{{< nav-icon "settings" >}} {{< nav-icon "load data" >}}
2. Click the **Scrapers** tab. A listing of any existing scrapers appears with the 2. Click **Scrapers**. A listing of any existing scrapers appears with the
**Name**, **URL**, and **BUCKET** for each scraper. **Name**, **URL**, and **Bucket** for each scraper.
3. Hover over the scraper you want to delete and click **Delete**. 3. Hover over the scraper you want to delete and click **Delete**.
4. Click **Confirm**. 4. Click **Confirm**.

View File

@ -13,16 +13,16 @@ weight: 302
Update a scraper in the InfluxDB user interface (UI). Update a scraper in the InfluxDB user interface (UI).
{{% note %}} {{% note %}}
Scraper **Target URLs** and **BUCKETS** can not be updated. Scraper **Target URLs** and **Buckets** can not be updated.
To modify either, [create a new scraper](/v2.0/write-data/scrape-data/manage-scrapers/create-a-scraper). To modify either, [create a new scraper](/v2.0/write-data/scrape-data/manage-scrapers/create-a-scraper).
{{% /note %}} {{% /note %}}
## Update a scraper in the InfluxDB UI ## Update a scraper in the InfluxDB UI
1. Click the **Settings** tab in the navigation bar. 1. Click **Load Data** in the navigation bar.
{{< nav-icon "settings" >}} {{< nav-icon "load data" >}}
2. Click the **Scrapers** tab. A list of existing scrapers appears. 2. Click **Scrapers**. A list of existing scrapers appears.
3. Hover over the scraper you would like to update and click the **{{< icon "pencil" >}}** 3. Hover over the scraper you would like to update and click the **{{< icon "pencil" >}}**
that appears next to the scraper name. 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. 4. Enter a new name for the scraper. Press Return or click out of the name field to save the change.

View File

@ -29,7 +29,7 @@ for using Telegraf with InfluxDB v2.0._
{{< nav-icon "load data" >}} {{< nav-icon "load data" >}}
3. Click the **Telegraf** tab. 3. Select **Telegrafs**.
4. Click **{{< icon "plus" >}} Create Configuration**. 4. Click **{{< icon "plus" >}} Create Configuration**.
5. In the **Bucket** dropdown, select the bucket where Telegraf will store collected data. 5. In the **Bucket** dropdown, select the bucket where Telegraf will store collected data.
6. Select one or more of the available plugin groups 6. Select one or more of the available plugin groups

View File

@ -12,16 +12,14 @@ weight: 303
To delete a Telegraf configuration: To delete a Telegraf configuration:
1. Click the **Settings** tab in the navigation bar. 1. Click **Load Data** in the left navigation menu.
{{< nav-icon "settings" >}} {{< nav-icon "load data" >}}
2. Click the **Telegraf** tab. 2. Select **Telegraf**.
3. Hover over the configuration you want to delete, click the **{{< icon "trash" >}}** 3. Hover over the configuration you want to delete, click the **{{< icon "trash" >}}**
icon, and **Delete**. icon, and **Delete**.
{{< img-hd src="/img/2-0-telegraf-config-delete.png" />}}
{{% note %}} {{% note %}}
Deleting a Telegraf configuration does not affect _**running**_ Telegraf agents. Deleting a Telegraf configuration does not affect _**running**_ Telegraf agents.
However, if an agents stops, it needs a new configuration to start. However, if an agents stops, it needs a new configuration to start.

View File

@ -17,13 +17,11 @@ of a Telegraf configuration created in the UI.
You cannot modify Telegraf settings in existing Telegraf configurations through the UI. You cannot modify Telegraf settings in existing Telegraf configurations through the UI.
{{% /note %}} {{% /note %}}
1. Click the **Settings** tab in the navigation bar. 1. Click **Load Data** in left the navigation bar.
{{< nav-icon "settings" >}} {{< nav-icon "load data" >}}
2. Click the **Telegraf** tab. 2. Select **Telegraf**.
3. Hover over the configuration you want to edit and click **{{< icon "pencil" >}}** 3. Hover over the configuration you want to edit and click **{{< icon "pencil" >}}**
to update the name or description. to update the name or description.
4. Press Return or click out of the editable field to save your changes. 4. Press Return or click out of the editable field to save your changes.
{{< img-hd src="/img/2-0-telegraf-config-update.png" />}}

View File

@ -14,11 +14,11 @@ weight: 301
View Telegraf configuration information in the InfluxDB user interface (UI): View Telegraf configuration information in the InfluxDB user interface (UI):
1. Click the **Settings** tab in the navigation bar. 1. Click **Load Data** in the navigation bar.
{{< nav-icon "settings" >}} {{< nav-icon "load data" >}}
2. Click the **Telegraf** tab. 2. Click **Telegraf**.
### View and download the telegraf.conf ### View and download the telegraf.conf
To view the actual `telegraf.conf` associated with the configuration, To view the actual `telegraf.conf` associated with the configuration,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB