Skip to content

iectl iem-v2 device statistics

Get statistics for a Edge Device

Synopsis

This endpoint returns statistics for a specific device. The structure of the statistics object in the response may vary depending on the device version. The example provided is just one possible structure. Consumers of this API should be prepared to handle different structures in the statistics object.

iectl iem-v2 device statistics [flags]

Options

  -d, --data string   use this flag for passing data via json or as datafile with @filename
  -h, --help          help for statistics
      --id string     The unique Edge Device ID

Options inherited from parent commands

  -o, --output string   output format
  -q, --query string    query on result of object
  -v, --verbose         verbose output

Example

$ iectl iem-v2 device get-statistics --id "sampleDeviceId"

SEE ALSO