i have the following json format and trying to filter it using jq. My requirement is to print the "read-transactions" value. I. tried the following but didnt succeed.
validator-info --json | jq .Node_info.Metrics[].read-transactions
Expected output is 0.1233
Any idea what I'm missing here?
{
Node_info": {
"Metrics": {
"Delta": 0.12,
"Lambda": 2410,
"Omega": 220,
"average-per-second": {
"read-transactions": 0.1233,
"write-transactions": 0.122334
},
}
}
}