annon_ktl v0.3.0 Annon.Controller.Subcommands.Requests
Prints latest requests. Use ‘get request :id’ command for request details.
List of subcommands:
help Prints help about requests command.
Filtering output:
—with-idempotency-key=’key’ - Print only request with specified idempotency key. —with_api_ids=’id1,id2’ - Print only request that matched to one of listed APIs. —with-status-codes=’200,2001’ - Print only requests that sent specified status codes. —with-ip-addresses=’127.0.0.1,127.0.0.2’ - Print only requests from consumers with specified IP addresses.
Other options:
-o, —output=json|raw - Output in selected format. -l, —limit=100 - Limit result.
To see list of global options use “annonktl help”.
Examples:
annonktl get requests \
--with-api-ids=5d6d9b0a-7a0a-4927-8601-07ac12e92fcf \
--with-status-codes=500,501,502 - Print all requests for a particular API that returned internal error to consumers.
annonktl get requests \
--with-status-codes=401,403 - Print all requests that failed authorization.
Link to this section Summary
Link to this section Functions
Link to this function
run_subcommand(argv, global_opts, subcommand_args)