Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # list of severity levels
- # ["emergency", "alert", "critical", "error", "warning", "notice", "informational", "debug"]
- cron { 'Clean_debug_older_than_4_weeks_28_days':
- command => '/usr/local/bin/purge_elasticsearch.sh -d 28 -l debug',
- minute => '10',
- hour => '5',
- }
- cron { 'Clean_informational_older_than_16_weeks_112_days':
- command => '/usr/local/bin/purge_elasticsearch.sh -d 112 -l informational',
- minute => '20',
- hour => '5',
- }
- cron { 'Clean_notice_older_than_32_weeks_224_days':
- command => '/usr/local/bin/purge_elasticsearch.sh -d 224 -l notice',
- minute => '30',
- hour => '5',
- }
- cron { 'Clean_all_older_than_1_year_365_days':
- command => '/usr/local/bin/purge_elasticsearch.sh -d 365',
- minute => '40',
- hour => '5',
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement