json_exporter
json_exporter copied to clipboard
Reference array index
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?
Hello @timm-e
did you manage to solve this problem ? (Sorry I know this issue is old but I am facing the same struggle)