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

Improve error message when exception happens #14

Open
ThomasdOtreppe opened this issue Nov 25, 2015 · 0 comments
Open

Improve error message when exception happens #14

ThomasdOtreppe opened this issue Nov 25, 2015 · 0 comments

Comments

@ThomasdOtreppe
Copy link

System info:

  • Ubuntu 14.04.3 64 bit
  • Logstash 2.1.0 from Elastic deb repo

Due to date parsing issue, I got the following in my logs:

{:timestamp=>"2015-11-25T13:50:28.229000-0700", :message=>"Ruby exception occurred: can't dup NilClass", :level=>:error}

After debugging, I figured that it came from the Ruby filter because parsing failed (and the field I was working on wasn't set.

It would be nice if the error indicated it came from the ruby filter, that would help debugging a lot.

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

No branches or pull requests

2 participants