c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

πŸ’… c8y(1) β€” tenantstatistics list, bestie πŸ’…

okay so welcome to the c8y(1) page for the c8y-tenantstatistics-list command πŸ’– this is the one that gets tenant usage statistics, and yes it has a lot of inherited flags. no cap, we’re covering every single one.


🌸 NAME 🌸

c8y-tenantstatistics-list β€” Get tenant usage statistics ✨


✨ SYNOPSIS ✨

c8y tenantstatistics list [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

Get collection of tenant usage statistics 🫢 that’s the whole vibe of this command, and it ate.


πŸŽ€ OPTIONS πŸŽ€

  • --dateFrom="" β€” Start date or date and time of the statistics. literally your β€œfrom” moment ⏳
  • --dateTo="" β€” End date or date and time of the statistics. the β€œto” moment, bestie πŸ’«
  • -h, --help[=false] β€” help for list. the built-in help, iconic as always πŸ‘‘

🫢 OPTIONS INHERITED FROM PARENT COMMANDS 🫢

these are inherited from the parent commands, and there are so many, but we’re listing every single one because that’s the rules πŸ’…

  • --abortOnErrors=10 β€” Abort batch when reaching specified number of errors. stop the batch when it hits that error count πŸ›‘
  • --allowEmptyPipe[=false] β€” Don't fail when piped input is empty (stdin). empty pipe is not a crisis, apparently πŸ’€
  • --cache[=false] β€” Enable cached responses. cached responses go brrr πŸ’Ύ
  • --cacheBodyPaths=[] β€” Cache should limit hashing of selected paths in the json body. Empty indicates all values. so [] means all values, iykyk πŸ”
  • --cacheTTL="60s" β€” Cache time-to-live (TTL) as a duration, i.e. 60s, 2m. let it live, then let it go ⏱️
  • -c, --compact[=false] β€” Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal. cute and compact, depending on terminal vibes ✨
  • --confirm[=false] β€” Prompt for confirmation. yes/no moment fr fr πŸ™ˆ
  • --confirmText="" β€” Custom confirmation text. make the prompt say what you want πŸ’¬
  • --currentPage=0 β€” Current page which should be returned. page zero, main character energy πŸ“„
  • --customQueryParam=[] β€” add custom URL query parameters. i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. add your own query-param lore πŸ”—
  • --debug[=false] β€” Set very verbose log messages. debug mode, very loud, very helpful πŸ”₯
  • --delay="0ms" β€” delay after each request, i.e. 5ms, 1.2s. a lil pause after each request 🫧
  • --delayBefore="0ms" β€” delay before each request, i.e. 5ms, 1.2s. a lil pause before each request 🫧
  • --dry[=false] β€” Dry run. Don't send any data to the server. pretend mode, no data sent 🧚
  • --dryFormat="markdown" β€” Dry run output format. i.e. json, dump, markdown or curl. pick your dry-run aesthetic πŸ’…
  • --examples[=false] β€” Show examples for the current command. examples? yes please πŸ‘€
  • --filter=[] β€” Apply a client side filter to response before returning it to the user. filter it before it reaches you 🧼
  • --flatten[=false] β€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation. nested json gets the dot-notation treatment πŸͺ„
  • -f, --force[=false] β€” Do not prompt for confirmation. Ignored when using --confirm. no prompt, unless --confirm is in the chat πŸ™…
  • -H, --header=[] β€” custom headers. i.e. --header "Accept: value, AnotherHeader: myvalue". custom headers, custom vibes πŸ“¨
  • --includeAll[=false] β€” Include all results by iterating through each page. all the pages, all the results πŸ”
  • -k, --insecure[=false] β€” Allow insecure server connections when using SSL. SSL but make it insecure, be careful bestie 😬
  • -l, --logMessage="" β€” Add custom message to the activity log. leave a lil note in the activity log πŸ“
  • --maxJobs=0 β€” Maximum number of jobs. 0 = unlimited (use with caution!). unlimited jobs is powerful and also kinda scary, so use with caution πŸ’€
  • --noAccept[=false] β€” Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. Accept header gets ignored, but PUT and POST are the ones that see the effect 🚫
  • --noCache[=false] β€” Force disabling of cached responses (overwrites cache setting). no cache, override the cache setting 🧊
  • -M, --noColor[=false] β€” Don't use colors when displaying log entries on the console. monochrome console moment πŸ–€
  • --noLog[=false] β€” Disables the activity log for the current command. no activity log for this command πŸš«πŸ“
  • --noProgress[=false] β€” Disable progress bars. no progress bars, just vibes πŸ«₯
  • --noProxy[=false] β€” Ignore the proxy settings. proxy settings? ignored 🚫
  • -n, --nullInput[=false] β€” Don't read the input (stdin). Useful if using in shell for/while loops. no stdin reading, handy for shell for/while loops πŸŒ€
  • -o, --output="table" β€” Output format i.e. table, json, csv, csvheader. choose your output format, bestie πŸ“Š
  • --outputFile="" β€” Save JSON output to file (after select/view). save it after select/view πŸ’Ύ
  • --outputFileRaw="" β€” Save raw response to file (before select/view). save the raw response before select/view πŸ—ƒοΈ
  • --outputTemplate="" β€” jsonnet template to apply to the output. template time, jsonnet style 🧞
  • -p, --pageSize=5 β€” Maximum results per page. five per page by default, cute and tiny πŸ“„
  • --progress[=false] β€” Show progress bar. This will also disable any other verbose output. progress bar on, other verbose output off 🫢
  • --proxy="" β€” Proxy setting, i.e. http://10.0.0.1:8080. proxy goes here πŸ”Œ
  • -r, --raw[=false] β€” Show raw response. This mode will force output=json and view=off. raw response mode forces output=json and view=off, no cap πŸ“¦
  • --retries=3 β€” Max number of attempts when a failed http call is encountered. three attempts when an http call fails πŸ”
  • --select=[] β€” Comma separated list of properties to return. wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber'. select your faves with wildcards and globstar 🌟
  • --session="" β€” Session configuration. session config goes here πŸͺͺ
  • --sessionMode="" β€” Override default session mode for a single command which would normally be disabled. override session mode for one command πŸŽ›οΈ
  • -P, --sessionPassword="" β€” Override session password. password override, keep it secret bestie 🀫
  • -U, --sessionUsername="" β€” Override session username. i.e. peter or t1234/peter (with tenant). username override, tenant included if you want πŸ§‘β€πŸ’»
  • --silentExit[=false] β€” Silent status codes do not affect the exit code. silent status codes stay out of the exit code πŸ™Š
  • --silentStatusCodes="" β€” Status codes which will not print out an error message. these status codes do not print an error message 🀐
  • --timeout="600s" β€” Request timeout duration, i.e. 60s, 2m. request timeout, ten minutes by default ⏰
  • --totalPages=0 β€” Total number of pages to get. total pages, zero by default πŸ“š
  • -v, --verbose[=false] β€” Verbose logging. verbose logging, very chatty πŸ—£οΈ
  • --view="auto" β€” Use views when displaying data on the terminal. Disable using --view off. views on the terminal, auto by default; disable with --view off πŸ‘€
  • --withError[=false] β€” Errors will be printed on stdout instead of stderr. errors on stdout, not stderr πŸ“€
  • --withTotalElements[=false] β€” Request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13). total elements, introduced in 10.13 ✨
  • -t, --withTotalPages[=false] β€” Request Cumulocity to include the total pages in the response statistics under .statistics.totalPages. total pages in the response statistics πŸ“„
  • --workers=1 β€” Number of workers. one worker by default πŸ› οΈ

🌈 EXAMPLE 🌈

run these, bestie, they’re iconic:

$ c8y tenantstatistics list
Get tenant statistics collection

$ c8y tenantstatistics list --dateFrom "-30d" --pageSize 30
Get tenant statistics collection for the last 30 days

$ c8y tenantstatistics list --dateFrom "-3d" --dateTo "-2d"
Get tenant statistics collection for the day before yesterday

πŸ‘‘ SEE ALSO πŸ‘‘


that’s the whole page, bestie πŸ’– this c8y(1) manual cutie is dated Jan 1980, and the manual name is c8y(1) β€” periodt, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from