Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2015
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. # list of severity levels
  2. # ["emergency", "alert", "critical", "error", "warning", "notice", "informational", "debug"]
  3.  
  4.  
  5. cron { 'Clean_debug_older_than_4_weeks_28_days':
  6. command => '/usr/local/bin/purge_elasticsearch.sh -d 28 -l debug',
  7. minute => '10',
  8. hour => '5',
  9. }
  10. cron { 'Clean_informational_older_than_16_weeks_112_days':
  11. command => '/usr/local/bin/purge_elasticsearch.sh -d 112 -l informational',
  12. minute => '20',
  13. hour => '5',
  14. }
  15. cron { 'Clean_notice_older_than_32_weeks_224_days':
  16. command => '/usr/local/bin/purge_elasticsearch.sh -d 224 -l notice',
  17. minute => '30',
  18. hour => '5',
  19. }
  20. cron { 'Clean_all_older_than_1_year_365_days':
  21. command => '/usr/local/bin/purge_elasticsearch.sh -d 365',
  22. minute => '40',
  23. hour => '5',
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement