opensearch-cli curl

From wikieduonline
Revision as of 16:38, 22 April 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search

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: