summaryrefslogtreecommitdiff
path: root/testSchemaFiles/sys_storage_log.json
diff options
context:
space:
mode:
Diffstat (limited to 'testSchemaFiles/sys_storage_log.json')
-rw-r--r--testSchemaFiles/sys_storage_log.json88
1 files changed, 88 insertions, 0 deletions
diff --git a/testSchemaFiles/sys_storage_log.json b/testSchemaFiles/sys_storage_log.json
new file mode 100644
index 0000000..9ce6521
--- /dev/null
+++ b/testSchemaFiles/sys_storage_log.json
@@ -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"
+ }
+ ]
+} \ No newline at end of file