From 7761a6e96a23a03e35ef3cfb3a0ab94fd62d34da Mon Sep 17 00:00:00 2001 From: WANG MINGMING Date: Fri, 30 Sep 2022 11:42:05 +0800 Subject: [PATCH] Update 35-schemaless-opentsdb-json.md --- docs/en/07-data-in/35-schemaless-opentsdb-json.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/07-data-in/35-schemaless-opentsdb-json.md b/docs/en/07-data-in/35-schemaless-opentsdb-json.md index 44d43821dc..f5be7f0fd6 100644 --- a/docs/en/07-data-in/35-schemaless-opentsdb-json.md +++ b/docs/en/07-data-in/35-schemaless-opentsdb-json.md @@ -55,8 +55,8 @@ You can use any client that supports the http protocol to access the RESTful int curl --request POST "$TDENGINE_CLOUD_URL/opentsdb/v1/put/json/?token=$TDENGINE_CLOUD_TOKEN" --data-binary "{\"metric\":\"meter_current\",\"timestamp\":1646846400,\"value\":10.3,\"tags\":{\"groupid\":2,\"location\":\"Beijing\",\"id\":\"d1001\"}}" ``` ## Query Example with SQL -`meter_current` is the super table name. -you can filter data by tag, like:`where groupid=2`. +- `meter_current` is the super table name. +- you can filter data by tag, like:`where groupid=2`. ```bash curl -L -d "select * from .meter_current where groupid=2" $TDENGINE_CLOUD_URL/rest/sql/test?token=$TDENGINE_CLOUD_TOKEN ``` -- GitLab