I have three items that work as JSONpath preprocess:
$.tcp_statistics.connections_opened
$.udp_statistics.connections_opened
$.icmp_statistics.connections_opened
https://www.zabbix.com/documentation..._functionality says we have some numerical operators.
So I tried this:
$.icmp_statistics.connections_opened + $.tcp_statistics.connections_opened + $.udp_statistics.connections_opened
but:
1. Failed: cannot extract value from json by path "$.icmp_statistics.connections_opened + $.tcp_statistics.connections_opened + $.udp_statistics.connections_opened": unsupported construct in jsonpath starting with: " + $.tcp_statistics.connections_opened + $.udp_statistics.connections_opened"
It's not clear from the examples if what I am trying to do is supported. The only example with a mathematical operator in returns a string!
I was trying to avoid having 4 items.
Comment