Export¶
Using the ZDM you’re able to download your device’s data in different formats. You can download devices’ data in Json and CSV, with the possibility to filter on fleets and tags, specifying a start and end time (RFC3339 format).
List of commands:
Export creation¶
To create a new export use the command:
zdm workspace data export create name type workspace_id
where name
is the name that you want to give to your new export
type
is the type ox export (json or csv)
workspace_id
is the uid of the workspace you want to receive data from
start
is the starting date for data (RFC3339)
end
is the ending date for data (RFC3339)
You also have the possibility to add filters on data using the following options:
--tag
To specify tags to filter data (you can specify more than one)
--fleet
To specify fleets to filter data (you can specify more than one)
Get export¶
To get an existing export information use the command:
zdm workspace data export get export_id
where export_id
is the uid of the export you want to get