Load data into Elasticsearch
Loads data from files (Parquet, JSON) into Elasticsearch indices. Supports custom mappings, document IDs, and timestamp-based index naming.
starlake esload [options]
--domain <value>: Domain name (required)--schema <value>: Schema/table name (required)--format <value>: Input file format: parquet, json, or json-array (required)--dataset <value>: Path to the input dataset--timestamp <value>: Elasticsearch index timestamp suffix, e.g. {@timestamp|yyyy.MM.dd}--id <value>: Attribute name to use as the Elasticsearch document ID--mapping <value>--conf k1=v1,k2=v2: Elasticsearch-Spark configuration options--reportFormat <value>: Report output format: console, json, or htmlstarlake esload --domain starbake --schema orders --format parquet
starlake esload --domain starbake --schema orders --format json --id order_id
starlake esload --domain starbake --schema orders --format parquet --timestamp "{@timestamp|yyyy.MM.dd}"
starlake esload --domain starbake --schema orders --format json --mapping /path/to/mapping.json
starlake esload --domain starbake --schema orders --format parquet --dataset /data/orders/