原schema-upgrade项目更名,发布初版
This commit is contained in:
88
testSchemaFiles/sys_storage_log.json
Normal file
88
testSchemaFiles/sys_storage_log.json
Normal file
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"type": "record",
|
||||
"name": "sys_storage_log",
|
||||
"namespace": "druid",
|
||||
"doc": {
|
||||
"partition_key": "__time",
|
||||
"functions": {
|
||||
"$ref": "public_schema_info.json#/functions"
|
||||
},
|
||||
"schema_query": {
|
||||
"filters": [
|
||||
"data_center"
|
||||
],
|
||||
"references": {
|
||||
"$ref": "public_schema_info.json#/schema_query/references"
|
||||
}
|
||||
}
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"name": "__time",
|
||||
"label": "Time",
|
||||
"type": "string",
|
||||
"doc": {
|
||||
"constraints": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"visibility": "enabled"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "data_center",
|
||||
"label": "Data Center",
|
||||
"type": "string",
|
||||
"doc": {
|
||||
"constraints": {
|
||||
"operator_functions": "=,in"
|
||||
},
|
||||
"data": {
|
||||
"$ref": "device_tag.json#",
|
||||
"key": "$[?(@.tagType=='data_center')].subTags.[?(@.tagType=='data_center')]['tagValue']",
|
||||
"value": "$[?(@.tagType=='data_center')].subTags.[?(@.tagType=='data_center')]['tagName']"
|
||||
},
|
||||
"visibility": "enabled"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "log_type",
|
||||
"label": "Log Type",
|
||||
"doc": {
|
||||
"visibility": "enabled"
|
||||
},
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "max_size",
|
||||
"label": "Max Size",
|
||||
"doc": {
|
||||
"visibility": "enabled"
|
||||
},
|
||||
"type": "long"
|
||||
},
|
||||
{
|
||||
"name": "used_size",
|
||||
"label": "Used Size",
|
||||
"doc": {
|
||||
"visibility": "enabled"
|
||||
},
|
||||
"type": "long"
|
||||
},
|
||||
{
|
||||
"name": "aggregate_size",
|
||||
"label": "Aggregate Size",
|
||||
"doc": {
|
||||
"visibility": "enabled"
|
||||
},
|
||||
"type": "long"
|
||||
},
|
||||
{
|
||||
"name": "last_storage",
|
||||
"label": "Last Storage",
|
||||
"doc": {
|
||||
"visibility": "enabled"
|
||||
},
|
||||
"type": "long"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user