Logstash s3 parsing issue

output {
  s3 {
    access_key_id => "test"
    secret_access_key => "test"
    bucket => "logstorage"
    region => "us-west-1"
    codec => "json_lines"
    prefix => "%{+YYYY}/%{+MM}/%{+dd}/example.log"

  }
}

So I have been using the above config but I want to store all the log in the example.log file but it is creating a directory named example.log and inside that many log file which is not needed.
Also found that even after applying a dynamic filter for the date it is not getting updated.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.