- 
    Problem report 
- 
    Resolution: Fixed
- 
    Trivial 
- 
    None
- 
    4.2.5
Given the attached JSON, I want to be able to create a {#LIGHTID} for the top level IDs, and then {#LIGHTNAME} for *.name.
When I pass LLD the link to the JSON, with pre-processing set to JSON, and the parameters set to $, I would expect it to return all the JSON, but the error I get is
Preprocessing failed for: {"1":{"state":{"on":false,"bri":254,"hue":8597,"sat":121,"effect":"none","xy":[0.4452,0.4068],"ct... 1. Failed: cannot extract value from json by path "$": unsupported character in json path starting with: ""
I don't know if Zabbix can descend in to the arrays during discovery to give me *.name, but at the very least it should be able to take in the entire block of JSON so that I can get the IDs usingĀ
$.*~
Why is "$" not accepted by pre-processing?
- causes
- 
                    ZBXNEXT-968 multiline regular expression matching -         
- Closed
 
-         
- is duplicated by
- 
                    ZBX-16555 Can't use full JSONPath functionality -         
- Closed
 
-         


