Resolution: Won't fix
I created a template with a system.run master item returning JSON (both in standard output and in a file) :
- Then, a LLD rule based on the content of that file creates several items from prototypes. These items are dependent items from the json master item and are supposed to return the values of the different "total_" fields of the json thanks to jsonpath preprocessing (see attachment). The preprocessing is defined that way : *$.total_success (attachment 2)
- In these items names, I use LLD macros, to get values from the json, and it works fine (attachment 1, 3 and 4).
- But I get an error with my protoype items values (see attachement 3) :
"Preprocessing failed for [...]. Failed: cannot extract value from json by path "$.total_success". object not found starting with json path: "total_success"
Sythax "$.total_success" works, but only get first occurence of total_success value fr each item... Not really useful...
Syntax "$[*].total_success" or "$..total_success" don't work...
Do you have any idea why my jsonpath definition works fine in the of the items (from my LLD macros), but not in the of the items (from the preprocessing jsonpath) please ?