tailpipe collect
To improve the first-run experience for collection, Tailpipe will only collect the last 7 days during the initial collection (though you can override this behavior with the --from and --to arguments). Subsequent collection runs occur chronologically, resuming from the last collection by default, so there are no time gaps while the data is being collected.
Usage
Arguments
| Flag | Description |
|---|---|
| --compact | Compact the Parquet files after collection (default true) |
| --from string | Collect days newer than a relative or absolute date. |
| --help | Help for collect |
| --overwrite | Recollect data already collected for the specified time range (default false) |
| --progress | Show active progress of collection, set to false to disable (default true) |
| --to string | Collect days older than a relative or absolute date (use with --from for time ranges) |
Examples
Collect everything.
Collect all partitions in the aws_cloudtrail_log table.
Collect one partition in the aws_cloudtrail_log table.
Collect all partitions in the aws_cloudtrail_log table for the last 45 days.
Collect all partitions in the aws_cloudtrail_log between January and June.
Collect and overwrite existing data for a specific time range.
Collect all partitions in the aws_cloudtrail_log table and output JSON.
Collect everything, don't display progress.