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
32
plugins/inputs/file/sample.conf
Normal file
32
plugins/inputs/file/sample.conf
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Parse a complete file each interval
|
||||
[[inputs.file]]
|
||||
## Files to parse each interval. Accept standard unix glob matching rules,
|
||||
## as well as ** to match recursive files and directories.
|
||||
files = ["/tmp/metrics.out"]
|
||||
|
||||
## Character encoding to use when interpreting the file contents. Invalid
|
||||
## characters are replaced using the unicode replacement character. When set
|
||||
## to the empty string the data is not decoded to text.
|
||||
## ex: character_encoding = "utf-8"
|
||||
## character_encoding = "utf-16le"
|
||||
## character_encoding = "utf-16be"
|
||||
## character_encoding = ""
|
||||
# character_encoding = ""
|
||||
|
||||
## Data format to consume.
|
||||
## 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"
|
||||
|
||||
## Please use caution when using the following options: when file name
|
||||
## variation is high, this can increase the cardinality significantly. Read
|
||||
## more about cardinality here:
|
||||
## https://docs.influxdata.com/influxdb/cloud/reference/glossary/#series-cardinality
|
||||
|
||||
## Name of tag to store the name of the file. Disabled if not set.
|
||||
# file_tag = ""
|
||||
|
||||
## Name of tag to store the absolute path and name of the file. Disabled if
|
||||
## not set.
|
||||
# file_path_tag = ""
|
Loading…
Add table
Add a link
Reference in a new issue