Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
31
plugins/processors/parser/sample.conf
Normal file
31
plugins/processors/parser/sample.conf
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Parse a value in a specified field(s)/tag(s) and add the result in a new metric
|
||||
[[processors.parser]]
|
||||
## The name of the fields whose value will be parsed.
|
||||
parse_fields = ["message"]
|
||||
|
||||
## Fields to base64 decode.
|
||||
## These fields do not need to be specified in parse_fields.
|
||||
## Fields specified here will have base64 decode applied to them.
|
||||
# parse_fields_base64 = []
|
||||
|
||||
## The name of the tags whose value will be parsed.
|
||||
# parse_tags = []
|
||||
|
||||
## If true, incoming metrics are not emitted.
|
||||
# drop_original = false
|
||||
|
||||
## Merge Behavior
|
||||
## Only has effect when drop_original is set to false. Possible options
|
||||
## include:
|
||||
## * override: emitted metrics are merged by overriding the original metric
|
||||
## using the newly parsed metrics, but retains the original metric
|
||||
## timestamp.
|
||||
## * override-with-timestamp: the same as "override", but the timestamp is
|
||||
## set based on the new metrics if present.
|
||||
# merge = ""
|
||||
|
||||
## The dataformat to be read from files
|
||||
## Each data format has its own unique set of configuration options, read
|
||||
## more about them here:
|
||||
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
|
||||
data_format = "influx"
|
Loading…
Add table
Add a link
Reference in a new issue