Ad Widget

Collapse

Couldn't extract value with JSONPath.!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MajorTrajor
    Junior Member
    • Oct 2019
    • 3

    #1

    Couldn't extract value with JSONPath.!!

    Hi!

    I try to extract value of `ValueCSV` from the next construction:

    ```
    {
    "MetricName": "net.multicastRx.summation",
    "MetricInstance": "-",
    "ValueCSV": "7",
    "Units": "num"
    },
    ```
    (this is the array with unique values of 'MetricName')
    I'm use the next sequence: `$.VMMetrics[?(@.MetricName == "net.packetsTx.summation")].ValueCSV`, but Zabbix show an exclamation.
    Does anyone faced with similar parsing tasks?

    Thanks!Appvalley TutuApp Tweakbox
    Last edited by MajorTrajor; 08-10-2019, 04:17.
Working...