原schema-upgrade项目更名,发布初版
This commit is contained in:
117
testSchemaFiles/top_external_host_log.json
Normal file
117
testSchemaFiles/top_external_host_log.json
Normal file
@@ -0,0 +1,117 @@
|
||||
{
|
||||
"type": "record",
|
||||
"name": "top_external_host_log",
|
||||
"namespace": "druid",
|
||||
"doc": {
|
||||
"partition_key": "__time",
|
||||
"functions": {
|
||||
"$ref": "public_schema_info.json#/functions"
|
||||
},
|
||||
"schema_query": {
|
||||
"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": "device_group",
|
||||
"label": "Device Group",
|
||||
"type": "string",
|
||||
"doc": {
|
||||
"constraints": {
|
||||
"operator_functions": "=,in"
|
||||
},
|
||||
"data": {
|
||||
"$ref": "device_tag.json#",
|
||||
"key": "$[?(@.tagType=='device_group')].subTags.[?(@.tagType=='device_group')]['tagValue']",
|
||||
"value": "$[?(@.tagType=='device_group')].subTags.[?(@.tagType=='device_group')]['tagName']"
|
||||
},
|
||||
"visibility": "enabled"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "destination",
|
||||
"label": "External IP",
|
||||
"doc": {
|
||||
"visibility": "enabled"
|
||||
},
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "session_num",
|
||||
"label": "Sessions",
|
||||
"doc": {
|
||||
"visibility": "enabled"
|
||||
},
|
||||
"type": "long"
|
||||
},
|
||||
{
|
||||
"name": "c2s_byte_num",
|
||||
"label": "Bytes Sent",
|
||||
"doc": {
|
||||
"visibility": "enabled"
|
||||
},
|
||||
"type": "long"
|
||||
},
|
||||
{
|
||||
"name": "s2c_byte_num",
|
||||
"label": "Bytes Received",
|
||||
"doc": {
|
||||
"visibility": "enabled"
|
||||
},
|
||||
"type": "long"
|
||||
},
|
||||
{
|
||||
"name": "c2s_pkt_num",
|
||||
"label": "Packets Sent",
|
||||
"doc": {
|
||||
"visibility": "enabled"
|
||||
},
|
||||
"type": "long"
|
||||
},
|
||||
{
|
||||
"name": "s2c_pkt_num",
|
||||
"label": "Packets Received",
|
||||
"doc": {
|
||||
"visibility": "enabled"
|
||||
},
|
||||
"type": "long"
|
||||
},
|
||||
{
|
||||
"name": "order_by",
|
||||
"label": "Order By",
|
||||
"doc": {
|
||||
"visibility": "enabled"
|
||||
},
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user