ingest-datahub-events-csv
dci ingest-datahub-events-csv [body]
Sends a batch of events to DataHub using a CSV file, either uncompressed or compressed in ZIP or GZ format. It may take up to 15 minutes for the data to become available in the DoiT console.
Pass the request body as name: value arguments or pipe JSON on stdin — see Command structure.
provider is the dataset name (dci list-datahub-datasets); create it
first with dci create-datahub-dataset name: <dataset> if it does not
exist. The CSV must follow the dataset's schema template. For the Default
template the header row is usage_date[,id],<dimension>...,<metric>...
with RFC 3339 UTC timestamps; see
CSV ingestion.
Requires the DataHub Admin permission. Rows appear in Cloud Analytics
within about 15 minutes.
There is no delete-by-batch API. Remove the rows with
dci delete-datahub-events-by-filter using the time range the file
covered, then upload the corrected file.