[[inputs.file]]
  files = ["./testcases/protobuf_issue_15571/message.bin"]
  data_format = "xpath_protobuf"

  xpath_print_document = true
  xpath_native_types = true
  xpath_protobuf_files = ["telemetry_top.proto", "port.proto"]
  xpath_protobuf_type = "TelemetryStream"
  xpath_protobuf_import_paths = [".", "./testcases/protobuf_issue_15571"]

  [[inputs.file.xpath]]
    metric_name = "'test'"
    field_selection = "* | //if_name"
    field_name_expansion = true
    timestamp = "//timestamp"
    timestamp_format = "unix_ms"
