{ "id":"/axapi/v3/cgnv6/template/logging/{name}", "type":"object", "node-type":"list", "title":"logging", "partition-visibility":"shared", "description":"Logging Template", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Logging template name", "optional":false }, "resolution":{ "type":"string", "format":"enum", "default":"seconds", "partition-visibility":"shared", "description":"'seconds': Logging timestamp resolution in seconds (default); '10-milliseconds': Logging timestamp resolution in 10s of milli-seconds; ", "enum":[ "seconds", "10-milliseconds" ], "optional":true }, "log":{ "type":"object", "properties":{ "fixed-nat":{ "type":"object", "properties":{ "fixed-nat-http-requests":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'host': Log the HTTP Host Header; 'url': Log the HTTP Request URL; ", "enum":[ "host", "url" ] }, "fixed-nat-port-mappings":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'both': Log creation and deletion of NAT mappings; 'creation': Log creation of NAT mappings; ", "enum":[ "both", "creation" ] }, "fixed-nat-sessions":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Log all Fixed NAT sessions" }, "fixed-nat-merged-style":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Merge creation and deletion of session logs to one" }, "user-ports":{ "type":"object", "properties":{ "user-ports":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Log Fixed NAT User Ports Configured" }, "days":{ "type":"number", "format":"number", "minimum":1, "maximum":30, "partition-visibility":"shared", "description":"Specify period in days" }, "start-time":{ "type":"string", "format":"time-hhmm", "partition-visibility":"shared", "description":"Time when periodic logging starts (Specify start time(hh:mm))" } } } } }, "one-to-one-nat":{ "type":"object", "properties":{ "one-to-one-nat-sessions":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Log all One-to-One NAT sessions" }, "one-to-one-merged-style":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Merge creation and deletion of session logs to one" } } }, "map-dhcpv6":{ "type":"object", "properties":{ "map-dhcpv6-prefix-all":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"map-dhcpv6-msg-type", "description":"Log MAP DHCPv6 prefix assignment/renewal/release" }, "map-dhcpv6-msg-type":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "map-dhcpv6-msg-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not":"map-dhcpv6-prefix-all", "description":"'prefix-assignment': Log MAP DHCPv6 prefix assignment; 'prefix-renewal': Log MAP DHCPv6 prefix renewal; 'prefix-release': Log MAP DHCPv6 prefix release; ", "enum":[ "prefix-assignment", "prefix-renewal", "prefix-release" ] } } } ] } } }, "http-requests":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'host': Log the HTTP Host Header; 'url': Log the HTTP Request URL; ", "enum":[ "host", "url" ] }, "port-mappings":{ "type":"string", "format":"enum", "default":"both", "partition-visibility":"shared", "description":"'creation': Log only creation of NAT mappings; 'disable': Disable Log creation and deletion of NAT mappings; 'both': Log creation and deletion of NAT mappings; ", "enum":[ "creation", "disable", "both" ] }, "port-overloading":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Force logging of all port-overloading sessions" }, "user-data":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Log LSN Subscriber Information" }, "sessions":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Log all data sessions created using NAT" }, "merged-style":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Merge creation and deletion of session logs to one" } } }, "include-destination":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Include the destination IP and port in logs", "optional":true }, "include-inside-user-mac":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Include the inside user MAC address in logs", "optional":true }, "include-partition-name":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Include partition name in logging events", "optional":true }, "include-session-byte-count":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"include byte count in session deletion logs", "optional":true }, "include-port-block-account":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"include bytes accounting information in port-batch-v2 port-mapping and fixed-nat user-ports messages", "optional":true }, "include-radius-attribute":{ "type":"object", "properties":{ "attr-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "attr":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'imei': Include IMEI; 'imsi': Include IMSI; 'msisdn': Include MSISDN; 'custom1': Customized attribute 1; 'custom2': Customized attribute 2; 'custom3': Customized attribute 3; 'custom4': Customized attribute 4; 'custom5': Customized attribute 5; 'custom6': Customized attribute 6; ", "enum":[ "imei", "imsi", "msisdn", "custom1", "custom2", "custom3", "custom4", "custom5", "custom6" ] }, "attr-event":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'http-requests': Include in HTTP request logs; 'port-mappings': Include in port-mapping logs; 'sessions': Include in session logs; 'user-data': Include in user-data logs; ", "enum":[ "http-requests", "port-mappings", "sessions", "user-data" ] } } } ] }, "no-quote":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"No quotation marks for RADIUS attributes in logs" }, "insert-if-not-existing":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Configure what string is to be inserted for custom RADIUS attributes" }, "zero-in-custom-attr":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Insert 0000 for standard and custom attributes in log string" }, "framed-ipv6-prefix":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Include radius attributes for the prefix" }, "prefix-length":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'32': Prefix length 32; '48': Prefix length 48; '64': Prefix length 64; '80': Prefix length 80; '96': Prefix length 96; '112': Prefix length 112; ", "enum":[ "32", "48", "64", "80", "96", "112" ] } } }, "include-http":{ "type":"object", "properties":{ "header-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "http-header":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'cookie': Log HTTP Cookie Header; 'referer': Log HTTP Referer Header; 'user-agent': Log HTTP User-Agent Header; 'header1': Log HTTP Header 1; 'header2': Log HTTP Header 2; 'header3': Log HTTP Header 3; ", "enum":[ "cookie", "referer", "user-agent", "header1", "header2", "header3" ] }, "max-length":{ "type":"number", "format":"number", "minimum":100, "maximum":1000, "default":100, "partition-visibility":"shared", "description":"Max length for a HTTP request log (Max header length (Default: 100 char))" }, "custom-header-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Header name" }, "custom-max-length":{ "type":"number", "format":"number", "minimum":100, "maximum":1000, "default":100, "partition-visibility":"shared", "description":"Max length for a HTTP request log (Max header length (Default: 100 char))" } } } ] }, "l4-session-info":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Log the L4 session information of the HTTP request" }, "method":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Log the HTTP Request Method" }, "request-number":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"HTTP Request Number" }, "file-extension":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"HTTP file extension" } } }, "rule":{ "type":"object", "properties":{ "rule-http-requests":{ "type":"object", "properties":{ "dest-port":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "dest-port-number":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared" }, "include-byte-count":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Include the byte count of HTTP Request/Response in CGN session deletion logs" } } } ] }, "log-every-http-request":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Log every HTTP request in an HTTP 1.1 session (Default: Log the first HTTP request in a session)" }, "max-url-len":{ "type":"number", "format":"number", "minimum":100, "maximum":1000, "default":128, "partition-visibility":"shared", "description":"Max length of URL log (Max URL length (Default: 128 char))" }, "include-all-headers":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Include all configured headers despite of absence in HTTP request" }, "disable-sequence-check":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable http packet sequence check and don't drop out of order packets" } } }, "interim-update-interval":{ "type":"number", "format":"number", "minimum":15, "maximum":120, "partition-visibility":"shared", "description":"Log interim update of NAT mappings (Interim update interval in minutes(Interval is floored to a multiple of 5))" } } }, "facility":{ "type":"string", "format":"enum", "default":"local0", "partition-visibility":"shared", "description":"'kernel': 0: Kernel; 'user': 1: User-level; 'mail': 2: Mail; 'daemon': 3: System daemons; 'security-authorization': 4: Security/authorization; 'syslog': 5: Syslog internal; 'line-printer': 6: Line printer; 'news': 7: Network news; 'uucp': 8: UUCP subsystem; 'cron': 9: Time-related; 'security-authorization-private': 10: Private security/authorization; 'ftp': 11: FTP; 'ntp': 12: NTP; 'audit': 13: Audit; 'alert': 14: Alert; 'clock': 15: Clock-related; 'local0': 16: Local use 0; 'local1': 17: Local use 1; 'local2': 18: Local use 2; 'local3': 19: Local use 3; 'local4': 20: Local use 4; 'local5': 21: Local use 5; 'local6': 22: Local use 6; 'local7': 23: Local use 7; ", "enum":[ "kernel", "user", "mail", "daemon", "security-authorization", "syslog", "line-printer", "news", "uucp", "cron", "security-authorization-private", "ftp", "ntp", "audit", "alert", "clock", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7" ], "optional":true }, "severity":{ "type":"object", "properties":{ "severity-string":{ "type":"string", "format":"enum", "default":"debug", "partition-visibility":"shared", "not":"severity-val", "description":"'emergency': 0: Emergency; 'alert': 1: Alert; 'critical': 2: Critical; 'error': 3: Error; 'warning': 4: Warning; 'notice': 5: Notice; 'informational': 6: Informational; 'debug': 7: Debug; ", "enum":[ "emergency", "alert", "critical", "error", "warning", "notice", "informational", "debug" ] }, "severity-val":{ "type":"number", "format":"number", "minimum":0, "maximum":7, "default":7, "partition-visibility":"shared", "not":"severity-string", "description":"Logging severity level" } } }, "format":{ "type":"string", "format":"enum", "default":"default", "partition-visibility":"shared", "description":"'binary': Binary logging format; 'compact': Compact ASCII logging format (Hex format with compact representation); 'custom': Arbitrary custom logging format; 'default': Default A10 logging format (ASCII); 'rfc5424': RFC5424 compliant logging format; 'cef': Common Event Format for logging; ", "enum":[ "binary", "compact", "custom", "default", "rfc5424", "cef" ], "optional":true }, "batched-logging-disable":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable multiple logs per packet", "optional":true }, "log-receiver":{ "type":"object", "properties":{ "radius":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Use RADIUS server for NAT logging" }, "secret-string":{ "type":"string", "format":"password", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"The RADIUS server's secret" }, "encrypted":{ "type":"encrypted", "format":"encrypted", "partition-visibility":"shared", "description":"Do NOT use this option manually. (This is an A10 reserved keyword.) (The ENCRYPTED secret string)" } } }, "service-group":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Set NAT logging service-group", "optional":true }, "shared":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"private", "description":"Service group is in shared patition", "optional":true }, "source-port":{ "type":"object", "properties":{ "source-port-num":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "default":514, "partition-visibility":"shared", "not":"any", "description":"Set source port for sending NAT syslogs (default: 514)" }, "any":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"source-port-num", "description":"Use any source port" } } }, "rfc-custom":{ "type":"object", "properties":{ "header":{ "type":"object", "properties":{ "use-alternate-timestamp":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Use alternate non-RFC5424 compliant timestamp. Ex: 1990 Jan 15 12:30:30" } } }, "message":{ "type":"object", "properties":{ "ipv6-tech":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "tech-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'lsn': LSN; 'nat64': NAT64; 'ds-lite': DS-Lite; 'sixrd-nat64': 6rd-NAT64; ", "enum":[ "lsn", "nat64", "ds-lite", "sixrd-nat64" ] }, "fixed-nat-allocated":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Fixed-NAT allocated (Custom message string. Should be in the format of \"MSGID [STRUCTURED-DATA] MSG\")" }, "fixed-nat-freed":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Fixed-NAT freed (Custom message string. Should be in the format of \"MSGID [STRUCTURED-DATA] MSG\")" }, "port-allocated":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Port allocated (Custom message string. Should be in the format of \"MSGID [STRUCTURED-DATA] MSG\")" }, "port-freed":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Port freed (Custom message string. Should be in the format of \"MSGID [STRUCTURED-DATA] MSG\")" }, "port-batch-allocated":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Port Batch allocated (Custom message string. Should be in the format of \"MSGID [STRUCTURED-DATA] MSG\")" }, "port-batch-freed":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Port Batch freed (Custom message string. Should be in the format of \"MSGID [STRUCTURED-DATA] MSG\")" }, "port-batch-v2-allocated":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Port Batch v2 allocated (Custom message string. Should be in the format of \"MSGID [STRUCTURED-DATA] MSG\")" }, "port-batch-v2-freed":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Port Batch v2 freed (Custom message string. Should be in the format of \"MSGID [STRUCTURED-DATA] MSG\")" } } } ] }, "dhcpv6-map-prefix-assigned":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"MAP DHCPv6 prefix assigned" }, "dhcpv6-map-prefix-released":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"MAP DHCPv6 prefix released" }, "dhcpv6-map-prefix-renewed":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"MAP DHCPv6 prefix renewed" }, "http-request-got":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"HTTP request got (Custom message string. Should be in the format of \"MSGID [STRUCTURED-DATA] MSG\")" }, "session-created":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Session created (Custom message string. Should be in the format of \"MSGID [STRUCTURED-DATA] MSG\")" }, "session-deleted":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Session deleted (Custom message string. Should be in the format of \"MSGID [STRUCTURED-DATA] MSG\")" } } } } }, "custom":{ "type":"object", "properties":{ "custom-header":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'use-syslog-header': Use syslog header as custom log header; ", "enum":[ "use-syslog-header" ] }, "custom-message":{ "type":"object", "properties":{ "custom-dhcpv6-map-prefix-assigned":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"MAP DHCPv6 prefix assigned" }, "custom-dhcpv6-map-prefix-released":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"MAP DHCPv6 prefix released" }, "custom-dhcpv6-map-prefix-renewed":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"MAP DHCPv6 prefix renewed" }, "custom-fixed-nat-allocated":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Fixed-NAT allocated (Custom message string)" }, "custom-fixed-nat-interim-update":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Fixed-NAT interim update (Custom message string)" }, "custom-fixed-nat-freed":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Fixed-NAT freed (Custom message string)" }, "custom-http-request-got":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"HTTP request got (Custom message string)" }, "custom-port-allocated":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Port allocated (Custom message string)" }, "custom-port-batch-allocated":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Port Batch allocated (Custom message string)" }, "custom-port-batch-freed":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Port Batch freed (Custom message string)" }, "custom-port-batch-v2-allocated":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Port Batch v2 allocated (Custom message string)" }, "custom-port-batch-v2-freed":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Port Batch v2 freed (Custom message string)" }, "custom-port-batch-v2-interim-update":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Port Batch v2 interim update (Custom message string)" }, "custom-port-freed":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Port freed (Custom message string)" }, "custom-session-created":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Session created (Custom message string)" }, "custom-session-deleted":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Session deleted (Custom message string)" } } }, "custom-time-stamp-format":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":31, "partition-visibility":"shared", "description":"Customize the time stamp format (Customize the time-stamp format. Default:%Y%m%d%H%M%S)" } } }, "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 }, "source-address":{ "type":"object", "$ref":"/axapi/v3/cgnv6/template/logging/{name}/source-address", "properties":{ "ip":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"Specify source IP address" }, "ipv6":{ "type":"string", "format":"ipv6-address", "partition-visibility":"shared", "description":"Specify source IPv6 address" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "disable-log-by-destination":{ "type":"object", "$ref":"/axapi/v3/cgnv6/template/logging/{name}/disable-log-by-destination", "properties":{ "tcp-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "tcp-port-start":{ "type":"number", "format":"number", "partition-visibility":"shared", "description":"Destination Port (Single Destination Port or Port Range Start)" }, "tcp-port-end":{ "type":"number", "format":"number", "partition-visibility":"shared", "description":"Port Range End" } } } ] }, "udp-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "udp-port-start":{ "type":"number", "format":"number", "partition-visibility":"shared", "description":"Destination Port (Single Destination Port or Port Range Start)" }, "udp-port-end":{ "type":"number", "format":"number", "partition-visibility":"shared", "description":"Port Range End" } } } ] }, "icmp":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable logging for icmp traffic" }, "others":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable logging for other L4 protocols" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" }, "ip-list":{ "type":"array", "minItems":1, "items":{ "type":"ip" }, "uniqueItems":true, "$ref":"/axapi/v3/cgnv6/template/logging/{name}/disable-log-by-destination/ip/{ipv4-addr}", "array":[ { "properties":{ "ipv4-addr":{ "type":"string", "format":"ipv4-cidr", "partition-visibility":"shared", "description":"Configure an IP subnet", "optional":false }, "tcp-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "tcp-port-start":{ "type":"number", "format":"number", "partition-visibility":"shared", "description":"Destination Port (Single Destination Port or Port Range Start)" }, "tcp-port-end":{ "type":"number", "format":"number", "partition-visibility":"shared", "description":"Port Range End" } } } ] }, "udp-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "udp-port-start":{ "type":"number", "format":"number", "partition-visibility":"shared", "description":"Destination Port (Single Destination Port or Port Range Start)" }, "udp-port-end":{ "type":"number", "format":"number", "partition-visibility":"shared", "description":"Port Range End" } } } ] }, "icmp":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable logging for icmp traffic", "optional":true }, "others":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable logging for other L4 protocols", "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 } }, "required":[ "ipv4-addr" ] } ] }, "ip6-list":{ "type":"array", "minItems":1, "items":{ "type":"ip6" }, "uniqueItems":true, "$ref":"/axapi/v3/cgnv6/template/logging/{name}/disable-log-by-destination/ip6/{ipv6-addr}", "array":[ { "properties":{ "ipv6-addr":{ "type":"string", "format":"ipv6-address-plen", "partition-visibility":"shared", "description":"Configure an IPv6 subnet", "optional":false }, "tcp-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "tcp-port-start":{ "type":"number", "format":"number", "partition-visibility":"shared", "description":"Destination Port (Single Destination Port or Port Range Start)" }, "tcp-port-end":{ "type":"number", "format":"number", "partition-visibility":"shared", "description":"Port Range End" } } } ] }, "udp-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "udp-port-start":{ "type":"number", "format":"number", "partition-visibility":"shared", "description":"Destination Port (Single Destination Port or Port Range Start)" }, "udp-port-end":{ "type":"number", "format":"number", "partition-visibility":"shared", "description":"Port Range End" } } } ] }, "icmp":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable logging for icmp traffic", "optional":true }, "others":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable logging for other L4 protocols", "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 } }, "required":[ "ipv6-addr" ] } ] } } } }, "object-keys":[ "name" ], "required":[ "name" ] }