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

kv should always overwrite the target field #11

Open
jordansissel opened this issue May 18, 2015 · 0 comments
Open

kv should always overwrite the target field #11

jordansissel opened this issue May 18, 2015 · 0 comments

Comments

@jordansissel
Copy link
Contributor

(This issue was originally filed by @avleen at elastic/logstash#1315)


In the event that kv has nothing to do, it doesn't write the target field.
If your source and target are the same, this can be a problem: You expect the target to always be a hash but when kv took no action, it's still a string.

This in turn breaks inserting things into ES if ES is expecting an object.

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

1 participant