summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/weblog/testdata/config.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/go/collectors/go.d.plugin/modules/weblog/testdata/config.json64
1 files changed, 64 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/weblog/testdata/config.json b/src/go/collectors/go.d.plugin/modules/weblog/testdata/config.json
new file mode 100644
index 000000000..80b51736d
--- /dev/null
+++ b/src/go/collectors/go.d.plugin/modules/weblog/testdata/config.json
@@ -0,0 +1,64 @@
+{
+ "update_every": 123,
+ "path": "ok",
+ "exclude_path": "ok",
+ "log_type": "ok",
+ "csv_config": {
+ "fields_per_record": 123,
+ "delimiter": "ok",
+ "trim_leading_space": true,
+ "format": "ok"
+ },
+ "ltsv_config": {
+ "field_delimiter": "ok",
+ "value_delimiter": "ok",
+ "mapping": {
+ "ok": "ok"
+ }
+ },
+ "regexp_config": {
+ "pattern": "ok"
+ },
+ "json_config": {
+ "mapping": {
+ "ok": "ok"
+ }
+ },
+ "url_patterns": [
+ {
+ "name": "ok",
+ "match": "ok"
+ }
+ ],
+ "custom_fields": [
+ {
+ "name": "ok",
+ "patterns": [
+ {
+ "name": "ok",
+ "match": "ok"
+ }
+ ]
+ }
+ ],
+ "custom_time_fields": [
+ {
+ "name": "ok",
+ "histogram": [
+ 123.123
+ ]
+ }
+ ],
+ "custom_numeric_fields": [
+ {
+ "name": "ok",
+ "units": "ok",
+ "multiplier": 123,
+ "divisor": 123
+ }
+ ],
+ "histogram": [
+ 123.123
+ ],
+ "group_response_codes": true
+}