download
Use the download command to select which OpenSearch distribution version to download.
Usage
The following example downloads OpenSearch version 2.7.0:
opensearch-benchmark download --distribution-version=2.7.0
Benchmark then returns the location of the OpenSearch artifact:
{
"opensearch": "/Users/.benchmark/benchmarks/distributions/opensearch-2.7.0.tar.gz"
}
Options
Use the following options to customize how OpenSearch Benchmark downloads OpenSearch:
--cluster-config-repository: Defines the repository from which OpenSearch Benchmark loadscluster-configsandcluster-config-instances.--cluster-config-revision: Defines a specific Git revision in thecluster-configthat OpenSearch Benchmark should use.--cluster-config-path: Defines the path to the--cluster-config-instanceand any OpenSearch plugin configurations to use.--distribution-version: Downloads the specified OpenSearch distribution based on version number. For a list of released OpenSearch versions, see Version history.--distribution-repository: Defines the repository from where the OpenSearch distribution should be downloaded. Default isrelease.--cluster-config-instance: Defines the--cluster-config-instanceto use. You can view possible configuration instances using the commandopensearch-benchmark list cluster-config-instances.--cluster-config-instance-params: A comma-separated list of key-value pairs injected verbatim as variables for thecluster-config-instance.--target-os: The target operating system (OS) for which the OpenSearch artifact should be downloaded. Default is the current OS.--target-arch: The name of the CPU architecture for which an artifact should be downloaded.