Data and Jobs
hdxcli v1.0.83
Stream⚓︎
Commands for streaming data ingestion into a table. A project and table context is required.
Usage
Options
| Option | Description |
|---|---|
--project PROJECT_NAME |
Use or override project set in the profile. |
--table TABLE_NAME |
Use or override table set in the profile. |
--transform TRANSFORM_NAME |
Explicitly pass the transform name. If none is given, the default transform for the used table is used. |
Ingest⚓︎
Ingest data from a file into a table.
This command sends the contents of a local file to the ingest endpoint. It automatically applies the default transform for the target table, unless a specific transform is provided through the --transform option.
Usage
Examples
Job⚓︎
Manage batch and alter jobs.
Usage
Purgejobs⚓︎
Purge all batch jobs in the organization.
Usage
Options
| Option | Description |
|---|---|
-y, --yes |
Skip confirmation prompt. |
Alter⚓︎
Manage alter jobs.
Usage
Options
| Option | Description |
|---|---|
--job TEXT |
Perform an operation on the passed job name. |
Cancel⚓︎
Cancel an ongoing alter job.
Usage
Examples
Commit⚓︎
Commit changes made by an alter job.
Usage
Examples
Delete⚓︎
Delete a specific alter.
This is a permanent action and cannot be undone. You will be prompted for confirmation unless --disable-confirmation-prompt is used.
Usage
Options
| Option | Description |
|---|---|
--disable-confirmation-prompt |
Suppress confirmation to delete alter. |
Examples
List⚓︎
List all alter jobs.
Usage
Options
| Option | Description |
|---|---|
--status TEXT |
Filter alter jobs by status. |
--project TEXT |
Filter alter jobs by project name. |
--table TEXT |
Filter alter jobs by table name. |
Examples
Retry⚓︎
Retry a failed alter job.
Usage
Examples
Show⚓︎
Show details for a specific alter.
Retrieves and displays the settings of a single alter. If no name is provided, the default alter will be used if exists.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples
Verify⚓︎
Verify the status of an alter job.
Usage
Examples
Create⚓︎
Create a new alter job.
Usage
Delete⚓︎
Create a job to delete specific rows from a table.
Usage
Options
| Option | Description |
|---|---|
--table TEXT |
The table to alter, for example, my_proj.my_tbl. [required] |
--where TEXT |
The WHERE clause for the delete operation. [required] |
Examples
Update⚓︎
Create a job to update specific rows in a table.
Usage
Options
| Option | Description |
|---|---|
--table TEXT |
The table to alter, for example, my_proj.my_tbl. [required] |
--column TEXT |
The column to update. [required] |
--value TEXT |
The new value for the column. [required] |
--where TEXT |
The WHERE clause for the update operation. [required] |
Examples
Batch⚓︎
Manage batch jobs.
Usage
Options
| Option | Description |
|---|---|
--job JOB_NAME |
Perform operation on the passed job name. |
Cancel⚓︎
Cancel a running batch job.
Usage
Examples
Delete⚓︎
Delete a specific batch.
This is a permanent action and cannot be undone. You will be prompted for confirmation unless --disable-confirmation-prompt is used.
Usage
Options
| Option | Description |
|---|---|
--disable-confirmation-prompt |
Suppress confirmation to delete batch. |
Examples
Ingest⚓︎
Create an ingest job from a settings file.
This command creates a batch ingest job based on a JSON configuration file. The file defines the data source (for example, a cloud storage bucket), and other job-specific settings.
You can override the destination project, table, and transform specified within the settings file by using the --project, --table, and --transform options.
Usage
Options
| Option | Description |
|---|---|
--project TEXT |
Override the project for the ingest job. |
--table TEXT |
Override the table for the ingest job. |
--transform TEXT |
Override the transform to use. Defaults to the table's default transform. |
Examples
List⚓︎
List all batch jobs.
Usage
Examples
Retry⚓︎
Retry a failed batch job.
Usage
Examples
Settings⚓︎
List, get, or set key-value settings for a specific batch.
This command operates in three modes: - LIST: Invoked with no arguments, it lists all settings. - GET: Invoked with only a KEY, it retrieves the value of that setting. - SET: Invoked with a KEY and a VALUE, it sets the value for that setting.
The VALUE can be a string, a number, or a JSON-formatted string for lists/objects. When setting a value, the --force-operation option may be required for certain resource.
Usage
Options
| Option | Description |
|---|---|
-F, --force |
This flag allows adding the force_operation parameter to the request. |
Examples
Show⚓︎
Show details for a specific batch.
Retrieves and displays the settings of a single batch. If no name is provided, the default batch will be used if exists.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples
Source⚓︎
Manage sources (Kafka, Kinesis, SIEM).
Usage
Kafka⚓︎
Manage Kafka sources.
Usage
Options
| Option | Description |
|---|---|
--project PROJECT_NAME |
Use or override project set in the profile. |
--table TABLE_NAME |
Use or override table set in the profile. |
--source KAFKA_SOURCE_NAME |
The name of the Kafka source. |
Create⚓︎
Creates a new kafka source from a JSON configuration file.
Usage
Examples
Delete⚓︎
Delete a specific kafka.
This is a permanent action and cannot be undone. You will be prompted for confirmation unless --disable-confirmation-prompt is used.
Usage
Options
| Option | Description |
|---|---|
--disable-confirmation-prompt |
Suppress confirmation to delete kafka. |
Examples
List⚓︎
List all available kafkas.
Retrieves a list of all kafkas you have access to. Pagination options (--page, --page-size) are available if supported by the API.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Settings⚓︎
List, get, or set key-value settings for a specific kafka.
This command operates in three modes: - LIST: Invoked with no arguments, it lists all settings. - GET: Invoked with only a KEY, it retrieves the value of that setting. - SET: Invoked with a KEY and a VALUE, it sets the value for that setting.
The VALUE can be a string, a number, or a JSON-formatted string for lists/objects. When setting a value, the --force-operation option may be required for certain resource.
Usage
Options
| Option | Description |
|---|---|
-F, --force |
This flag allows adding the force_operation parameter to the request. |
Examples
Show⚓︎
Show details for a specific kafka.
Retrieves and displays the settings of a single kafka. If no name is provided, the default kafka will be used if exists.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples
Kinesis⚓︎
Manage Kinesis sources.
Usage
Options
| Option | Description |
|---|---|
--project PROJECT_NAME |
Use or override project set in the profile. |
--table TABLE_NAME |
Use or override table set in the profile. |
--source KINESIS_SOURCE_NAME |
The name of the Kinesis source. |
Create⚓︎
Creates a new kinesis source from a JSON configuration file.
Usage
Examples
Delete⚓︎
Delete a specific kinesis.
This is a permanent action and cannot be undone. You will be prompted for confirmation unless --disable-confirmation-prompt is used.
Usage
Options
| Option | Description |
|---|---|
--disable-confirmation-prompt |
Suppress confirmation to delete kinesis. |
Examples
List⚓︎
List all available kineses.
Retrieves a list of all kineses you have access to. Pagination options (--page, --page-size) are available if supported by the API.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Settings⚓︎
List, get, or set key-value settings for a specific kinesis.
This command operates in three modes: - LIST: Invoked with no arguments, it lists all settings. - GET: Invoked with only a KEY, it retrieves the value of that setting. - SET: Invoked with a KEY and a VALUE, it sets the value for that setting.
The VALUE can be a string, a number, or a JSON-formatted string for lists/objects. When setting a value, the --force-operation option may be required for certain resource.
Usage
Options
| Option | Description |
|---|---|
-F, --force |
This flag allows adding the force_operation parameter to the request. |
Examples
Show⚓︎
Show details for a specific kinesis.
Retrieves and displays the settings of a single kinesis. If no name is provided, the default kinesis will be used if exists.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples
Siem⚓︎
Manage SIEM sources.
Usage
Options
| Option | Description |
|---|---|
--project PROJECT_NAME |
Use or override project set in the profile. |
--table TABLE_NAME |
Use or override table set in the profile. |
--source SIEM_SOURCE_NAME |
The name of the SIEM source. |
Create⚓︎
Creates a new siem source from a JSON configuration file.
Usage
Examples
Delete⚓︎
Delete a specific siem.
This is a permanent action and cannot be undone. You will be prompted for confirmation unless --disable-confirmation-prompt is used.
Usage
Options
| Option | Description |
|---|---|
--disable-confirmation-prompt |
Suppress confirmation to delete siem. |
Examples
List⚓︎
List all available siems.
Retrieves a list of all siems you have access to. Pagination options (--page, --page-size) are available if supported by the API.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Settings⚓︎
List, get, or set key-value settings for a specific siem.
This command operates in three modes: - LIST: Invoked with no arguments, it lists all settings. - GET: Invoked with only a KEY, it retrieves the value of that setting. - SET: Invoked with a KEY and a VALUE, it sets the value for that setting.
The VALUE can be a string, a number, or a JSON-formatted string for lists/objects. When setting a value, the --force-operation option may be required for certain resource.
Usage
Options
| Option | Description |
|---|---|
-F, --force |
This flag allows adding the force_operation parameter to the request. |
Examples
Show⚓︎
Show details for a specific siem.
Retrieves and displays the settings of a single siem. If no name is provided, the default siem will be used if exists.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples
Storage⚓︎
This group of commands allows to create, list, show, and delete storages.
Usage
Options
| Option | Description |
|---|---|
--storage STORAGE_NAME |
Perform operation on the passed storage. |
Create⚓︎
Create a new storage.
A storage can be created in two ways:
- Using a JSON settings file via --settings-filename.
- Providing individual settings as options (--bucket-path, --bucket-name, etc).
Usage
Options
| Option | Description |
|---|---|
-f, --settings-filename PATH |
Path to a JSON file with storage configuration settings. |
-p, --bucket-path TEXT |
Path to the storage bucket. |
-n, --bucket-name TEXT |
Name of the storage bucket. |
-r, --region TEXT |
Region for the storage bucket. |
-c, --cloud TEXT |
Type of cloud storage (for example, aws, gcp). |
-E, --endpoint TEXT |
Endpoint for the storage bucket. |
-C, --credential-name TEXT |
Name of the credential to use for the storage bucket. |
-M, --io-perf-mode [aggressive\|moderate\|moderate] |
I/O performance mode for the storage bucket. |
Examples
Delete⚓︎
Delete a specific storage.
This is a permanent action and cannot be undone. You will be prompted for confirmation unless --disable-confirmation-prompt is used.
Usage
Options
| Option | Description |
|---|---|
--disable-confirmation-prompt |
Suppress confirmation to delete storage. |
Examples
List⚓︎
List all available storages.
Retrieves a list of all storages you have access to. Pagination options (--page, --page-size) are available if supported by the API.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Settings⚓︎
List, get, or set key-value settings for a specific storage.
This command operates in three modes: - LIST: Invoked with no arguments, it lists all settings. - GET: Invoked with only a KEY, it retrieves the value of that setting. - SET: Invoked with a KEY and a VALUE, it sets the value for that setting.
The VALUE can be a string, a number, or a JSON-formatted string for lists/objects. When setting a value, the --force-operation option may be required for certain resource.
Usage
Options
| Option | Description |
|---|---|
-F, --force |
This flag allows adding the force_operation parameter to the request. |
Examples
Show⚓︎
Show details for a specific storage.
Retrieves and displays the settings of a single storage. If no name is provided, the default storage will be used if exists.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples