diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 11:19:16 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:07:37 +0000 |
commit | b485aab7e71c1625cfc27e0f92c9509f42378458 (patch) | |
tree | ae9abe108601079d1679194de237c9a435ae5b55 /src/go/collectors/go.d.plugin/modules/fluentd/testdata | |
parent | Adding upstream version 1.44.3. (diff) | |
download | netdata-b485aab7e71c1625cfc27e0f92c9509f42378458.tar.xz netdata-b485aab7e71c1625cfc27e0f92c9509f42378458.zip |
Adding upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/go/collectors/go.d.plugin/modules/fluentd/testdata')
3 files changed, 140 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/fluentd/testdata/config.json b/src/go/collectors/go.d.plugin/modules/fluentd/testdata/config.json new file mode 100644 index 000000000..6477bd57d --- /dev/null +++ b/src/go/collectors/go.d.plugin/modules/fluentd/testdata/config.json @@ -0,0 +1,21 @@ +{ + "update_every": 123, + "url": "ok", + "body": "ok", + "method": "ok", + "headers": { + "ok": "ok" + }, + "username": "ok", + "password": "ok", + "proxy_url": "ok", + "proxy_username": "ok", + "proxy_password": "ok", + "timeout": 123.123, + "not_follow_redirects": true, + "tls_ca": "ok", + "tls_cert": "ok", + "tls_key": "ok", + "tls_skip_verify": true, + "permit_plugin_id": "ok" +} diff --git a/src/go/collectors/go.d.plugin/modules/fluentd/testdata/config.yaml b/src/go/collectors/go.d.plugin/modules/fluentd/testdata/config.yaml new file mode 100644 index 000000000..0afd42e67 --- /dev/null +++ b/src/go/collectors/go.d.plugin/modules/fluentd/testdata/config.yaml @@ -0,0 +1,18 @@ +update_every: 123 +url: "ok" +body: "ok" +method: "ok" +headers: + ok: "ok" +username: "ok" +password: "ok" +proxy_url: "ok" +proxy_username: "ok" +proxy_password: "ok" +timeout: 123.123 +not_follow_redirects: yes +tls_ca: "ok" +tls_cert: "ok" +tls_key: "ok" +tls_skip_verify: yes +permit_plugin_id: "ok" diff --git a/src/go/collectors/go.d.plugin/modules/fluentd/testdata/plugins.json b/src/go/collectors/go.d.plugin/modules/fluentd/testdata/plugins.json new file mode 100644 index 000000000..1fd921f7c --- /dev/null +++ b/src/go/collectors/go.d.plugin/modules/fluentd/testdata/plugins.json @@ -0,0 +1,101 @@ +{ + "plugins": [ + { + "plugin_id": "input_forward", + "plugin_category": "input", + "type": "forward", + "config": { + "@type": "forward", + "@id": "input_forward" + }, + "output_plugin": false, + "retry_count": null + }, + { + "plugin_id": "input_http", + "plugin_category": "input", + "type": "http", + "config": { + "@type": "http", + "@id": "input_http", + "port": "8888" + }, + "output_plugin": false, + "retry_count": null + }, + { + "plugin_id": "input_debug_agent", + "plugin_category": "input", + "type": "debug_agent", + "config": { + "@type": "debug_agent", + "@id": "input_debug_agent", + "bind": "127.0.0.1", + "port": "24230" + }, + "output_plugin": false, + "retry_count": null + }, + { + "plugin_id": "object:3f7e4d08e3e0", + "plugin_category": "input", + "type": "monitor_agent", + "config": { + "@type": "monitor_agent", + "bind": "0.0.0.0", + "port": "24220" + }, + "output_plugin": false, + "retry_count": null + }, + { + "plugin_id": "output_td", + "plugin_category": "output", + "type": "tdlog", + "config": { + "@type": "tdlog", + "@id": "output_td", + "apikey": "xxxxxx", + "auto_create_table": "" + }, + "output_plugin": true, + "buffer_queue_length": 0, + "buffer_total_queued_size": 0, + "retry_count": 0, + "retry": {} + }, + { + "plugin_id": "output_stdout", + "plugin_category": "output", + "type": "stdout", + "config": { + "@type": "stdout", + "@id": "output_stdout" + }, + "output_plugin": true, + "retry_count": 0, + "retry": {} + }, + { + "plugin_id": "object:3f7e4b836770", + "plugin_category": "filter", + "type": "grep", + "config": { + "@type": "grep", + "regexp1": "message cool" + }, + "output_plugin": false, + "retry_count": null + }, + { + "plugin_id": "object:3f7e4bbe5a38", + "plugin_category": "filter", + "type": "record_transformer", + "config": { + "@type": "record_transformer" + }, + "output_plugin": false, + "retry_count": null + } + ] +}
\ No newline at end of file |