Open rzvavram opened 7 years ago
@AtnNn Perhaps we should move this to a wiki or something?
@AtnNn We should, but i don't know how.
@rzvavram wouldn't this suffice - https://github.com/rethinkdb/logstash-input-rethinkdb/wiki/Plugin-config-example
I'm guessing a simplified version should be added to main README instead of what is there. If this project starts getting some love we can add a pull request.
thx @rzvavram @sagivf for sharing, you might want to update this config for logstash 5.x breaking changes
e = event['new_val']
e.each_with_index do |(key, value), index|
event[key] = value
end
change to
e = event.get('new_val')
e.each_with_index do |(key, value), index|
event.set( key, value )
end
btw you probably just need the each method instead of the each_with_index method, don't see where index is used in that block...
Hi, i had a lot of trouble configuring logstash, rethinkdb and elastic to work together. Since i saw lots of people questioning how to do it, i want to share my solution
Hope this helps