Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.92 KB

elasticsearch-cli.md

File metadata and controls

37 lines (28 loc) · 1.92 KB

elasticsearch-cli

elasticsearch-cli provides a REPL console-like interface to interact with Elasticsearch

Synopsis

elasticsearch-cli provides a REPL console-like interface to interact with Elasticsearch

elasticsearch-cli [flags]

Options

      --cluster string      config name, used to have multiple clusters configured in $HOME/.elasticsearch-cli/<env> (default "default")
  -h, --help                help for elasticsearch-cli
      --host string         default elasticsearch URL (default "http://localhost")
      --insecure            skip tls certificate verification (warning: use for testing or development onlu)
  -p, --pass string         password to use to authenticate (If not specified, will look for ES_PASS environment variable)
      --poll-interval int   interval on which to poll Elasticsearch to provide index autocompletion (default 10)
      --port int            default elasticsearch port to use (default 9200)
  -t, --timeout int         http client timeout to the remote endpoint (default 10)
  -u, --user string         username to use to authenticate (If not specified look for ES_USER environment variable)
  -v, --verbose             enable verbose mode

SEE ALSO