diff options
Diffstat (limited to 'testSchemaFiles/proxy_event_hits_log.json')
| -rw-r--r-- | testSchemaFiles/proxy_event_hits_log.json | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/testSchemaFiles/proxy_event_hits_log.json b/testSchemaFiles/proxy_event_hits_log.json new file mode 100644 index 0000000..a36c46b --- /dev/null +++ b/testSchemaFiles/proxy_event_hits_log.json @@ -0,0 +1,157 @@ +{ + "type": "record", + "name": "proxy_event_hits_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": "isp", + "label": "ISP", + "type": "string", + "doc": { + "visibility": "disabled" + } + }, + { + "name": "entrance_id", + "label": "Entrance ID", + "type": "long", + "doc": { + "visibility": "disabled" + } + }, + { + "name": "hits", + "label": "Hits", + "doc": { + "visibility": "enabled" + }, + "type": "long" + }, + { + "name": "policy_id", + "label": "Policy ID", + "type": "long", + "doc": { + "constraints": { + "operator_functions": "=,in" + }, + "visibility": "enabled" + } + }, + { + "name": "action", + "label": "Action", + "doc": { + "visibility": "hidden" + }, + "type": "long" + }, + { + "name": "sub_action", + "label": "Action", + "type": "string", + "doc": { + "constraints": { + "operator_functions": "=,in" + }, + "data": [ + { + "code": "allow", + "value": "Allow" + }, + { + "code": "deny", + "value": "Deny" + }, + { + "code": "monitor", + "value": "Monitor" + }, + { + "code": "replace", + "value": "Replace" + }, + { + "code": "redirect", + "value": "Redirect" + }, + { + "code": "insert", + "value": "Insert" + }, + { + "code": "hijack", + "value": "Hijack" + }, + { + "code": "edit_element", + "value": "Edit Element" + } + ], + "visibility": "enabled" + } + }, + { + "name": "ip_object", + "label": "IP Object", + "doc": { + "visibility": "enabled" + }, + "type": "string" + }, + { + "name": "country", + "label": "Country", + "doc": { + "visibility": "enabled" + }, + "type": "string" + }, + { + "name": "location", + "label": "Location", + "doc": { + "visibility": "enabled" + }, + "type": "string" + }, + { + "name": "c2s_byte_num", + "label": "Bytes Sent", + "doc": { + "visibility": "enabled" + }, + "type": "long" + }, + { + "name": "s2c_byte_num", + "label": "Bytes Received", + "doc": { + "visibility": "enabled" + }, + "type": "long" + } + ] +}
\ No newline at end of file |
