{ "id":"/axapi/v3/visibility/packet-capture/object-templates/dns_vport-tmpl/{name}", "type":"object", "node-type":"list", "title":"dns_vport-tmpl", "partition-visibility":"shared", "description":"Configure template for counter.dns_vport", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Packet Capture Template Name", "optional":false }, "capture-config":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "$ref":"/axapi/v3/visibility/packet-capture/capture-config", "description":"Specify name of the capture-config to use with this template", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true }, "trigger-stats-severity":{ "type":"object", "$ref":"/axapi/v3/visibility/packet-capture/object-templates/dns_vport-tmpl/{name}/trigger-stats-severity", "properties":{ "error":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all error counters (Default disabled)" }, "error-alert":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all alert error counters (Default disabled)" }, "error-warning":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all warning error counters (Default disabled)" }, "error-critical":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all critical error counters (Default disabled)" }, "drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all drop counters (Default disabled)" }, "drop-alert":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all alert drop counters (Default disabled)" }, "drop-warning":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all warning drop counters (Default disabled)" }, "drop-critical":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet capture on all critical drop counters (Default disabled)" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "trigger-stats-inc":{ "type":"object", "$ref":"/axapi/v3/visibility/packet-capture/object-templates/dns_vport-tmpl/{name}/trigger-stats-inc", "properties":{ "dnsrrl_total_dropped":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for dns rrl drop" }, "total_filter_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for query filter drop" }, "total_max_query_len_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for query too long drop" }, "rcode_notimpl_receive":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for response rcode type error receive" }, "rcode_notimpl_response":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for rcode type error response" }, "gslb_query_bad":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for gslb query bad" }, "gslb_response_bad":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for gslb response bad" }, "total_dns_filter_type_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters Total DNS Filter Type Drop" }, "total_dns_filter_class_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters Total DNS Filter Class Drop" }, "dns_filter_type_a_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type A Drop" }, "dns_filter_type_aaaa_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type AAAA Drop" }, "dns_filter_type_cname_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type CNAME Drop" }, "dns_filter_type_mx_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type MX Drop" }, "dns_filter_type_ns_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type NS Drop" }, "dns_filter_type_srv_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type SRV Drop" }, "dns_filter_type_ptr_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type PTR Drop" }, "dns_filter_type_soa_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type SOA Drop" }, "dns_filter_type_txt_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type TXT Drop" }, "dns_filter_type_any_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type Any Drop" }, "dns_filter_type_others_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type OTHERS Drop" }, "dns_filter_class_internet_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Class INTERNET Drop" }, "dns_filter_class_chaos_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Class CHAOS Drop" }, "dns_filter_class_hesiod_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Class HESIOD Drop" }, "dns_filter_class_none_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Class NONE Drop" }, "dns_filter_class_any_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Class ANY Drop" }, "dns_filter_class_others_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Class OTHER Drop" }, "dns_rpz_action_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for DNS RPZ Action Drop" }, "dnsrrl_bad_fqdn":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for DNS Response-Rate-Limiting Bad FQDN" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "trigger-stats-rate":{ "type":"object", "$ref":"/axapi/v3/visibility/packet-capture/object-templates/dns_vport-tmpl/{name}/trigger-stats-rate", "properties":{ "threshold-exceeded-by":{ "type":"number", "format":"number", "minimum":0, "maximum":100, "default":5, "partition-visibility":"shared", "description":"Set the threshold to the number of times greater than the previous duration to start the capture, default is 5" }, "duration":{ "type":"number", "format":"number", "minimum":1, "maximum":250, "default":60, "partition-visibility":"shared", "description":"Time in seconds to look for the anomaly, default is 60" }, "dnsrrl_total_dropped":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for dns rrl drop" }, "total_filter_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for query filter drop" }, "total_max_query_len_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for query too long drop" }, "rcode_notimpl_receive":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for response rcode type error receive" }, "rcode_notimpl_response":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for rcode type error response" }, "gslb_query_bad":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for gslb query bad" }, "gslb_response_bad":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for gslb response bad" }, "total_dns_filter_type_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters Total DNS Filter Type Drop" }, "total_dns_filter_class_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters Total DNS Filter Class Drop" }, "dns_filter_type_a_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type A Drop" }, "dns_filter_type_aaaa_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type AAAA Drop" }, "dns_filter_type_cname_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type CNAME Drop" }, "dns_filter_type_mx_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type MX Drop" }, "dns_filter_type_ns_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type NS Drop" }, "dns_filter_type_srv_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type SRV Drop" }, "dns_filter_type_ptr_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type PTR Drop" }, "dns_filter_type_soa_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type SOA Drop" }, "dns_filter_type_txt_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type TXT Drop" }, "dns_filter_type_any_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type Any Drop" }, "dns_filter_type_others_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Type OTHERS Drop" }, "dns_filter_class_internet_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Class INTERNET Drop" }, "dns_filter_class_chaos_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Class CHAOS Drop" }, "dns_filter_class_hesiod_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Class HESIOD Drop" }, "dns_filter_class_none_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Class NONE Drop" }, "dns_filter_class_any_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Class ANY Drop" }, "dns_filter_class_others_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for counters DNS Filter Class OTHER Drop" }, "dns_rpz_action_drop":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for DNS RPZ Action Drop" }, "dnsrrl_bad_fqdn":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable automatic packet-capture for DNS Response-Rate-Limiting Bad FQDN" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } } }, "object-keys":[ "name" ], "required":[ "name" ] }