Logstash S3 Bucket filename in input


I want to send the log file name stored inside my S3 bucket as an input to the logstash. If I try to give the path, it fails with error.

If I just give the bucket name it works. If I try to give it as a path it shows an error.

Error: uninitialized constant Aws::Client::Errors
[2016-11-23T02:36:49,770][ERROR][logstash.pipeline ] A plugin had an unrecoverable error. Will restart this plugin.

Does the S3 input plugin work with filename structure?

if not, then how can I give a log file store in my S3 bucket as an input?

Do I need to create separate buckets for each log file, or is there any other work around?

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