Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin Error #3

Open
danielcbright opened this issue Oct 31, 2015 · 4 comments
Open

Plugin Error #3

danielcbright opened this issue Oct 31, 2015 · 4 comments

Comments

@danielcbright
Copy link

Hi,

I'm running into this error when using the cloudtrail codec, any thoughts and ideas appreciated!

Error: undefined method `each' for nil:NilClass

@abriel
Copy link

abriel commented Nov 10, 2015

The same for me.
unfortunately the message does not contain a line number or backtrace.

@abriel
Copy link

abriel commented Nov 11, 2015

Found the issue.
CloudTrail also puts some digest files that don't have 'Records' actually.
So, the issue is fixing by adding
exclude_pattern => ".*\/CloudTrail\-Digest\/.*" for s3 input configuration.
Thanks.!

@danielcbright
Copy link
Author

Good find @abriel , don't have time right now but I'll try it out and see if it fixes my issue too.

@KashifSaadat
Copy link

@abriel thank you this resolved my issue! I also had to do the following changes to get logs feeding through:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants