stdout sink
Toplevel stdoutSink
Categories:
stdout
sink
The stdout
sink is the most simple sink provided by cc-metric-collector. It writes all metrics in InfluxDB line-procol format to the configurable output file or the common special files stdout
and stderr
.
Configuration structure
{
"<name>": {
"type": "stdout",
"meta_as_tags" : [],
"output_file" : "mylogfile.log",
"process_messages" : {
"see" : "docs of message processor for valid fields"
},
"meta_as_tags" : []
}
}
type
: makes the sink anstdout
sinkmeta_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
andstderr
. If this option is not provided, the default value isstdout
process_messages
: Process messages with given rules before progressing or dropping, see here (optional)meta_as_tags
: print all meta information as tags in the output (deprecated, optional)
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.