157 lines
2.9 KiB
JSON
157 lines
2.9 KiB
JSON
{
|
|
"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"
|
|
}
|
|
]
|
|
} |