--url_prefixedit

Summaryedit

In some cases you may be obliged to connect to your Elasticsearch cluster through a proxy of some kind. There may be a URL prefix before the API URI items, e.g. http://example.com/elasticsearch/ as opposed to http://localhost:9200. In such a case, the --url_prefix flag is necessary.

Flagsedit

  • --url_prefix Elasticsearch http url prefix. Default: none
Important

This flag must come before any command.

Exampleedit

Show indices of a cluster at http://example.com/elasticsearch:

curator --host example.com --port 80 --url_prefix elasticsearch show indices --all-indices