c8y(1)
Bestie, welcome to the c8y(1) manual page โ the Cumulocity CLI one. Todayโs main character is c8y-tenantstatistics, aka Cumulocity tenant statistics, and she is serving REST endpoint energy. Weโre gonna read every flag together, no skipping. ๐
โจ
๐ NAME ๐
c8y-tenantstatistics - Cumulocity tenant statistics. Thatโs the whole name, and she ate. ๐
๐ SYNOPSIS ๐
c8y tenantstatistics [flags]
๐ DESCRIPTION ๐
This is the REST endpoint to interact with Cumulocity tenant statistics. Lowkey essential if tenant stats are your thing. ๐ฆ
โจ OPTIONS โจ
Only one local option here, but sheโs important:
-h,--help[=false]โ help fortenantstatistics๐
๐ OPTIONS INHERITED FROM PARENT COMMANDS ๐
These are inherited from the parent commands โ hand-me-downs, but make it fashion. ๐
--abortOnErrors=10โ aborts the batch when it reaches the specified number of errors ๐ญ--allowEmptyPipe[=false]โ donโt fail when the piped input (stdin) is empty ๐ซถ--cache[=false]โ enables cached responses ๐ง--cacheBodyPaths=[]โ lets the cache limit hashing to selected paths in the json body; empty means all values ๐--cacheTTL="60s"โ cache time-to-live (TTL) as a duration, like60sor2mโญ-c,--compact[=false]โ compacts output instead of pretty-printing when youโre using json output; pretty print is the default if output is the terminal ๐--confirm[=false]โ prompts for confirmation ๐--confirmText=""โ custom confirmation text ๐--currentPage=0โ current page which should be returned ๐--customQueryParam=[]โ adds custom URL query parameters, like--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'๐ฅ--debug[=false]โ sets very verbose log messages ๐ซถ--delay="0ms"โ delay after each request, like5msor1.2sโณ--delayBefore="0ms"โ delay before each request, like5msor1.2sโณ--dry[=false]โ dry run โ donโt send any data to the server ๐ธ--dryFormat="markdown"โ dry run output format, likejson,dump,markdown, orcurl๐--examples[=false]โ shows examples for the current command โจ--filter=[]โ applies a client-side filter to the response before returning it to you ๐ฆ--flatten[=false]โ flattens json output by replacing nested json properties with properties whose names use dot notation ๐ง-f,--force[=false]โ do not prompt for confirmation; ignored when using--confirm๐-H,--header=[]โ custom headers, like--header "Accept: value, AnotherHeader: myvalue"๐--includeAll[=false]โ includes all results by iterating through each page ๐-k,--insecure[=false]โ allows insecure server connections when using SSL ๐-l,--logMessage=""โ adds a custom message to the activity log ๐--maxJobs=0โ maximum number of jobs;0= unlimited (use with caution!) ๐ญ๐ฅ--noAccept[=false]โ ignores the Accept header by removing it from requests; however, PUT and POST requests will only see the effect ๐--noCache[=false]โ force-disables cached responses (overwrites the cache setting) ๐ โโ๏ธ-M,--noColor[=false]โ donโt use colors when displaying log entries on the console ๐จ--noLog[=false]โ disables the activity log for the current command ๐ซ--noProgress[=false]โ disables progress bars ๐--noProxy[=false]โ ignores the proxy settings ๐-n,--nullInput[=false]โ donโt read input (stdin); useful if using in shell for/while loops ๐-o,--output="table"โ output format, liketable,json,csv,csvheader๐--outputFile=""โ saves JSON output to a file (after select/view) ๐พ--outputFileRaw=""โ saves the raw response to a file (before select/view) ๐๏ธ--outputTemplate=""โ jsonnet template to apply to the output ๐งฉ-p,--pageSize=5โ maximum results per page ๐--progress[=false]โ shows a progress bar; this also disables any other verbose output ๐ถ--proxy=""โ proxy setting, likehttp://10.0.0.1:8080๐ฐ๏ธ-r,--raw[=false]โ shows the raw response; this mode forcesoutput=jsonandview=off๐ฅฉ--retries=3โ max number of attempts when a failed http call is encountered ๐--select=[]โ comma-separated list of properties to return; wildcards and globstar accepted, like--select 'id,name,type,**.serialNumber'๐ฏ--session=""โ session configuration ๐--sessionMode=""โ overrides the default session mode for a single command which would normally be disabled ๐๏ธ-P,--sessionPassword=""โ overrides the session password ๐คซ-U,--sessionUsername=""โ overrides the session username, likepeterort1234/peter(with tenant) ๐ชช--silentExit[=false]โ silent status codes do not affect the exit code ๐ค--silentStatusCodes=""โ status codes which will not print out an error message ๐--timeout="600s"โ request timeout duration, like60sor2mโ--totalPages=0โ total number of pages to get ๐-v,--verbose[=false]โ verbose logging ๐ฃ๏ธ--view="auto"โ uses views when displaying data on the terminal; disable with--view off๐--withError[=false]โ errors will be printed onstdoutinstead ofstderr๐จ--withTotalElements[=false]โ asks Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in10.13) ๐งฎ-t,--withTotalPages[=false]โ asks Cumulocity to include the total pages in the response statistics under.statistics.totalPages๐--workers=1โ number of workers ๐ฏโโ๏ธ
๐ SEE ALSO ๐
c8y(1)c8y-tenantstatistics-list(1)c8y-tenantstatistics-listSummaryAllTenants(1)c8y-tenantstatistics-listSummaryForTenant(1)
Signing off from the c8y(1) page, dated Jan 1980 โ vintage manual energy, but make it current. Stay slay, bestie. ๐๐ฆ๐
๐ฆ 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