Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

logstash_curator incompatible with curator 3 commands #443

Open
jrstarke opened this issue Jan 11, 2016 · 1 comment
Open

logstash_curator incompatible with curator 3 commands #443

jrstarke opened this issue Jan 11, 2016 · 1 comment

Comments

@jrstarke
Copy link

I recently built a new logstash server using this cookbook. As part of my recipe, use logstash_curator to cleanup old logs. This LWRP creates a new cronjob on the logstash user that runs

/usr/local/bin/curator --host 127.0.0.1 delete --older-than 6 &> /dev/null

I found that my disk space was running high, so I attempted to run

/usr/local/bin/curator --host 127.0.0.1 delete --older-than 4 &> /dev/null manually. After running this a number of times with no results, I dropped the&> /dev/null` and found I was getting an error

Error: no such option: --older-than
@cyberflow
Copy link
Contributor

Check your elasticsearch-curator python module version. New curator version (> 4.0.X) use new strategy and configurable by .yml config files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants