---
name: "curator_cli"
section: "1"
platform: "linux"
package: "elasticsearch-curator"
version: "8.0.21-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/curator_cli"
---

# curator\_cli(1)

Elasticsearch time-series index manager

## NAME

**curator** - Elasticsearch time-series index manager

## SYNOPSIS

curator\_cli \[-h\] \[-v\] \[--host HOST\] \[--url\_prefix URL\_PREFIX\] \[--port PORT\] \[--use\_ssl\] \[--http\_auth AUTH\] \[--timeout TIMEOUT\] \[--master-only\] \[--dry-run\] \[--loglevel LOG\_LEVEL\] \[--logfile LOG\_FILE\] \[--logformat LOGFORMAT\] *COMMAND* \[*COMMAND\_OPTS*\] *ARGUMENTS*

## DESCRIPTION

**curator** helps manage Elasticsearch time-series indices. It provides an easy way to perform index administration tasks, such as managing aliases, optimizing indices, changing the replica count and modifying index allocation using routing tags.

## OPTIONS

- **-h**, **--help**

  show program usage and exit

- **-v**, **--version**

  show program's version number and exit

- **--host** HOST

  Elasticsearch host. Default: localhost

- **--url\_prefix** URL\_PREFIX

  Elasticsearch HTTP url prefix. Default: none

- **--port** PORT

  Elasticsearch port. Default: 9200

- **--use\_ssl**

  Connect to Elasticsearch through SSL. Default: false

- **--certificate**

  Path to certificate to use for SSL validation.

- **--client-cert**

  Path to file containing SSL certificate for client auth.

- **--ssl-no-validate**

  Do not validate SSL certificate

- **--http\_auth** AUTH

  Use Basic Authentication ex: user:pass Default: None

- **--timeout** TIMEOUT

  Connection timeout in seconds.

- **--master-only**

  Verify that the node is the elected master before continuing

- **--dry-run**

  If true, does not perform any changes to the Elasticsearch indices.

- **--loglevel** LOG\_LEVEL

  Log level

- **--logfile** LOG\_FILE

  log file

- **--logformat** LOGFORMAT

  Log output format \[default\|logstash\]. Default: default

## COMMANDS

Each of the following commands accepts a number of options and positional arguments. Run **curator** *COMMAND* **--help** for command-specific help. Available commands are:

- **allocation**

  Apply required index routing allocation rule

- **close**

  Close indices

- **delete\_indices**

  Delete indices

- **delete\_snapshots**

  Delete snapshots

- **forcemerge**

  forceMerge index/shard segments

- **open**

  Open indices

- **replicas**

  Change replica count of indices

- **show\_indices**

  Show indices

- **show\_snapshots**

  Show snapshots

- **snapshot**

  Take snapshots of indices

## EXIT CODES

Exit codes will indicate success or failure.

- 0

  Success

- 1

  Failure

- \-1

  An exception was raised that does not result in an exit code of 1

## SEE ALSO

[**es\_repo\_mgr**(1)](/es_repo_mgr/1.md), [**curator**(1)](/curator/1.md)

Additional documentation for **curator\_cli** can be found at the project's wiki at https://github.com/elasticsearch/curator/wiki and (on Debian systems) under **/usr/share/doc/elasticsearch-curator/reference.txt.gz**.

## AUTHOR

**curator** was originally written by Aaron Mildenstein \<aaron@mildensteins.com\>. It is currently maintained by Elasticsearch \<http://www.elasticsearch.org/\>.

This manual page was written by Apollon Oikonomopoulos \<apoikos@debian.org\> for the Debian project (but may be used by others).

## LICENSE

This software is released under the Apache License, Version 2.0. See /usr/share/doc/elasticsearch-curator/copyright for more details.

Copyright 2011-2016 Elasticsearch and contributors.
