command:urlinsight
urlinsightGetUrls
urlinsightGetUrls [--limit=] [--offset=] [--applicationId=] [--filter=] [--period=] [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=]
Get the list of url statistics.
- --limit
The number of rows to retrieve. Default lists all rules up to an arbitrary limit set by the system. - --offset
A paging offset to begin the rules list from. Default is 0. - --applicationId
Display URLs of a specific application. If not supplied, display URLs from all the applications. - --filter
Predefined filters/order:- 1 - "most time consuming" - order by number of samples multiply average time, descending.
- 2 - "slowest response time" - order by average time descending.
- 3 - "most visited" - ordered by number of samples descending.
- If not supplied, default is 1.
- --period
Period in hours. (one week is 24*7, etc…). Default is 24. - --output-format
Output format. Default is "xml", but you can use "json", or "kv" for key-value.
urlinsightGetUrlInfo
urlinsightGetUrlInfo --id= [--order=] [--period=] [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=]
Get a single request statistics info with its requests. The requests can be filtered and ordered using `period` and `order` parameter.
- --id
The url id to retrieve the info from. - --order
The order of the requests list. The format is like in "order" clause in sql, e.g. "from_time desc" or "until_time". - --period
Number of hours. Limit the requests list to a specific period. Provide the number of hours back until now. Default is 24 (i.e. by default, bring requests from the last 24 hours). - --output-format
Output format. Default is "xml", but you can use "json", or "kv" for key-value.
urlinsightGetZraySnapshots
urlinsightGetZraySnapshots --resource_id= [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=]
Get stored z-ray snapshots for a requested resource ID.
- --resource_id
The url id to retrieve the info from. - --output-format
Output format. Default is "xml", but you can use "json", or "kv" for key-value.