github.com/netdata/go.d.plugin@v0.58.1/modules/squidlog/config_schema.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-07/schema#", 3 "title": "go.d/squid_log job configuration schema.", 4 "type": "object", 5 "properties": { 6 "name": { 7 "type": "string" 8 }, 9 "parser": { 10 "type": "object", 11 "properties": { 12 "log_type": { 13 "type": "string" 14 }, 15 "csv_config": { 16 "type": "object", 17 "properties": { 18 "fields_per_record": { 19 "type": "integer" 20 }, 21 "delimiter": { 22 "type": "string" 23 }, 24 "trim_leading_space": { 25 "type": "boolean" 26 }, 27 "format": { 28 "type": "string" 29 } 30 }, 31 "required": [ 32 "fields_per_record", 33 "delimiter", 34 "trim_leading_space", 35 "format" 36 ] 37 }, 38 "ltsv_config": { 39 "type": "object", 40 "properties": { 41 "field_delimiter": { 42 "type": "string" 43 }, 44 "value_delimiter": { 45 "type": "string" 46 }, 47 "mapping": { 48 "type": "object", 49 "additionalProperties": { 50 "type": "string" 51 } 52 } 53 }, 54 "required": [ 55 "field_delimiter", 56 "value_delimiter", 57 "mapping" 58 ] 59 }, 60 "regexp_config": { 61 "type": "object", 62 "properties": { 63 "pattern": { 64 "type": "string" 65 } 66 }, 67 "required": [ 68 "pattern" 69 ] 70 }, 71 "json_config": { 72 "type": "object", 73 "properties": { 74 "mapping": { 75 "type": "object", 76 "additionalProperties": { 77 "type": "string" 78 } 79 } 80 }, 81 "required": [ 82 "mapping" 83 ] 84 } 85 }, 86 "required": [ 87 "log_type" 88 ] 89 }, 90 "path": { 91 "type": "string" 92 }, 93 "exclude_path": { 94 "type": "string" 95 } 96 }, 97 "required": [ 98 "name", 99 "path" 100 ] 101 }