https://github.com/shavo007/docker-es-curator-cron
Docker container to run elasticsearch curator 4
https://github.com/shavo007/docker-es-curator-cron
Last synced: 5 months ago
JSON representation
Docker container to run elasticsearch curator 4
- Host: GitHub
- URL: https://github.com/shavo007/docker-es-curator-cron
- Owner: shavo007
- Created: 2016-06-27T03:08:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-26T15:49:31.000Z (over 3 years ago)
- Last Synced: 2025-02-17T04:26:46.794Z (8 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-es-curator-cron
Docker container to run elasticsearch curator 4Elasticsearch Curator helps you curate, or manage, your Elasticsearch indices and snapshots
##Documentation
https://www.elastic.co/guide/en/elasticsearch/client/curator/4.0/index.html
https://www.elastic.co/blog/curator_v4_release
This image comes with a default set of configuration files for curator,
but if you want to provide your own set of configuration and action files, you can do so via a volume mounted at /usr/share/curator/config:```
$ docker run -d -v "$PWD/config":/usr/share/curator/config shanelee007/curator4
```##Commands
* Define config file:
Location is /usr/share/curator/config/curator.yml
* Define the action
Samples are located under config dir /usr/share/curator/config
###Dry run
```
curator --dry-run ./config/create_location_index_curator.yml
```If your happy then run it:
```
curator ./config/create_location_index_curator.yml```
###Cron job
```crontab -e```
```
0 0 15 1/1 * ? * /usr/local/bin/curator /usr/share/curator/config/create_location_index_curator.yml
```