Difference between revisions of "Opensearch-cli"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
* Install: download package for your platform
 
* Install: download package for your platform
 +
* Config: <code>[[~/.opensearch-cli/config.yaml]]</code>
 +
* Help: [[opensearch-cli curl get --help]]
 +
 +
Examples:
 
* <code>[[opensearch-cli curl get]]</code>
 
* <code>[[opensearch-cli curl get]]</code>
 
  
  
Line 30: Line 33:
  
  
* [[opensearch-cli curl get --help]]
 
* <code>[[~/.opensearch-cli/config.yaml]]</code>
 
  
 
== See also ==
 
== See also ==

Revision as of 14:34, 26 April 2022

Examples:


opensearch-cli --help
opensearch-cli is a unified command line interface for managing OpenSearch clusters
 
Usage:
  opensearch-cli [command]
Available Commands:
  ad          Manage the Anomaly Detection plugin
  completion  Generate completion script for your shell
  curl        Manage OpenSearch platform features
  help        Help about any command
  knn         Manage the k-NN plugin
  profile     Manage a collection of settings and credentials that you can apply to an opensearch-cli command

Flags:
  -c, --config string    Configuration file for opensearch-cli, default is /Users/sf/.opensearch-cli/config.yaml
  -h, --help             Help for opensearch-cli
  -p, --profile string   Use a specific profile from your configuration file
  -v, --version          Version for opensearch-cli

Use "opensearch-cli [command] --help" for more information about a command.


See also

Advertising: