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.


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

This flag must come before any command.


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

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