fix frontmatter causing build issues, add custom youtube shortcode, add video to demo data section, resolves #1135
parent
e08d9069d4
commit
f013a7430e
|
@ -117,6 +117,7 @@
|
||||||
"article/tags",
|
"article/tags",
|
||||||
"article/telegraf-plugins",
|
"article/telegraf-plugins",
|
||||||
"article/truncate",
|
"article/truncate",
|
||||||
|
"article/video",
|
||||||
"article/warn";
|
"article/warn";
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
.video {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 620px;
|
||||||
|
margin: 2rem 0;
|
||||||
|
}
|
|
@ -463,7 +463,7 @@ For information about using the InfluxDB v2 API, `influx` CLI, and client librar
|
||||||
see [Write data to InfluxDB](/v2.0/write-data/).
|
see [Write data to InfluxDB](/v2.0/write-data/).
|
||||||
|
|
||||||
#### Demo data
|
#### Demo data
|
||||||
If using **{{< cloud-name "short" >}}**, [add a demo data bucket](/v2.0/write-data/sample-data/demo-data/)
|
If using **{{< cloud-name "short" >}}**, [add a demo data bucket](/v2.0/reference/sample-data/#influxdb-cloud-demo-data)
|
||||||
for quick, **free** access to time series data.
|
for quick, **free** access to time series data.
|
||||||
|
|
||||||
### Query data
|
### Query data
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
title: Glossary
|
title: Glossary
|
||||||
description: >
|
description: >
|
||||||
Terms related to InfluxData products and platforms.
|
Terms related to InfluxData products and platforms.
|
||||||
weight: 7
|
weight: 8
|
||||||
menu:
|
menu:
|
||||||
v2_0_ref:
|
v2_0_ref:
|
||||||
name: Glossary
|
name: Glossary
|
||||||
|
|
|
@ -6,17 +6,18 @@ description: >
|
||||||
and InfluxDB Cloud.
|
and InfluxDB Cloud.
|
||||||
aliases:
|
aliases:
|
||||||
- /v2.0/write-data/sample-data/
|
- /v2.0/write-data/sample-data/
|
||||||
menu:
|
menu: v2_0_ref
|
||||||
v2_0:
|
weight: 7
|
||||||
parent: Reference
|
|
||||||
weight: 105
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Use sample data to familiarize yourself with time series data and InfluxDB.
|
Use sample data to familiarize yourself with time series data and InfluxDB.
|
||||||
InfluxData provides many sample time series datasets to use with **InfluxDB Cloud** and **InfluxDB**.
|
InfluxData provides many sample time series datasets to use with **InfluxDB Cloud** and **InfluxDB**.
|
||||||
|
|
||||||
## InfluxDB Cloud demo data
|
## InfluxDB Cloud demo data
|
||||||
Use [InfluxDB Cloud demo data buckets](/v2.0/write-data/quick-start) for quick, free access to different types of sample data.
|
Use [InfluxDB Cloud demo data buckets](/v2.0/write-data/quick-start) for quick,
|
||||||
|
free access to different types of sample data.
|
||||||
|
|
||||||
|
{{< youtube GSaByPC1Bdc >}}
|
||||||
|
|
||||||
## Sample data sets
|
## Sample data sets
|
||||||
The following sample data sets are used as examples in [InfluxDB query guides](/v2.0/query-data/flux)
|
The following sample data sets are used as examples in [InfluxDB query guides](/v2.0/query-data/flux)
|
||||||
|
|
|
@ -132,7 +132,7 @@ After adding a demo data bucket, view the pre-built dashboard specific to the de
|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
#### Other sample data sets
|
#### Other sample data sets
|
||||||
See [Sample data](/v2.0/write-data/sample-data) for more sample InfluxDB data sets.
|
See [Sample data](/v2.0/reference/sample-data) for more sample InfluxDB data sets.
|
||||||
{{% /note %}}
|
{{% /note %}}
|
||||||
|
|
||||||
## Quick Start for InfluxDB OSS
|
## Quick Start for InfluxDB OSS
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
---
|
---
|
||||||
title: Development tools
|
title: Developer tools
|
||||||
seotitle: Write data to InfluxDB with development tools
|
seotitle: Write data to InfluxDB with developer tools
|
||||||
list_title: Write data to InfluxDB with development tools
|
list_title: Use developer tools
|
||||||
weight: 101
|
weight: 101
|
||||||
description: >
|
description: >
|
||||||
Write data to InfluxDB with development tools.
|
Write data to InfluxDB with developer tools.
|
||||||
aliases:
|
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name : Development tools
|
name: Developer tools
|
||||||
parent: Write data
|
parent: Write data
|
||||||
---
|
---
|
||||||
|
|
||||||
The following options let you write data to InfluxDB without writing any code.
|
Write data to InfluxDB with development tools.
|
||||||
|
|
||||||
{{< children >}}
|
{{< children >}}
|
||||||
|
|
|
@ -2,14 +2,13 @@
|
||||||
title: InfluxDB API
|
title: InfluxDB API
|
||||||
seotitle: Write data with the InfluxDB API
|
seotitle: Write data with the InfluxDB API
|
||||||
list_title: Write data with the InfluxDB API
|
list_title: Write data with the InfluxDB API
|
||||||
weight: 6
|
weight: 206
|
||||||
description: >
|
description: >
|
||||||
Write data to InfluxDB using the InfluxDB API.
|
Write data to InfluxDB using the InfluxDB API.
|
||||||
aliases:
|
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name : InfluxDB API
|
name: InfluxDB API
|
||||||
parent: Development tools
|
parent: Developer tools
|
||||||
---
|
---
|
||||||
Write data to InfluxDB using an HTTP request to the InfluxDB API `/write` endpoint.
|
Write data to InfluxDB using an HTTP request to the InfluxDB API `/write` endpoint.
|
||||||
Use the `POST` request method and include the following in your request:
|
Use the `POST` request method and include the following in your request:
|
||||||
|
|
|
@ -2,14 +2,13 @@
|
||||||
title: Client libraries
|
title: Client libraries
|
||||||
seotitle: Write data with client libraries
|
seotitle: Write data with client libraries
|
||||||
list_title: Write data with client libraries
|
list_title: Write data with client libraries
|
||||||
weight: 4
|
weight: 204
|
||||||
description: >
|
description: >
|
||||||
Write data to InfluxDB using client libraries.
|
Write data to InfluxDB using client libraries.
|
||||||
aliases:
|
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name : Client libraries
|
name: Client libraries
|
||||||
parent: Development tools
|
parent: Developer tools
|
||||||
---
|
---
|
||||||
|
|
||||||
Use language-specific client libraries to integrate with the InfluxDB v2 API.
|
Use language-specific client libraries to integrate with the InfluxDB v2 API.
|
||||||
|
|
|
@ -7,8 +7,10 @@ description: >
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name: Write CSV data
|
name: Write CSV data
|
||||||
parent: Development tools
|
parent: Developer tools
|
||||||
weight: 104
|
aliases:
|
||||||
|
- /v2.0/write-data/csv/
|
||||||
|
weight: 204
|
||||||
related:
|
related:
|
||||||
- /v2.0/reference/syntax/line-protocol/
|
- /v2.0/reference/syntax/line-protocol/
|
||||||
- /v2.0/reference/syntax/annotated-csv/
|
- /v2.0/reference/syntax/annotated-csv/
|
||||||
|
|
|
@ -2,14 +2,13 @@
|
||||||
title: Influx CLI
|
title: Influx CLI
|
||||||
seotitle: Write data with the influx CLI
|
seotitle: Write data with the influx CLI
|
||||||
list_title: Write data with the influx CLI
|
list_title: Write data with the influx CLI
|
||||||
weight: 5
|
weight: 205
|
||||||
description: >
|
description: >
|
||||||
Write data to InfluxDB using the `influx` CLI.
|
Write data to InfluxDB using the `influx` CLI.
|
||||||
aliases:
|
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name : Influx CLI
|
name: Influx CLI
|
||||||
parent: Development tools
|
parent: Developer tools
|
||||||
---
|
---
|
||||||
|
|
||||||
From the command line, use the [`influx write` command](/v2.0/reference/cli/influx/write/) to write data to InfluxDB.
|
From the command line, use the [`influx write` command](/v2.0/reference/cli/influx/write/) to write data to InfluxDB.
|
||||||
|
|
|
@ -10,7 +10,7 @@ aliases:
|
||||||
- /v2.0/collect-data/use-telegraf
|
- /v2.0/collect-data/use-telegraf
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name : No-code solutions
|
name: No-code solutions
|
||||||
parent: Write data
|
parent: Write data
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ v2.0/tags: [scraper]
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name: Scrape data
|
name: Scrape data
|
||||||
parent: Agent-less options
|
parent: No-code solutions
|
||||||
products: [oss]
|
products: [oss]
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ aliases:
|
||||||
- /v2.0/write-data/#third-party-technologies
|
- /v2.0/write-data/#third-party-technologies
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name : Third-party technologies
|
name: Third-party technologies
|
||||||
parent: No-code solutions
|
parent: No-code solutions
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ aliases:
|
||||||
- /v2.0/collect-data/use-telegraf
|
- /v2.0/collect-data/use-telegraf
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name : Telegraf (agent-based)
|
name: Telegraf (agent-based)
|
||||||
parent: No-code solutions
|
parent: No-code solutions
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ aliases:
|
||||||
- /v2.0/collect-data/use-telegraf/auto-config
|
- /v2.0/collect-data/use-telegraf/auto-config
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
parent: Agent-based Telegraf
|
parent: Telegraf (agent-based)
|
||||||
weight: 201
|
weight: 201
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
---
|
---
|
||||||
title: Use Telegraf plugins
|
title: Use Telegraf plugins
|
||||||
description: >
|
description: >
|
||||||
Enter a description here.
|
Use Telegraf plugins to capture and write metrics to InfluxDB.
|
||||||
|
aliases:
|
||||||
|
- /v2.0/write-data/use-telegraf/use-telegraf-plugins/
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name: Use Telegraf plugins
|
name: Use Telegraf plugins
|
||||||
parent: Telegraf (agent-based)
|
parent: Telegraf (agent-based)
|
||||||
weight: 202
|
weight: 202
|
||||||
---
|
---
|
||||||
|
|
||||||
The following articles guide you through step-by-step Telegraf configuration examples:
|
The following articles guide you through step-by-step Telegraf configuration examples:
|
||||||
|
|
||||||
{{< children >}}
|
{{< children >}}
|
||||||
|
|
|
@ -4,6 +4,8 @@ seotitle: Use the Telegraf HTTP input plugin to write data to InfluxDB
|
||||||
list_title: HTTP input plugin
|
list_title: HTTP input plugin
|
||||||
description: >
|
description: >
|
||||||
Write Citi Bike data to your InfluxDB instance with the HTTP plugin.
|
Write Citi Bike data to your InfluxDB instance with the HTTP plugin.
|
||||||
|
aliases:
|
||||||
|
- /v2.0/write-data/use-telegraf/use-telegraf-plugins/use-http-plugin/
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name: HTTP input plugin
|
name: HTTP input plugin
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
{{- $pc := .Page.Site.Config.Privacy.YouTube -}}
|
||||||
|
{{- if not $pc.Disable -}}
|
||||||
|
{{- $ytHost := cond $pc.PrivacyEnhanced "www.youtube-nocookie.com" "www.youtube.com" -}}
|
||||||
|
{{- $id := .Get "id" | default (.Get 0) -}}
|
||||||
|
{{- $class := .Get "class" | default (.Get 1) }}
|
||||||
|
<div class="video">
|
||||||
|
<div {{ with $class }}class="{{ . }}"{{ else }}style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"{{ end }}>
|
||||||
|
<iframe src="https://{{ $ytHost }}/embed/{{ $id }}{{ with .Get "autoplay" }}{{ if eq . "true" }}?autoplay=1{{ end }}{{ end }}" {{ if not $class }}style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" {{ end }}allowfullscreen title="YouTube Video"></iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{ end -}}
|
Loading…
Reference in New Issue