hotfix: fix explicit schema file examples, closes #4563

pull/4468/head^2
Scott Anderson 2022-10-14 14:10:39 -06:00
parent 6c597d4bad
commit b69ca52fda
3 changed files with 8 additions and 7 deletions

View File

@ -45,6 +45,7 @@ Use the `influx` CLI to set the schema-type and measurement schemas for your buc
Format the file as CSV, JSON, or [Newline delimited JSON (NDJSON)](http://ndjson.org/),
as in the following examples:
{{% code-tabs-wrapper %}}
{{% code-tabs %}}
[usage-resources.csv](#)

View File

@ -1,7 +1,7 @@
[
{"name": "time", "type": "timestamp"},
{"name": "service", "type": "tag"},
{"name": "host", "type": "tag"},
{"name": "usage_user", "type": "field", "dataType": "float"},
{"name": "usage_system", "type": "field", "dataType": "float"}
{"name": "time", "type": "timestamp"},
{"name": "service", "type": "tag"},
{"name": "host", "type": "tag"},
{"name": "usage_user", "type": "field", "dataType": "float"},
{"name": "usage_system", "type": "field", "dataType": "float"}
]

View File

@ -1,6 +1,6 @@
name,type,data_type
name,type,dataType
time,timestamp,
host,tag,
service,tag,
fsRead,field,float
fsWrite,field,float
fsWrite,field,float
1 name type data_type dataType
2 time timestamp
3 host tag
4 service tag
5 fsRead field float float
6 fsWrite field float float