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
2
plugins/parsers/json_v2/testdata/timestamp_ns/expected.out
vendored
Normal file
2
plugins/parsers/json_v2/testdata/timestamp_ns/expected.out
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
test value=0 1631202459121654321
|
||||
test value=1 1631202459121654321
|
7
plugins/parsers/json_v2/testdata/timestamp_ns/input.json
vendored
Normal file
7
plugins/parsers/json_v2/testdata/timestamp_ns/input.json
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"test": [
|
||||
{ "value": 0 },
|
||||
{ "value": 1 }
|
||||
],
|
||||
"timestamp": 1631202459121654321
|
||||
}
|
11
plugins/parsers/json_v2/testdata/timestamp_ns/telegraf.conf
vendored
Normal file
11
plugins/parsers/json_v2/testdata/timestamp_ns/telegraf.conf
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Example taken from: https://github.com/influxdata/telegraf/issues/5940
|
||||
|
||||
[[inputs.file]]
|
||||
files = ["./testdata/timestamp_ns/input.json"]
|
||||
data_format = "json_v2"
|
||||
[[inputs.file.json_v2]]
|
||||
measurement_name = "test"
|
||||
timestamp_path = "timestamp"
|
||||
timestamp_format = "unix_ns"
|
||||
[[inputs.file.json_v2.object]]
|
||||
path = "test"
|
Loading…
Add table
Add a link
Reference in a new issue