Hi,
I'm using Zabbix Server 4.2.3 and have been following this doc, https://www.zabbix.com/documentation...items/jsonpath.
I have copied the JSON input data and inserted into a Value for Test Item preprocessing.
I then run some tests in which the JSONPath Parameters match up with the examples toward the bottom of the same doc mentioned above.
Out of all the examples given, only the following work as intended and return a result:
$.filters.price
$.filters.category
$.filters['no filters']
$.filters
$.books[1].title
ALL others result in unsupported errors, two examples:
cannot extract value from json by path "$.books[-1].author": unsupported character in json path starting with: "[-1].author"
cannot extract value from json by path "$.services[?(@.active==“false”)].servicegroup": unsupported character in json path starting with: "[?(@.active==“false”)].servicegroup"
Does anyone have any troubleshooting advice?
I'm using Zabbix Server 4.2.3 and have been following this doc, https://www.zabbix.com/documentation...items/jsonpath.
I have copied the JSON input data and inserted into a Value for Test Item preprocessing.
I then run some tests in which the JSONPath Parameters match up with the examples toward the bottom of the same doc mentioned above.
Out of all the examples given, only the following work as intended and return a result:
$.filters.price
$.filters.category
$.filters['no filters']
$.filters
$.books[1].title
ALL others result in unsupported errors, two examples:
cannot extract value from json by path "$.books[-1].author": unsupported character in json path starting with: "[-1].author"
cannot extract value from json by path "$.services[?(@.active==“false”)].servicegroup": unsupported character in json path starting with: "[?(@.active==“false”)].servicegroup"
Does anyone have any troubleshooting advice?
Comment