A newer version is available. For the latest information, see the
current release documentation.
--url_prefix
edit--url_prefix
editSummary
editIn 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.
Flags
edit-
--url_prefix
Elasticsearch http url prefix. Default: none
This flag must come before any command.
Example
editShow indices of a cluster at http://example.com/elasticsearch
:
curator --host example.com --port 80 --url_prefix elasticsearch show indices --all-indices