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

Crash when metric is a Fixnum #19

Open
athoune opened this issue Jan 4, 2016 · 2 comments
Open

Crash when metric is a Fixnum #19

athoune opened this issue Jan 4, 2016 · 2 comments

Comments

@athoune
Copy link

athoune commented Jan 4, 2016

In https://github.com/logstash-plugins/logstash-output-statsd/blob/master/lib/logstash/outputs/statsd.rb#L122

When metric is a number, like "[http][code]", logstash silently dies :

NoMethodError: undefined method `gsub' for 200:Fixnum
@mpalmer
Copy link

mpalmer commented Sep 2, 2016

I'm getting this too, in logstash-output-statsdv2.0.7, which is what is bundled with the current version of the official logstash:2.3 docker image as at the time of writing.

@bartlomiejsawicki
Copy link

I have the same
logstash-output-statsdv2.0.7
logstash:2.4
Does anyone know how to solve it or which version is not impacted?

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