# 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])"
