Skip to content

Commit

Permalink
add configuration comments
Browse files Browse the repository at this point in the history
  • Loading branch information
arkady-emelyanov committed Sep 21, 2018
1 parent 566ed9a commit a9272db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ elasticsearch:

rollover:
- alias: logs-write
# %Y - year, %m - month, %d - day, %H - hour, %M - minute, %s - second
new_name: logs-write-%Y-%m-%d-%H%M%s
conditions:
max_docs: 10000
# d - days, h - hours (ElasticSearch time units)
max_age: 2h
optimize:
max_segments: 1

0 comments on commit a9272db

Please sign in to comment.