15 lines
493 B
Text
15 lines
493 B
Text
|
[[inputs.file]]
|
||
|
files = ["./testcases/protobuf_powerdns_hex/powerdns_message.bin"]
|
||
|
data_format = "xpath_protobuf"
|
||
|
|
||
|
xpath_native_types = true
|
||
|
xpath_protobuf_files = ["powerdns_message.proto"]
|
||
|
xpath_protobuf_type = "PBDNSMessage"
|
||
|
xpath_protobuf_import_paths = [".", "./testcases/protobuf_powerdns_hex"]
|
||
|
xpath_protobuf_skip_bytes = 2
|
||
|
|
||
|
[[inputs.file.xpath]]
|
||
|
metric_name = "'powerdns'"
|
||
|
fields_bytes_as_hex = ["from", "to", "messageId"]
|
||
|
field_selection = "descendant::*"
|