Skip to content

Instantly share code, notes, and snippets.

@georgeOsdDev
Created December 24, 2015 10:01
Show Gist options
  • Save georgeOsdDev/77cd4ecf6b8c6fe2e303 to your computer and use it in GitHub Desktop.
Save georgeOsdDev/77cd4ecf6b8c6fe2e303 to your computer and use it in GitHub Desktop.
curator job
#!/bin/bash
curator --host localhost close indices --prefix logstash --older-than 30 --time-unit days --timestring %Y.%m.%d
curator --host localhost delete indices --prefix logstash --older-than 60 --time-unit days --timestring %Y.%m.%d
curator --host localhost bloom indices --prefix logstash --older-than 2 --time-unit days --timestring %Y.%m.%d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment