CURATOR(1)

πŸ’– CURATOR(1) πŸ’–

bestie… welcome to curator, the Elasticsearch time-series index manager. yes it's a User Commands moment, yes it's iconic, and yes i'm about to explain every single flag like we're texting at 2am 🫢


✨ NAME ✨

curator β€” Elasticsearch time-series index manager. that's it. that's the whole vibe. πŸ‘‘


🌸 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

okay so literally just read it left to right, it's giving "flags first, then the command, then that command's own stuff" ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

curator helps you manage Elasticsearch time-series indices. it's the easy way to do all your index admin tasks β€” managing aliases, optimizing indices, changing the replica count, and modifying index allocation using routing tags. no cap, it's the main character of index maintenance. πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” show program usage and then dip out. πŸ™ˆ
  • -v, --version β€” show the program's version number and exit.
  • --host HOST β€” the Elasticsearch host. Default: localhost
  • --url_prefix URL_PREFIX β€” the Elasticsearch HTTP url prefix. Default: none
  • --port PORT β€” the Elasticsearch port. Default: 9200
  • --use_ssl β€” connect to Elasticsearch through SSL. Default: false
  • --certificate β€” path to the certificate to use for SSL validation.
  • --client-cert β€” path to the file containing the SSL certificate for client auth.
  • --ssl-no-validate β€” do not validate the 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, it 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 🌈

every single one of these commands takes its own pile of options and positional arguments. wanna see them? run curator COMMAND --help for command-specific help, bestie. πŸ”₯

here are all the available commands:

  • allocation β€” apply the 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 the replica count of indices.
  • show_indices β€” show indices.
  • show_snapshots β€” show snapshots.
  • snapshot β€” take snapshots of indices.

πŸ’€ EXIT CODES πŸ’€

the exit codes will tell you whether it slayed or flopped. success or failure, that's the whole story.

  • 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), curator(1)

additional documentation for curator_cli lives 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.


and that's a wrap bestie!! this was curator version 4.2, from December 2016, served to you with love by your local CURATOR(1) man page. mwah πŸ’‹βœ¨