c8y(1)
π NAME π
bestie, welcome to the c8y(1) manual page for c8y-measurements-list β Get measurement collection. that's the name, that's the vibe, and it's literally giving "we're getting measurements" β¨
β¨ SYNOPSIS β¨
c8y measurements list [flags]
lowkey the whole move: c8y measurements list plus whatever flags you need, bestie π
π DESCRIPTION π
okay so this command gets a collection of measurements based on filter parameters. that's the description, that's the energy, and it is serving filter-something-and-get-measurements realness fr fr π¦
π OPTIONS π
--csvFormat[=false]β Results will be displayed in csv format. Note:-IncludeAll, is not supported when using using this parameter. csv spreadsheet bestie, but mind that note π--dateFrom=""β Start date or date and time of measurement occurrence. set the start of the measurement window, no cap β¨--dateTo=""β End date or date and time of measurement occurrence. close the window, bestie π--device=[]β Device ID (accepts pipeline). yes, it accepts a pipeline β slay π₯--excelFormat[=false]β Results will be displayed in Excel format Note:-IncludeAll, is not supported when using using this parameter. Excel girlies get the same heads-up π§-h,--help[=false]β help for list. the classic halp button, iconic π«Ά--revert[=false]β Return the newest instead of the oldest measurements. Must be used withdateFromanddateToparameters. By default, the results are sorted by the newest measurements first for time series and by the oldest first for legacy measurements. flip the order, but only withdateFrom+dateToβ periodt π--type=""β Measurement type. pick the measurement type, bestie πΈ--unit=""β Every measurement fragment which contains'unit'property will be transformed to use required system of units. unit girlies get transformed, okay? π--valueFragmentSeries=""β value fragment series. literally the value fragment series π--valueFragmentType=""β value fragment type. yep, the value fragment type β¨
π«Ά OPTIONS INHERITED FROM PARENT COMMANDS π«Ά
--abortOnErrors=10β Abort batch when reaching specified number of errors. when the errors hit that number, it aborts β dramatic but fair π--allowEmptyPipe[=false]β Don't fail when piped input is empty (stdin). empty pipe? no panic π«Ά--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. empty means all values, iykyk π--cacheTTL="60s"β Cache time-to-live (TTL) as a duration, i.e. 60s, 2m. TTL but make it duration πΈ-c,--compact[=false]β Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal. compact when you want it tight; pretty print is default on the terminal π--confirm[=false]β Prompt for confirmation. asks first, bestie π--confirmText=""β Custom confirmation text. your own confirmation text β¨--currentPage=0β Current page which should be returned. which page comes back π¦--customQueryParam=[]β add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. custom query params, go off π₯--debug[=false]β Set very verbose log messages. very verbose logs, be warned π--delay="0ms"β delay after each request, i.e. 5ms, 1.2s. little pause after each request π--delayBefore="0ms"β delay before each request, i.e. 5ms, 1.2s. little pause before each request πΈ--dry[=false]β Dry run. Don't send any data to the server. dry run, no data sent to the server π«Ά--dryFormat="markdown"β Dry run output format. i.e. json, dump, markdown or curl. pick the dry run format: json, dump, markdown or curl π§--examples[=false]β Show examples for the current command. examples for this command π--filter=[]β Apply a client side filter to response before returning it to the user. client-side filter before it comes back to you π¦--flatten[=false]β flatten json output by replacing nested json properties with properties where their names are represented by dot notation. flatten that json with dot-notation names β-f,--force[=false]β Do not prompt for confirmation. Ignored when using--confirm. no prompt, but ignored when using--confirmπ-H,--header=[]β custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue". custom headers, say less π₯--includeAll[=false]β Include all results by iterating through each page. all results by iterating each page π-k,--insecure[=false]β Allow insecure server connections when using SSL. insecure SSL connections allowed β the flag says what it says π-l,--logMessage=""β Add custom message to the activity log. custom message in the activity log π--maxJobs=0β Maximum number of jobs. 0 = unlimited (use with caution!). 0 = unlimited, and the caution is literally in the original π--noAccept[=false]β Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. removes Accept header from requests; PUT and POST only see the effect π--noCache[=false]β Force disabling of cached responses (overwrites cache setting). forces cache off and overwrites the cache setting β-M,--noColor[=false]β Don't use colors when displaying log entries on the console. no colors in console log entries π--noLog[=false]β Disables the activity log for the current command. activity log off for this command π¦--noProgress[=false]β Disable progress bars. no progress bars π--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 read; useful in shell for/while loops π§-o,--output="table"β Output format i.e. table, json, csv, csvheader. output format: table, json, csv, csvheader π--outputFile=""β Save JSON output to file (after select/view). save JSON output to file after select/view π--outputFileRaw=""β Save raw response to file (before select/view). save raw response to file before select/view π--outputTemplate=""β jsonnet template to apply to the output. jsonnet template for the output β-p,--pageSize=5β Maximum results per page. max results per page π¦--progress[=false]β Show progress bar. This will also disable any other verbose output. progress bar on, and that also disables other verbose output π--proxy=""β Proxy setting, i.e. http://10.0.0.1:8080. proxy goes here, i.e. http://10.0.0.1:8080 π₯-r,--raw[=false]β Show raw response. This mode will force output=json and view=off. raw response, forcing output=json and view=off π--retries=3β Max number of attempts when a failed http call is encountered. max attempts for a failed http call π--select=[]β Comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'. select properties, wildcards and globstar accepted πΈ--session=""β Session configuration. session config π«Ά--sessionMode=""β Override default session mode for a single command which would normally be disabled. override default session mode for one command that would normally be disabled β¨-P,--sessionPassword=""β Override session password. override the session password π-U,--sessionUsername=""β Override session username. i.e. peter or t1234/peter (with tenant). override session username, i.e. peter or t1234/peter (with tenant) π¦--silentExit[=false]β Silent status codes do not affect the exit code. silent status codes don't affect exit code π--silentStatusCodes=""β Status codes which will not print out an error message. status codes that won't print an error message πΈ--timeout="600s"β Request timeout duration, i.e. 60s, 2m. request timeout duration, i.e. 60s, 2m π--totalPages=0β Total number of pages to get. total pages to get π¦-v,--verbose[=false]β Verbose logging. verbose logs on β--view="auto"β Use views when displaying data on the terminal. Disable using--view off. use views on the terminal; disable with--view offπ--withError[=false]β Errors will be printed on stdout instead of stderr. errors go to stdout instead of stderr π₯--withTotalElements[=false]β Request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in 10.13). ask Cumulocity for total elements in.statistics.totalElements(introduced in 10.13) π-t,--withTotalPages[=false]β Request Cumulocity to include the total pages in the response statistics under.statistics.totalPages. ask Cumulocity for total pages in.statistics.totalPagesπ--workers=1β Number of workers. how many workers π§
π EXAMPLE π
$ c8y measurements list
Get a list of measurements
$ c8y measurements list --dateFrom -1d --revert=false
Get a list of measurements from the last day, showing the oldest first
these examples ate, honestly π
π¦ SEE ALSO π¦
c8y-measurements(1) β go see the parent page, bestie. that's the whole see-also, no cap π¦
okay that's the whole page! this is the c8y(1) manual, dated Jan 1980 β that's the source/version + date sign-off, mwah πβ¨
π¦ 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