json_exporter icon indicating copy to clipboard operation
json_exporter copied to clipboard

Reference array index

Open timm-e opened this issue 4 years ago • 1 comments

Probably I miss the correct JSONPath syntax. I have a target giving output like: "meters": [ { "power": 0, "is_valid": true, "total": 999 }, { "power": 0, "is_valid": true, "total": 808 } ] How do I refer in a label to the array index, if no unique ID is present as in your example?

timm-e avatar Aug 26 '20 13:08 timm-e

Hello @timm-e

did you manage to solve this problem ? (Sorry I know this issue is old but I am facing the same struggle)

HamzaKhait avatar Mar 10 '22 12:03 HamzaKhait