Difference between revisions of "Opensearch-cli"

From wikieduonline
Jump to navigation Jump to search
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
* Install: download package for your platform
+
* Install: download package for your platform https://opensearch.org/downloads.html
* <code>[[opensearch-cli curl get]]</code>
+
* Config: <code>[[~/.opensearch-cli/config.yaml]]</code>
 +
* Help: <code>[[opensearch-cli --help]], [[opensearch-cli curl get --help]]</code>
  
 +
[[opensearch-cli profile list]]
 +
[[opensearch-cli profile create]]
 +
[[opensearch-cli ad]]
 +
[[opensearch-cli curl get]]
 +
[[opensearch-cli curl]]
  
 +
== Examples ==
 +
* <code>[[opensearch-cli curl get]]</code>
 +
* <code>[[opensearch-cli curl get]] --path [[_cat/plugins]] --profile your_profile_name</code>
  
<pre>
+
== Related ==
opensearch-cli --help
+
* <code>[[/Library/OpenSearchCLI/]]opensearch-cli</code>
opensearch-cli is a unified command line interface for managing OpenSearch clusters
+
* [[Elasticsearch curl URLs]]
 
Usage:
 
  opensearch-cli [command]
 
</pre>
 
Available Commands:
 
  [[ad]]          Manage the Anomaly Detection plugin
 
  completion  Generate completion script for your shell
 
  [[opensearch-cli curl|curl]]        Manage OpenSearch platform features
 
  help        Help about any command
 
  knn        Manage the k-NN plugin
 
  [[opensearch-cli  profile|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.
 
 
 
 
 
* [[opensearch-cli curl get --help]]
 
* <code>[[~/.opensearch-cli/config.yaml]]</code>
 
  
 
== See also ==
 
== See also ==

Latest revision as of 08:18, 26 May 2023

Advertising: