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

Update docs for elasticsearch filter plugin #6459

Closed
ctindel opened this issue Dec 23, 2016 · 1 comment
Closed

Update docs for elasticsearch filter plugin #6459

ctindel opened this issue Dec 23, 2016 · 1 comment
Assignees
Labels

Comments

@ctindel
Copy link

ctindel commented Dec 23, 2016

This doc:

https://www.elastic.co/guide/en/logstash/current/plugins-filters-elasticsearch.html

Needs to be updated to reflect the breaking changes from 5.0 to use event.get() and event.set() in the ruby code, otherwise you'll get exceptions like this:

[2016-12-23T05:00:11,456][ERROR][logstash.filters.ruby ] Ruby exception occurred: Direct event field references (i.e. event['field']) have been disabled in favor of using event get and set methods (e.g. event.get('field')). Please consult the Logstash 5.0 breaking changes documentation for more details.

This is discussed here:

https://www.elastic.co/guide/en/logstash/current/breaking-changes.html

@suyograo
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants