logstash-filter-ruby
logstash-filter-ruby copied to clipboard
**Logstash information**: Please include the following information: 1. Logstash version (e.g. `bin/logstash --version`) **8.9.1** 3. Logstash installation source (e.g. built from source, with a package manager: DEB/RPM, expanded from tar...
The `tag_on_exception` configuration parameter is not validated, which allows users to add invalid values, which will go undetected until an exception occurs inside the plugin, which will then kill the...
Based on https://github.com/logstash-plugins/logstash-filter-ruby/blob/32c5f6c9efeaa041dd98ffbc4b7665204c88e2dd/lib/logstash/filters/ruby.rb#L102-L104
This change effectively restricts users shooting themselves in the foot with `code => ...` such as : ```ruby foo = event.get('foo') NP = event.get('NP') if event.get('NP') if NP != nil...
Currently the `testing the ruby script` portion of the documentation describes how to use the testing framework with a single, relatively straightforward, example, and is lacking further examples on the...
Could you please add information about code block and event to debug log in case of ruby exception? It's mostly impossible to find problem using only error message (moreover sometimes...
When an unexpected exception occurs with an `code => ...` inline script, the plugin [catches everything](https://github.com/logstash-plugins/logstash-filter-ruby/blob/v3.1.5/lib/logstash/filters/ruby.rb#L91) due `rescue Exception`. This isn't ideal as it will also catch any serious `java.lang.Error`...
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...
The "init" option is really a nice idea to execute code at logstash startup. This would be great to add a similar option to execute code at logstash shutdown. For...
(This issue was originally filed by @dbeckham at https://github.com/elastic/logstash/issues/2227) --- The [Ruby plugin documentation](http://www.elasticsearch.org/guide/en/logstash/current/plugins-filters-ruby.html) is incomplete and only documents the basic configuration option details. Specifically, the code configuration option is...