Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/influxdb/cloud/admin/buckets/bucket-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@
```
{{% /code-tab-content %}}
{{% code-tab-content %}}
```json

Check notice on line 89 in content/influxdb/cloud/admin/buckets/bucket-schema.md

View workflow job for this annotation

GitHub Actions / Lint code blocks

normalized before parse: shortcode strip
{{< get-shared-text "bucket-schema/usage-cpu.json" >}}
```
{{% /code-tab-content %}}
{{% code-tab-content %}}
```json

Check notice on line 94 in content/influxdb/cloud/admin/buckets/bucket-schema.md

View workflow job for this annotation

GitHub Actions / Lint code blocks

normalized before parse: shortcode strip
{{< get-shared-text "bucket-schema/sensor.ndjson" >}}
```
{{% /code-tab-content %}}
Expand Down Expand Up @@ -132,7 +132,7 @@

{{< api-endpoint method="post" endpoint="https://cloud2.influxdata.com/api/v2/buckets/{BUCKET_ID}/schema/measurements" api-ref="/influxdb/cloud/api/buckets//-bucketID-/schema/measurements" >}}

```js
```json
{
"name": "airSensors",
"columns": [
Expand Down Expand Up @@ -262,7 +262,7 @@

{{< api-endpoint method="patch" endpoint="https://cloud2.influxdata.com/api/v2/buckets/{BUCKET_ID}/schema/measurements/{MEASUREMENT_ID}" api-ref="/influxdb/cloud/api/bucket-schemas/" >}}

```js
```json
{
"columns": [
{"name": "time", "type": "timestamp"},
Expand Down
2 changes: 1 addition & 1 deletion content/influxdb/cloud/admin/buckets/create-bucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ endpoint and set the `schemaType` property value to `explicit` in the request bo

{{< api-endpoint method="post" endpoint="https://cloud2.influxdata.com/api/v2/buckets" api-ref="/influxdb/cloud/api/buckets/" >}}

```js
```json
{
"orgID": "{INFLUX_ORG_ID}",
"name": "my-explicit-bucket",
Expand Down
2 changes: 1 addition & 1 deletion content/influxdb/cloud/admin/buckets/update-bucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

##### Update the name of a bucket

```sh

Check notice on line 74 in content/influxdb/cloud/admin/buckets/update-bucket.md

View workflow job for this annotation

GitHub Actions / Lint code blocks

normalized before parse: angle-bracket placeholder strip
# Syntax
influx bucket update -i <bucket-id> -n <new-bucket-name>

Expand Down Expand Up @@ -130,7 +130,7 @@

{{< api-endpoint method="patch" endpoint="https://cloud2.influxdata.com/api/v2/buckets/{BUCKET_ID}" api-ref="/influxdb/cloud/api/buckets/" >}}

