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

Error while using logstash just as a Gelf Router #2

Open
jordansissel opened this issue May 17, 2015 · 1 comment
Open

Error while using logstash just as a Gelf Router #2

jordansissel opened this issue May 17, 2015 · 1 comment

Comments

@jordansissel
Copy link
Contributor

(This issue was originally filed by @rikatz at elastic/logstash#1847)


Using logstash with input gelf, and output gelf to another server (in this case, a graylog2 server), the following error occurs:

Using milestone 2 input plugin 'gelf'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.4.2/plugin-milestones {:level=>:warn}
Using milestone 1 input plugin 'syslog'. This plugin should work, but would benefit from use by folks like you. Please let us know if you find bugs or have suggestions on how to improve this plugin. For more information on plugin milestones, see http://logstash.net/docs/1.4.2/plugin-milestones {:level=>:warn}
Using milestone 2 output plugin 'gelf'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.4.2/plugin-milestones {:level=>:warn}
NoMethodError: undefined method `join' for "_grokparsefailure":String
receive at /opt/programas/logstash/lib/logstash/outputs/gelf.rb:179
handle at /opt/programas/logstash/lib/logstash/outputs/base.rb:86
initialize at (eval):38
call at org/jruby/RubyProc.java:271
output at /opt/programas/logstash/lib/logstash/pipeline.rb:266
outputworker at /opt/programas/logstash/lib/logstash/pipeline.rb:225
start_outputs at /opt/programas/logstash/lib/logstash/pipeline.rb:152

Here is the logstash.conf file:

input {
gelf {
}
syslog {
port => 1514
}
}

output {
gelf {
host => "192.168.0.12"
}
}

Thanks in advice

@tboeghk
Copy link

tboeghk commented Aug 27, 2018

Dug out this one: The problem still exists in the most recent version. This can be avoided by not shipping tags in the output part:

output {
  gelf {
    host => "192.168.0.12"
    ship_tags => false
  }
}

There seems to be a problem with parsing of tags received via the input plugin.

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

2 participants