openlayer export
command downloads monitoring data from an inference pipeline
for a specified time period.
It supports flexible ways to specify date ranges and optional filters to refine the
exported dataset.
Usage
dataset.json
and config.json
file in ./openlayer-exports/{pipeline_name}_{start}_{end}
.
Date ranges
You can specify time ranges in multiple ways:Filters
You can refine the exported dataset using--filter
flags or a JSON file.
Simple syntax
JSON file (advanced)
For more complex filters, pass a JSON file:Flags
Flag | Default | Description |
---|---|---|
--from | "" | Start of the time range (date, timestamp, or relative). |
--to | "" | End of the time range (date, timestamp, or relative). |
--last | "" | Relative duration (e.g. 7d , 2h30m ). |
--range | "" | Preset range (e.g. this-week , last-month ). |
--output-dir | ./openlayer-exports/... | Directory where the exported files will be placed. |
--filter | [] | Apply one or more filters using simple syntax (can be repeated). |
--filters-file | "" | Path to a JSON file with advanced filters. |