c8y(1)
๐
c8y(1) โ c8y-tenantstatistics-listSummaryAllTenants โจ
okay so bestie, you're holding the c8y(1) manual page and honestly? this one's a whole vibe. it's the tenant-statistics summary command and it ate. let's get into it ๐ซถ
๐ธ NAME ๐ธ
c8y-tenantstatistics-listSummaryAllTenants โ get all tenant usage summary statistics. yes, ALL of them. no crumbs left behind ๐
โจ SYNOPSIS โจ
c8y tenantstatistics listSummaryAllTenants [flags]
๐ฆ DESCRIPTION ๐ฆ
Get collection of tenant usage statistics summary. that's it, that's the whole thing โ you're pulling back the full collection of summaries, and it's giving main character energy fr fr ๐ฅ
๐ OPTIONS ๐
--dateFrom=""โ start date, or start date and time, of the statistics. leave it empty and you get whatever the default window is ๐--dateTo=""โ end date, or end date and time, of the statistics. also empty by default, no cap ๐ธ-h,--help[=false]โ help forlistSummaryAllTenants. your little emergency "what does this do again" button, defaultfalse๐ง
๐ OPTIONS INHERITED FROM PARENT COMMANDS ๐
these are the ones you didn't ask for but got anyway, like a group chat you never left. all of them, in order, no skipping ๐
--abortOnErrors=10โ abort the batch when you hit the specified number of errors. default is10โ literally built-in patience ๐--allowEmptyPipe[=false]โ don't fail when the piped input (stdin) is empty. defaultfalse๐--cache[=false]โ enable cached responses. defaultfalse, sad but true โจ--cacheBodyPaths=[]โ cache should limit hashing of the selected paths in the json body. empty indicates all values ๐--cacheTTL="60s"โ cache time-to-live (TTL) as a duration, i.e.60s,2m. default"60s"๐-c,--compact[=false]โ compact instead of pretty-printed output when using json output. pretty print is the default if output is the terminal. defaultfalse๐--confirm[=false]โ prompt for confirmation. defaultfalse๐ธ--confirmText=""โ custom confirmation text ๐--currentPage=0โ current page which should be returned. default0๐--customQueryParam=[]โ add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'๐--debug[=false]โ set very verbose log messages. defaultfalse๐--delay="0ms"โ delay after each request, i.e.5ms,1.2s. default"0ms"โณ--delayBefore="0ms"โ delay before each request, i.e.5ms,1.2s. default"0ms"โณ--dry[=false]โ dry run. don't send any data to the server. defaultfalse๐งช--dryFormat="markdown"โ dry run output format. i.e.json,dump,markdownorcurl. default"markdown"๐--examples[=false]โ show examples for the current command. defaultfalse๐--filter=[]โ apply a client side filter to the response before returning it to the user. default[]๐งน--flatten[=false]โ flatten json output by replacing nested json properties with properties where their names are represented by dot notation. defaultfalse๐ช-f,--force[=false]โ do not prompt for confirmation. ignored when using--confirm. defaultfalse๐ช-H,--header=[]โ custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue"๐จ--includeAll[=false]โ include all results by iterating through each page. defaultfalse๐-k,--insecure[=false]โ allow insecure server connections when using SSL. defaultfalse๐-l,--logMessage=""โ add custom message to the activity log โ๏ธ--maxJobs=0โ maximum number of jobs.0= unlimited (use with caution!). default0โ ๏ธ--noAccept[=false]โ ignore Accept header; will remove the Accept header from requests, howeverPUTandPOSTrequests will only see the effect. defaultfalse๐ซ--noCache[=false]โ force disabling of cached responses (overwrites cache setting). defaultfalse๐-M,--noColor[=false]โ don't use colors when displaying log entries on the console. defaultfalse๐จ--noLog[=false]โ disables the activity log for the current command. defaultfalse๐ค--noProgress[=false]โ disable progress bars. defaultfalse๐ซ--noProxy[=false]โ ignore the proxy settings. defaultfalse๐ณ๏ธ-n,--nullInput[=false]โ don't read the input (stdin). useful if using in shellfor/whileloops. defaultfalse๐-o,--output="table"โ output format, i.e.table,json,csv,csvheader. default"table"๐--outputFile=""โ save JSON output to file (after select/view) ๐พ--outputFileRaw=""โ save raw response to file (before select/view) ๐พ--outputTemplate=""โ jsonnet template to apply to the output ๐งต-p,--pageSize=5โ maximum results per page. default5๐--progress[=false]โ show progress bar. this will also disable any other verbose output. defaultfalse๐ถ--proxy=""โ proxy setting, i.e.http://10.0.0.1:8080๐-r,--raw[=false]โ show raw response. this mode will forceoutput=jsonandview=off. defaultfalse๐ฅฉ--retries=3โ max number of attempts when a failed http call is encountered. default3๐--select=[]โ comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'๐ฏ--session=""โ session configuration ๐--sessionMode=""โ override default session mode for a single command which would normally be disabled ๐-P,--sessionPassword=""โ override session password ๐-U,--sessionUsername=""โ override session username. i.e.peterort1234/peter(with tenant) ๐ค--silentExit[=false]โ silent status codes do not affect the exit code. defaultfalse๐คซ--silentStatusCodes=""โ status codes which will not print out an error message ๐--timeout="600s"โ request timeout duration, i.e.60s,2m. default"600s"โฑ๏ธ--totalPages=0โ total number of pages to get. default0๐๏ธ-v,--verbose[=false]โ verbose logging. defaultfalse๐ฃ๏ธ--view="auto"โ use views when displaying data on the terminal. disable using--view off. default"auto"๐--withError[=false]โ errors will be printed on stdout instead of stderr. defaultfalse๐ค--withTotalElements[=false]โ request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in 10.13). defaultfalse๐ข-t,--withTotalPages[=false]โ request Cumulocity to include the total pages in the response statistics under.statistics.totalPages. defaultfalse๐งฎ--workers=1โ number of workers. default1๐ท
๐ฅ EXAMPLE ๐ฅ
bestie these examples are iconic, copy them exactly:
$ c8y tenantstatistics listSummaryAllTenants
Get tenant summary statistics for all tenants
$ c8y tenantstatistics listSummaryAllTenants --dateFrom "-30d"
Get tenant summary statistics collection for the last 30 days
$ c8y tenantstatistics listSummaryAllTenants --dateFrom "-10d" --dateTo "-9d"
Get tenant summary statistics collection for the last 10 days, only return until the last 9 days
see how --dateFrom and --dateTo are doing the absolute most? that's a time window, periodt ๐ฐ๏ธโจ
๐ SEE ALSO ๐
c8y-tenantstatistics(1)โ the parent command, the mothership, the og ๐ซถ
ngl the inherited options list is long enough to be its own trilogy, but every single one is here so you're never gonna get jumpscared by a flag you didn't know about ๐๐
and that's a wrap, bestie ๐ this page was served up from the c8y(1) manual, dated Jan 1980 โ vintage but still slaying โจ go get those tenant summaries, you've got this ๐
๐ฆ
๐ฆ where this page comes from
- nixpkgs unstable: go-c8y-cli 2.56.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms