diff --git a/lib/logstash/outputs/s3.rb b/lib/logstash/outputs/s3.rb index 8538d4b4..34cca89c 100644 --- a/lib/logstash/outputs/s3.rb +++ b/lib/logstash/outputs/s3.rb @@ -275,7 +275,7 @@ def periodic_interval public def get_temporary_filename(page_counter = 0) - current_time = Time.now + current_time = Time.now.utc filename = "ls.s3.#{Socket.gethostname}.#{current_time.strftime("%Y-%m-%dT%H.%M")}" if @tags.size > 0