miaplaza / logstash-filter-csharp Goto Github PK
View Code? Open in Web Editor NEWA logstash filter to parse C# stack traces and exception messages
License: Other
A logstash filter to parse C# stack traces and exception messages
License: Other
We should fix
File "failed to parse stack frame: #<NoMethodError: undefined method `[]' for nil:NilClass>", line 0, in --- End of stack trace from previous location where exception was thrown ---
[2017-10-23T15:39:08,099][FATAL][logstash.runner] An unexpected error occurred! {
:error=>#<NoMethodError: undefined method `split' for nil:NilClass>,
:backtrace=>["/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-csharp-0.1.0/lib/logstash/filters/csharp.rb:21:in `parse_stacktrace'",
"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-csharp-0.1.0/lib/logstash/filters/csharp.rb:61:in `parse_exception'",
"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-csharp-0.1.0/lib/logstash/filters/csharp.rb:59:in `parse_exception'",
"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-csharp-0.1.0/lib/logstash/filters/csharp.rb:87:in `filter'",
"/usr/share/logstash/logstash-core/lib/logstash/filters/base.rb:145:in `do_filter'",
"/usr/share/logstash/logstash-core/lib/logstash/filters/base.rb:164:in `multi_filter'",
"org/jruby/RubyArray.java:1613:in `each'", "/usr/share/logstash/logstash-core/lib/logstash/filters/base.rb:161:in `multi_filter'",
"/usr/share/logstash/logstash-core/lib/logstash/filter_delegator.rb:43:in `multi_filter'", "(eval):2985:in `initialize'",
"org/jruby/RubyArray.java:1613:in `each'", "(eval):2982:in `initialize'",
"org/jruby/RubyProc.java:281:in `call'", "(eval):3011:in `initialize'",
"org/jruby/RubyArray.java:1613:in `each'", "(eval):2996:in `initialize'",
"org/jruby/RubyProc.java:281:in `call'", "(eval):673:in `filter_func'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:383:in `filter_batch'",
"org/jruby/RubyProc.java:281:in `call'",
"/usr/share/logstash/logstash-core/lib/logstash/util/wrapped_synchronous_queue.rb:238:in `each'",
"org/jruby/RubyHash.java:1342:in `each'", "/usr/share/logstash/logstash-core/lib/logstash/util/wrapped_synchronous_queue.rb:237:in `each'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:382:in `filter_batch'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:363:in `worker_loop'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:330:in `start_workers'"]}
This happens inside InnerExceptions
s so the StackTraceString property might be null because it was eaten by some Exception Handler before, or another reason.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.