Hi
I try to import this json array:
{“CallStartTime”:“26.04.2021 08:49:05”,“PacketLossRate”:“0.00117785630153121”,“RoundTripLatencyInMs”:“19.5”,“PacketsSent”:“849”,“PacketsReceived”:“848”,“AverageJitterInMs”:“7.01923”,“PacketReorderRatio”:“0”,“json_time_key”:“1619426944.13831”,“name”:“skypevoip”}
The json file and data inside will be created every 60s. The file includes only one line with the actual metrics.
I use this section in the telegraf.conf:
[[inputs.file]]
- #interval = “10s”*
- files = [‘C:\Users\chme\AppData\Local\Microsoft Skype for Business Network Assessment Tool\performance_results.json’]*
-
tag_keys = [“PacketLossRate”,“RoundTripLatencyInMs”,“PacketsReceived”,“PacketsSent”,“PacketsReceived”,“AverageJitterInMs”,“PacketReorderRatio”]*
- json_string_fields = [“PacketLossRate”,“RoundTripLatencyInMs”,“PacketsReceived”,“PacketsSent”,“PacketsReceived”,“AverageJitterInMs”,“PacketReorderRatio”]*
- json_time_format = “unix”*
- json_time_key = “json_time_key”*
- json_name_key = “name”*
- data_format = “json”*
The metrics are not imported. I do not see any errors in the STDOUT. What do I wrong?