I have installed ELK and the latest curator 4.0. I would like to made it regularly run with cronjob in linux.
cd~
.crontab -e
.* * * * * /.curator curator action.yml
Is this setting right? How should I check if it is running or not?
1 - For curator installation checkout: https://www.elastic.co/guide/en/elasticsearch/client/curator/current/installation.html
2 - You can edit crontab entries like that. Thats OK.
3 - If you install curator correctly you can run:
* * * * * curator /path/to/action/file/action.yml
That will run curator every minute with the specified action.yml
file.
For crontab log checkout: https://askubuntu.com/questions/56683/where-is-the-cron-crontab-log