```js
```json
{
"name": "air_sensor",
"description": "bucket holding air sensor data",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ You can't modify or delete columns in bucket schemas.

{{< api-endpoint method="patch" endpoint="https://{{< influxdb/host >}}/api/v2/buckets/{BUCKET_ID}/schema/measurements/{MEASUREMENT_ID}" api-ref="/influxdb3/cloud-serverless/api/buckets/" >}}

```js
```json
{
"columns": [
{"name": "time", "type": "timestamp"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

##### Update the name of a bucket

```sh

Check notice on line 65 in content/influxdb3/cloud-serverless/admin/buckets/update-bucket.md

View workflow job for this annotation

GitHub Actions / Lint code blocks

normalized before parse: angle-bracket placeholder strip
# Syntax
influx bucket update -i <bucket-id> -n <new-bucket-name>

Expand Down Expand Up @@ -119,7 +119,7 @@

{{< api-endpoint method="patch" endpoint="https://{{< influxdb/host >}}/api/v2/buckets/{BUCKET_ID}" api-ref="/influxdb3/cloud-serverless/api/buckets/#operation/PatchBucketsID" >}}

```js
```json
{
"name": "air_sensor",
"description": "bucket holding air sensor data",
Expand Down
4 changes: 2 additions & 2 deletions content/telegraf/v1/data_formats/output/splunkmetric.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Th data is output in a format that conforms to the specified Splunk HEC JSON for
[Send metrics in JSON format](http://dev.splunk.com/view/event-collector/SP-CAAAFDN).

An example event looks like:
```javascript
```json
{
"time": 1529708430,
"event": "metric",
Expand Down Expand Up @@ -104,7 +104,7 @@ Such as this example which overrides the index just on the cpu metric:
You can use the file output when running telegraf on a machine with a Splunk forwarder.

A sample event when `hec_routing` is false (or unset) looks like:
```javascript
```json
{
"_value": 0.6,
"cpu": "cpu0",
Expand Down
2 changes: 1 addition & 1 deletion content/telegraf/v1/input-plugins/bind.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Telegraf plugin for collecting metrics from BIND 9 Nameserver"

Check warning on line 2 in content/telegraf/v1/input-plugins/bind.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.Spelling

Did you really mean 'Nameserver'?
menu:
telegraf_v1_ref:
parent: input_plugins_reference
Expand All @@ -7,7 +7,7 @@
identifier: input-bind
tags: [BIND 9 Nameserver, "input-plugins", "configuration", "server"]
introduced: "v1.11.0"
os_support: "freebsd, linux, macos, solaris, windows"

Check warning on line 10 in content/telegraf/v1/input-plugins/bind.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.Spelling

Did you really mean 'solaris'?

Check warning on line 10 in content/telegraf/v1/input-plugins/bind.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.Spelling

Did you really mean 'macos'?

Check warning on line 10 in content/telegraf/v1/input-plugins/bind.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.Spelling

Did you really mean 'linux'?

Check warning on line 10 in content/telegraf/v1/input-plugins/bind.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.Spelling

Did you really mean 'freebsd'?
---

# BIND 9 Nameserver Input Plugin
Expand Down Expand Up @@ -83,7 +83,7 @@
Add the following to your named.conf if running Telegraf on the same host
as the BIND daemon:

```json
```text
statistics-channels {
inet 127.0.0.1 port 8053;
};
Expand Down
6 changes: 3 additions & 3 deletions content/telegraf/v1/input-plugins/ctrlx_datalayer.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Telegraf plugin for collecting metrics from Bosch Rexroth ctrlX Data Layer"

Check warning on line 2 in content/telegraf/v1/input-plugins/ctrlx_datalayer.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.Spelling

Did you really mean 'Rexroth'?
menu:
telegraf_v1_ref:
parent: input_plugins_reference
Expand All @@ -7,7 +7,7 @@
identifier: input-ctrlx_datalayer
tags: [Bosch Rexroth ctrlX Data Layer, "input-plugins", "configuration", "iot", "messaging"]
introduced: "v1.27.0"
os_support: "freebsd, linux, macos, solaris, windows"

Check warning on line 10 in content/telegraf/v1/input-plugins/ctrlx_datalayer.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.Spelling

Did you really mean 'solaris'?

Check warning on line 10 in content/telegraf/v1/input-plugins/ctrlx_datalayer.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.Spelling

Did you really mean 'macos'?

Check warning on line 10 in content/telegraf/v1/input-plugins/ctrlx_datalayer.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.Spelling

Did you really mean 'linux'?

Check warning on line 10 in content/telegraf/v1/input-plugins/ctrlx_datalayer.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.Spelling

Did you really mean 'freebsd'?
---

# Bosch Rexroth ctrlX Data Layer Input Plugin
Expand Down Expand Up @@ -321,7 +321,7 @@

Source:

```json
```text
"framework/metrics/system/memavailable-mb" : 365.93359375
"framework/metrics/system/memused-mb" : 567.67578125
```
Expand All @@ -348,7 +348,7 @@

Source:

```json
```text
"alldata/dynamic/array-of-bool8" : [true, false, true]
"alldata/dynamic/array-of-uint8" : [0, 255]
```
Expand All @@ -375,7 +375,7 @@

Source:

```json
```text
"motion/axs/Axis_1/state/values/actual" : {"actualPos":65.249329860957,"actualVel":5,"actualAcc":0,"actualTorque":0,"distLeft":0,"actualPosUnit":"mm","actualVelUnit":"mm/min","actualAccUnit":"m/s^2","actualTorqueUnit":"Nm","distLeftUnit":"mm"}
"motion/axs/Axis_2/state/values/actual" : {"actualPos":120,"actualVel":0,"actualAcc":0,"actualTorque":0,"distLeft":0,"actualPosUnit":"deg","actualVelUnit":"rpm","actualAccUnit":"rad/s^2","actualTorqueUnit":"Nm","distLeftUnit":"deg"}
```
Expand Down
4 changes: 2 additions & 2 deletions content/telegraf/v1/input-plugins/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ for containers that have no explicit hostname set, as defined by docker.
Kubernetes may add many labels to your containers, if they are not needed you
may prefer to exclude them:

```json
```text
docker_label_exclude = ["annotation.kubernetes*"]
```

Expand All @@ -174,7 +174,7 @@ may prefer to exclude them:
Docker-compose will add labels to your containers. You can limit restrict labels
to selected ones, e.g.

```json
```text
docker_label_include = [
"com.docker.compose.config-hash",
"com.docker.compose.container-number",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ plugin ordering. See [CONFIGURATION.md](/telegraf/v1/configuration/#plugins) for

## Configuration

```toml @sample.conf
```text @sample.conf
# Subscribe and receive OpenConfig Telemetry data using JTI
[[inputs.jti_openconfig_telemetry]]
## List of device addresses to collect telemetry from
Expand Down
6 changes: 3 additions & 3 deletions content/telegraf/v1/input-plugins/opcua_listener.md
Original file line number Diff line number Diff line change
Expand Up @@ -586,9 +586,9 @@ This example group configuration shows how to use group settings:
identifier = "5678"

node_ids = [
{identifier="Sensor1"}, // default values will be used for namespace and identifier_type
{namespace="2", identifier="TemperatureSensor"}, // default values will be used for identifier_type
{namespace="5", identifier_type="i", identifier="2002"} // no default values will be used
{identifier="Sensor1"}, # default values will be used for namespace and identifier_type
{namespace="2", identifier="TemperatureSensor"}, # default values will be used for identifier_type
{namespace="5", identifier_type="i", identifier="2002"} # no default values will be used
]
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ using the postgresql extensions [pg_stat_statements](http://www.postgresql.org/d
* telegraf.conf postgresql_extensible queries (assuming that you have configured
correctly your connection)

```toml
```text
[[inputs.postgresql_extensible.query]]
sqlquery="SELECT * FROM pg_stat_database"
version=901
Expand Down
2 changes: 1 addition & 1 deletion content/telegraf/v1/input-plugins/win_eventlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ There are three types of filtering: **Event Log** name, **XPath Query** and

**Event Log** name filtering is simple:

```toml
```text
eventlog_name = "Application"
xpath_query = '''
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ stored as dynamic data type, multiple ways to query this data-
recommended performant way for querying over large volumes of data compared
to querying directly over JSON attributes:

```json
```text
// Function to transform data
.create-or-alter function Transform_TargetTableName() {
SourceTableName
Expand Down
2 changes: 1 addition & 1 deletion content/telegraf/v1/output-plugins/clarify.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ The following input would be stored in Clarify with the values shown below:
temperature,host=demo.clarifylocal,sensor=TC0P value=49 1682670910000000000
```

```json
```text
"signal" {
"id": "temperature.value.TC0P"
"name": "temperature.value"
Expand Down
2 changes: 1 addition & 1 deletion content/telegraf/v1/output-plugins/dynatrace.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ The endpoint for the Dynatrace Metrics API v2 is
url = "https://{your-environment-id}.live.dynatrace.com/api/v2/metrics/ingest"

## API token is required if a URL is specified and should be restricted to the 'Ingest metrics' scope
api_token = "your API token here" // hard-coded for illustration only, should be read from environment
api_token = "your API token here" # hard-coded for illustration only, should be read from environment
```

You can learn more about how to use the [Dynatrace API](https://docs.dynatrace.com/docs/shortlink/section-api).
Expand Down
4 changes: 2 additions & 2 deletions content/telegraf/v1/output-plugins/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ compatibility mode users need to set the `override_main_response_version` to

On existing clusters run:

```json
```text
PUT /_cluster/settings
{
"persistent" : {
Expand All @@ -228,7 +228,7 @@ PUT /_cluster/settings

And on new clusters set the option to true under advanced options:

```json
```text
POST https://es.us-east-1.amazonaws.com/2021-01-01/opensearch/upgradeDomain
{
"DomainName": "domain-name",
Expand Down
4 changes: 2 additions & 2 deletions content/telegraf/v1/output-plugins/zabbix.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ measurement,host=hostname valueA=0,valueB=1

It will generate this Zabbix metrics:

```json
```jsonl
{"host": "hostname", "key": "telegraf.measurement.valueA", "value": "0"}
{"host": "hostname", "key": "telegraf.measurement.valueB", "value": "1"}
```
Expand All @@ -200,7 +200,7 @@ measurement,host=hostname,tagA=keyA,tagB=keyB valueA=0,valueB=1

Zabbix generated metrics:

```json
```jsonl
{"host": "hostname", "key": "telegraf.measurement.valueA[keyA,keyB]", "value": "0"}
{"host": "hostname", "key": "telegraf.measurement.valueB[keyA,keyB]", "value": "1"}
```
Expand Down
2 changes: 1 addition & 1 deletion content/telegraf/v1/processor-plugins/converter.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Set the metric timestamp from a tag:
[[processors.converter]]
[processors.converter.tags]
timestamp = ["time"]
timestamp_format = "unix
timestamp_format = "unix"
```

```diff
Expand Down
4 changes: 2 additions & 2 deletions content/telegraf/v1/processor-plugins/lookup.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ added to a metric if the key matches.

In the `json` format, the input `files` must have the following format

```json
```text
{
"keyA": {
"tag-name1": "tag-value1",
Expand Down Expand Up @@ -136,7 +136,7 @@ Please note that empty tag-values will be ignored and the tag will not be added.

With a lookup table of

```json
```text
{
"xyzzy-green": {
"location": "eu-central",
Expand Down
2 changes: 1 addition & 1 deletion content/telegraf/v1/secretstore-plugins/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@

Secrets are expected to be JSON data in the following flat key-value form

```json
```text
{
"secret name A": "secret value A",
...
Expand Down Expand Up @@ -204,7 +204,7 @@

> [!NOTE]
> All parameters must match the encryption side to derive the same key in this
> plugin!

Check failure on line 207 in content/telegraf/v1/secretstore-plugins/http.md

View workflow job for this annotation

GitHub Actions / Vale style check

Google.Exclamation

Don't use exclamation points in text.

## Additional Information

Expand Down
Loading
Loading