edits f Scott; separate load data to add menu item

pull/1410/head
Kelly 2020-09-09 14:06:55 -07:00
parent 75601a9f3c
commit 8d1e003ee3
2 changed files with 46 additions and 37 deletions

View File

@ -25,7 +25,7 @@ Discover what you'll need to write data into InfluxDB Cloud or OSS (open source)
- [Quickly start collecting data](#quickly-start-collecting-data) - [Quickly start collecting data](#quickly-start-collecting-data)
- [Demo data for InfluxDB Cloud](#demo-data-for-influxdb-cloud) - [Demo data for InfluxDB Cloud](#demo-data-for-influxdb-cloud)
- [Quick Start for InfluxDB OSS](#quick-start-for-influxdb-oss) - [Quick Start for InfluxDB OSS](#quick-start-for-influxdb-oss)
- [Load data from sources in the InfluxDB UI](#load-data-from-sources-in-the-influxdb-user-interface-ui) - [Load data from sources in the InfluxDB UI](/influxdb/v2.0/write-data/load-data/)
- [Use no-code solutions](/influxdb/v2.0/write-data/no-code) - [Use no-code solutions](/influxdb/v2.0/write-data/no-code)
- [Use developer tools](/influxdb/v2.0/write-data/developer-tools) - [Use developer tools](/influxdb/v2.0/write-data/developer-tools)
- [Best practices for writing data](/influxdb/v2.0/write-data/best-practices/) - [Best practices for writing data](/influxdb/v2.0/write-data/best-practices/)
@ -168,42 +168,6 @@ that scrapes data from the `/metrics` endpoint.
--- ---
## Load data from sources in the InfluxDB user interface (UI)
Load data from the following sources in the InfluxDB user interface (UI):
- [Client libraries](#load-data-from-a-client-library-in-the-ui)
- [Telegraf plugins](#load-data-from-a-telegraf-plugin-in-the-ui)
### Load data from a client library in the UI
1. In the navigation menu on the left, click **Data (Load Data)** > **Sources**.
{{< nav-icon "data" >}}
2. Do one of the following:
- Enter a specific client library to search for in the **Search data writing methods** field.
- Scroll down to browse available client libraries.
3. Click the client library to load data from.
4. Under **Code Sample Options**, you'll see a list of your InfluxDB [tokens](/influxdb/v2.0/reference/glossary/#token) and [buckets](/influxdb/v2.0/reference/glossary/#bucket). Select both an authentication token and a bucket to write your data to. The selected token and bucket are automatically added to scripts on the page that you can use to initialize a client and write data.
5. Click the **Copy to Clipboard** buttons under a script to easily paste the script into your terminal or save the script to reuse for automation.
6. Run the scripts on the page to do the following as needed:
- Install the package, libraries, or client
- Write data
- Execute a Flux query
### Load data from a Telegraf plugin in the UI
1. In the navigation menu on the left, click **Data (Load Data)** > **Sources**.
{{< nav-icon "data" >}}
2. Do one of the following:
- Enter a specific Telegraf plugin to search for in the **Search data writing methods** field.
- Scroll down to browse available plugins.
3. Click the plugin to load data from.
4. [Install Telegraf](/telegraf/v1.15/introduction/installation/).
5. Copy the default configuration script in the UI, and then add the script to your [Telegraf configurations](/influxdb/v2.0/telegraf-configs/).
7. Adjust configuration settings as needed. To find configuration settings for a specific plugin, see [Telegraf plugins](/telegraf/v1.15/plugins/).
---
## Next steps ## Next steps
With your data in InfluxDB, you're ready to do one or more of the following: With your data in InfluxDB, you're ready to do one or more of the following:

View File

@ -0,0 +1,45 @@
---
title: Load data from sources in the InfluxDB user interface (UI)
seotitle: Load data source in UI
list_title: Load data source in UI
weight: 105
description: >
Load data source in UI
menu:
influxdb_2_0:
name: Load data source in UI
parent: Write data
---
Load data from the following sources in the InfluxDB user interface (UI):
- [Client libraries](#load-data-from-a-client-library-in-the-ui)
- [Telegraf plugins](#load-data-from-a-telegraf-plugin-in-the-ui)
### Load data from a client library in the UI
1. In the navigation menu on the left, click **Data (Load Data)** > **Sources**.
{{< nav-icon "data" >}}
2. Do one of the following:
- Enter a specific client library to search for in the **Search data writing methods** field.
- Scroll down to browse available client libraries.
3. Click the client library to load data from.
4. Under **Code Sample Options**, you'll see a list of your InfluxDB [tokens](/influxdb/v2.0/reference/glossary/#token) and [buckets](/influxdb/v2.0/reference/glossary/#bucket). Select both an authentication token and a bucket to write your data to. The selected token and bucket are automatically added to scripts on the page that you can use to initialize a client and write data.
5. Click the **Copy to Clipboard** buttons under a script to easily paste the script into your terminal or save the script to reuse for automation.
6. Run the scripts on the page to do the following as needed:
- Install the package, libraries, or client
- Write data
- Execute a Flux query
### Load data from a Telegraf plugin in the UI
1. In the navigation menu on the left, click **Data (Load Data)** > **Sources**.
{{< nav-icon "data" >}}
2. Do one of the following:
- Enter a specific Telegraf plugin to search for in the **Search data writing methods** field.
- Scroll down to browse available plugins.
3. Click the plugin to load data from.
4. [Install Telegraf](/telegraf/v1.15/introduction/installation/).
5. Copy the default configuration script in the UI, and then add the script to [Configure Telegraf](https://docs.influxdata.com/telegraf/v1.15/introduction/getting-started/#configure-telegraf).
6. Adjust configuration settings as needed. To find configuration settings for a specific plugin, see [Telegraf plugins](/telegraf/v1.15/plugins/).
7. (Optional) To add the Telegraf configuration to InfluxDB, see [Telegraf configuration](/influxdb/v2.0/telegraf-configs/).