On Monday, September 17, 2012 12:24:20 PM UTC-4, Mike Bostock wrote:
Is this what you meant?
sum(topsyscall(syscalls).gt(log.open, 0))
Mike... thanks. I see now that I can return the metric summing all of the open sys calls:
sum(topsyscall(log.open).gt(log.open,0))
Which could of course be simplified to sum(topsyscall(log.open))
Trying to return the events individually (using cube-get) leaves me with a sequence of [object Object] responses:
09/18/2012 13:54:09;[object Object]
but if I look at the json value returned from the request I can see that it is just fine:
$ curl `cube-get event 'topsyscall(log.open)' --start today@13:50 -r` | json | tail
},
{
"time": "2012-09-18T17:56:27.517Z",
"data": {
"log": {
"open": 370
}
}
}
]
I appreciate your help!
Thanks,
B