How to filter ziti fabric list circuits by service name?

Dear All,

Please help i would like to monitor path for specific services on openziti controller with ziti fabric list circuits by service name . What can i do for achieving this ?

Thank you.
And

Perhaps by streaming the events to a file?

  jsonLogger:
    subscriptions:
      - type: circuit
    handler:
      format: json
      type: file
      path: /var/log/ziti-controller/fabric-circuit.json

A similar way:

ziti fabric stream events --usage  | perl -n -e 'print $1, ", ", $2,", ", $3, ", ", $4, ", ", $5, "\n" if /("source_id":"[^"]+").+("circuit_id":"[^"]+").+("ingress.tx":\d+).+("clientId":"[^"]+").+("serviceId":"\w+")/'
1 Like

Helo @Rantanplan , thanks for your inside.

But I still curious, when I did list circuits as below :

the number of data is 1276, but on the cli only showing 10 data.

How I can get the detail for all data.

Thanks
And

Use 'limit none' on your cli command. You'll still only get a max of 500 so you'll need to use pagination

Hello @TheLumberjack ,

Amazing

Thank you so much for your information.

Thanks
And