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
24
plugins/parsers/xpath/testcases/tracker_msgpack.conf
Normal file
24
plugins/parsers/xpath/testcases/tracker_msgpack.conf
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Example for parsing openweathermap five-day-forecast data.
|
||||
#
|
||||
# File:
|
||||
# testcases/tracker.msg xpath_msgpack
|
||||
#
|
||||
# Expected Output:
|
||||
# tracker,device=TrackerA,fixation=true serial="123abc456def",lat=37.78980863758897,lon=-122.39931057256935,quality=2i 1624528552000000000
|
||||
#
|
||||
|
||||
metric_name = "'tracker'"
|
||||
timestamp = "timestamp"
|
||||
timestamp_format = "unix"
|
||||
|
||||
[tags]
|
||||
device = "device"
|
||||
fixation = "info/fix"
|
||||
|
||||
[fields_int]
|
||||
quality = "info/quality"
|
||||
|
||||
[fields]
|
||||
serial = "info/serial_number"
|
||||
lat = "number(/geo/*[1])"
|
||||
lon = "number(/geo/*[2])"
|
Loading…
Add table
Add a link
Reference in a new issue