VaunMcCarthy | 2021-03-27 21:43:55 UTC | #1
Hi guys
Watched the dev drop video which was nice. Can someone please help translate their examples using jq but under jq-win64/Windows instead? Guessing like anything it's all in the hell of quotes
matt22 | 2021-04-06 09:53:15 UTC | #2
Hi, you can escape with a simple \"
like that : gc notifications channels listen streaming-1-qh0h088okg8uuqda1i7lq0blat | jq -c '.eventBody | select(has(\"data\")) | .data[].metrics[] | select(.metric | try contains(\"oWaiting\")) | .stats.count'
the JQ part is working. but not like that for me, it is more a problem around 'stream' from the gc...
VaunMcCarthy | 2021-04-11 08:55:38 UTC | #3
Does that command line work for you under Windows Matt?
John_Carnell | 2021-04-26 18:59:23 UTC | #4
Hi Vaun,
We have added a few Powershell examples to our quick hits repo. I hope these will be useful for you.
Thanks, John Carnell Manager, Developer Engagement
system | 2021-05-26 18:59:24 UTC | #5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 10436