Difference between revisions of "Opensearch-cli"

From wikieduonline
Jump to navigation Jump to search
 
(21 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
 +
* Config: <code>[[~/.opensearch-cli/config.yaml]]</code>
 +
* Help: <code>[[opensearch-cli --help]], [[opensearch-cli curl get --help]]</code>
  
<pre>
+
[[opensearch-cli profile list]]
opensearch-cli
+
[[opensearch-cli profile create]]
opensearch-cli is a unified command line interface for managing OpenSearch clusters
+
[[opensearch-cli ad]]
 +
[[opensearch-cli curl get]]
 +
[[opensearch-cli curl]]
  
Usage:
+
== Examples ==
  opensearch-cli [command]
+
* <code>[[opensearch-cli curl get]]</code>
</pre>
+
* <code>[[opensearch-cli curl get]] --path [[_cat/plugins]] --profile your_profile_name</code>
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
 
<pre>
 
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.
 
</pre>
 
  
 +
== Related ==
 +
* <code>[[/Library/OpenSearchCLI/]]opensearch-cli</code>
 +
* [[Elasticsearch curl URLs]]
  
 
== See also ==
 
== See also ==

Latest revision as of 08:18, 26 May 2023

Advertising: