Closed ssevertson closed 8 years ago
Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then say 'jenkins, test it'.
Hey @ssevertson,
I have the same problem. Is there any workaround? :-)
Thanks!
@ssevertson Thanks for your contribution! I don't see a CLA on file for you, so before we can review the code, can you resolve this? Link here: https://www.elastic.co/contributor-agreement/
Just signed the CLA.
Any chance getting this merged?
:+1: on getting merged/resolved
Suyog Rao merged this into the following branches!
Branch | Commits |
---|---|
master | 8ea6bd2f1c7c257157e9b40c07f9330d0ed59c08 |
I believe this is related to https://github.com/elastic/logstash/issues/3888, but that issue hasn't been relocated to the correct project yet. My issue was discovered against 1.5.4-1, as provided by the packages.elasticsearch.org repo.
If Logstash is receiving messages where the "level" field is already numeric (from TCP/JSON in my case, from UDP/CollectD in the original issue's case), GELF output fails with the following error:
The line in question:
Fix is to simply check if level.respond_to?(:downcase) before attempting it.