Update stdoutSink.md

This commit is contained in:
Thomas Gruber 2023-10-10 11:57:13 +02:00 committed by GitHub
parent e76eaa86ad
commit 9df1054e32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,14 +9,14 @@ The `stdout` sink is the most simple sink provided by cc-metric-collector. It wr
{ {
"<name>": { "<name>": {
"type": "stdout", "type": "stdout",
"meta_as_tags" : true, "meta_as_tags" : [],
"output_file" : "mylogfile.log" "output_file" : "mylogfile.log"
} }
} }
``` ```
- `type`: makes the sink an `stdout` sink - `type`: makes the sink an `stdout` sink
- `meta_as_tags`: print all meta information as tags in the output (optional) - `meta_as_tags`: print meta information as tags in the output (optional)
- `output_file`: Write all data to the selected file (optional). There are two 'special' files: `stdout` and `stderr`. If this option is not provided, the default value is `stdout` - `output_file`: Write all data to the selected file (optional). There are two 'special' files: `stdout` and `stderr`. If this option is not provided, the default value is `stdout`