Skip to content

Commit

Permalink
fix: add forgotten config file for filebeat
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarel committed Jan 4, 2024
1 parent 5b31460 commit 7d976a7
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions configs/filebeat/ilm-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"policy": {
"phases": {
"hot": {
"min_age": "0ms",
"actions": {
"rollover": {
"max_primary_shard_size": "5gb",
"max_age": "2d"
},
"set_priority": {
"priority": 100
}
}
},
"warm": {
"min_age": "20d",
"actions": {
"shrink": {
"number_of_shards": 1
},
"forcemerge": {
"max_num_segments": 1,
"index_codec": "best_compression"
},
"set_priority": {
"priority": 50
},
"allocate": {
"number_of_replicas": 5
}
}
},
"delete": {
"min_age": "90d",
"actions": {
"wait_for_snapshot": {
"policy": "weekly-snapshots"
},
"delete": {
"delete_searchable_snapshot": true
}
}
}
}
}
}

0 comments on commit 7d976a7

Please sign in to comment.