profiles 和 extend 数据流不能作为流水线目标。扩展表数据通过 /api/v1/extend_tables API 管理。_、- 和 .。字段类型包括 bool、int64、float64、utf8、
timestamp 和 json。创建数据流需要 streams.create。Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST http://localhost:5080/api/v1/streams \
-H "authorization: Bearer $MS_JWT" \
-H 'content-type: application/json' \
-d '{
"name": "app",
"stream_type": "logs",
"fields": [
{
"name": "trace_id",
"data_type": "utf8",
"nullable": true,
"indexed": true,
"index_type": "exact",
"encrypted": false
}
],
"retention_days": 30
}'
预先声明一个流。
curl -X POST http://localhost:5080/api/v1/streams \
-H "authorization: Bearer $MS_JWT" \
-H 'content-type: application/json' \
-d '{
"name": "app",
"stream_type": "logs",
"fields": [
{
"name": "trace_id",
"data_type": "utf8",
"nullable": true,
"indexed": true,
"index_type": "exact",
"encrypted": false
}
],
"retention_days": 30
}'
POST /api/v1/streams
curl -X POST http://localhost:5080/api/v1/streams \
-H "authorization: Bearer $MS_JWT" \
-H 'content-type: application/json' \
-d '{
"name": "app",
"stream_type": "logs",
"fields": [
{
"name": "trace_id",
"data_type": "utf8",
"nullable": true,
"indexed": true,
"index_type": "exact",
"encrypted": false
}
],
"retention_days": 30
}'
profiles 和 extend 数据流不能作为流水线目标。扩展表数据通过 /api/v1/extend_tables API 管理。_、- 和 .。字段类型包括 bool、int64、float64、utf8、
timestamp 和 json。创建数据流需要 streams.create。此页面对您有帮助吗?