--timeout

edit

Summary

edit

By default, Curator has a 30 second timeout for most operations ( snapshot and optimize being exceptions where the default is overridden if it is too low). You can override this setting with the --timeout flag.

Flags

edit
  • --timeout time in seconds to keep Elasticsearch client connection open. Default: 30 (seconds).

This flag must come before any command.

Example

edit

Connect to Elasticsearch instance on host es.example.org at port 12345 with a timeout of 60 seconds:

curator --host es.example.org --port 12345 --timeout 60 <<command>> <<flags>>