Created
August 12, 2017 07:07
-
-
Save daohoangson/8bb0e2f37b48f933ea4d5a52baa1546b to your computer and use it in GitHub Desktop.
curator_cli usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
docker run --rm -it --network=bkvn_default --entrypoint=curator_cli olalonde/curator \ | |
--host elasticsearch \ | |
delete_indices \ | |
--filter_list '[{"filtertype":"age","source":"creation_date","direction":"older","unit":"days","unit_count":7},{"filtertype":"pattern","kind":"prefix","value":"logstash"}]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment