mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Merge pull request #489 from MixMuffins/mixmuffins-LOGSTASH-1106-fileOutput-logRotationDateFix
LOGSTASH-1106 file output log rotation date fix
This commit is contained in:
commit
4b44f71e6e
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,11 @@ class LogStash::Outputs::File < LogStash::Outputs::Base
|
|||
|
||||
# The path to the file to write. Event fields can be used here,
|
||||
# like "/var/log/logstash/%{@source_host}/%{application}"
|
||||
# One may also utilize the path option for date-based log
|
||||
# rotation via the joda time format. This will use the event
|
||||
# timestamp.
|
||||
# E.g.: path => "./test-%{+YYYY-MM-dd}.txt" to create
|
||||
# ./test-2013-05-29.txt
|
||||
config :path, :validate => :string, :required => true
|
||||
|
||||
# The maximum size of file to write. When the file exceeds this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue