opensearch-cli curl

From wikieduonline
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[edit]

See also[edit]

Advertising: