Skip to content
Daniele edited this page Aug 21, 2014 · 7 revisions

New in v1.2.0 is the logformat option, which will output logs in Logstash (JSON) format.

Common practice is to run curator as a cron job, e.g.

20 0 * * * /usr/local/bin/curator --logformat logstash delete --older-than 60 2>&1 | /bin/nc localhost 28778

Then logstash can be configured using:

input {
  tcp {
    codec => json
    type => "curator"
    port => "28778"
  }
}
Clone this wiki locally