Sift CLI how-tos
Global flags
These flags apply to any command.config
Manage Sift CLI configuration. The config file is namedsift.toml and lives in your user data directory.
config update
The command writes to the profile named by the global
--profile flag, or default when omitted.
ping
Ping the Sift API to verify credentials and connectivity. Takes no flags.import
Import time series files into Sift.Common import flags
These flags apply to the Parquet, TDMS, HDF5, and ULog import commands.import csv
Import a CSV file. Unless specified, all columns are inferred as type string or double. When you pass--channel-column, supply a --data-type, --unit, and --description for each one; the counts must match.
import parquet flat-dataset
A Parquet file where every column is exclusive to a single Channel, except for the time column. By default, every non-time column is imported. When you pass--channel-path, supply a --data-type, --unit, and --description for each one; the counts must match.
Plus the common import flags.
import parquet cpr
A Parquet file laid out single-channel-per-row.
Plus the common import flags.
import tdms
Import a TDMS file.
Plus the common import flags.
import hdf5
Import an HDF5 file. Supported channel types across all schemas:bool, int8/16/32/64, uint8/16/32/64, float32, float64. Datasets with other types produce a client-side error.
The time flags
--time-name, --time-index, and --time-field are mutually exclusive. Plus the common import flags.
import ulog
Import a PX4 ULog file.
Plus the common import flags.
import backups
Import backup files generated bysift_stream.
export
Export Asset or Run data from Sift.Common export flags
export run
Export data for a Run. Identify the Run by one of the following mutually exclusive selectors.
Plus the common export flags.
export asset
Export data for an Asset.
Requires
--start and --stop. Plus the common export flags.
install completions
Install shell autocompletions.doc
Serve the bundled Sift CLI documentation over HTTP.Data types
The--data-type flag accepts: infer, double, string, enum, bit-field, bool, float, int32, uint32, int64, uint64, bytes. Use infer to detect the type automatically while still setting values such as unit or description.
Time formats
The--time-format flag accepts the following values. For a relative format, set the relative start time flag to an RFC 3339 timestamp that anchors the offsets.
Complex types modes
The--complex-types-mode flag controls how Parquet maps, lists, and structs are imported: