A newer version is available. For the latest information, see the
current release documentation.
--logformat
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
--logformat
editSummary
editChange the formatting of the log output. This can be either default, or
logstash for JSON output. The default is default
Flags
edit-
--logformatTEXT Log output format[default|logstash].
This flag must come before any command.
Example
editSet log format to logstash and log to /tmp/curator.log:
curator --logfile /tmp/curator.log --logformat logstash <<command>> <<flags>>