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

@metadata[action] throws error #14

Open
jblachly opened this issue Jul 17, 2015 · 2 comments
Open

@metadata[action] throws error #14

jblachly opened this issue Jul 17, 2015 · 2 comments

Comments

@jblachly
Copy link

Going by the instructions on this page:
https://www.elastic.co/guide/en/logstash/current/configuration.html

when including the line
action => "%{[@metadata][action]}"

in the logstash config, logstash repeatedly throws errors and is unable to move any of the docs from couchdb_changes to elasticsearch.

I imagine, but do not know for sure, that this is a problem with the @metadata set by the couchdb_changes plugin; if in fact this is a problem with the elasticsearch output plugin instead, let me know so I can move this issue over there. I am not a ruby programmer and haven't time to dig in to narrow it down for sure, I'm afraid. Thank you in advance.

@naro
Copy link

naro commented Aug 12, 2015

I think it might be related to this problem (delete action) https://discuss.elastic.co/t/couchdb-plugin-set-dynamic-type-for-elasticsearch/2293/12
First of all I thought it is because of 'update' (from couch) or 'index' (allowed by elastic plugin) action name but after sorting out the delete, it works for me even with default "%{[@metadata][action]}"

@naro
Copy link

naro commented Aug 13, 2015

This issue is probably even more related to your problem: logstash-plugins/logstash-output-elasticsearch#195

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

No branches or pull requests

2 participants