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
15
plugins/parsers/json_v2/testdata/optional/telegraf.conf
vendored
Normal file
15
plugins/parsers/json_v2/testdata/optional/telegraf.conf
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Example taken from: https://github.com/influxdata/telegraf/issues/7097
|
||||
|
||||
# Parse String types from JSON
|
||||
[[inputs.file]]
|
||||
files = ["./testdata/optional/input.json"]
|
||||
data_format = "json_v2"
|
||||
[[inputs.file.json_v2]]
|
||||
[[inputs.file.json_v2.field]]
|
||||
path = "wrong"
|
||||
optional = true
|
||||
[[inputs.file.json_v2.object]]
|
||||
path = "wrong"
|
||||
optional = true
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue