Difference between revisions of "Opensearch-cli curl"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
 +
* [[opensearch-cli curl get]]
 +
 
  [[opensearch-cli]] curl --help
 
  [[opensearch-cli]] curl --help
 
  Use the curl command to execute any REST API calls against the cluster.
 
  Use the curl command to execute any REST API calls against the cluster.

Revision as of 14:48, 22 April 2022

opensearch-cli curl --help
Use the curl command to execute any REST API calls against the cluster.

Usage:
  opensearch-cli curl [command]

Available Commands:
  delete      Delete command to execute requests against cluster
  get         Get command to execute requests against cluster
  post        Post command to execute requests against cluster
  put         Put command to execute requests against cluster

Flags:
  -f, --filter-path string     Filter output fields returned by OpenSearch. Use comma ',' to separate list of filters
  -h, --help                   Help for curl command
  -o, --output-format string   Output format if supported by cluster, else, default format by OpenSearch. Example json, yaml
      --pretty                 Response will be formatted

Global Flags:
  -c, --config string    Configuration file for opensearch-cli, default is /Users/sf/.opensearch-cli/config.yaml
  -p, --profile string   Use a specific profile from your configuration file

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

Related

See also

Advertising: