-
Notifications
You must be signed in to change notification settings - Fork 21
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
Clone semantics, may generate conflict due to added "type" field. #8
Comments
Any chance to support this? |
Agree, "type" is a very common field name - it doesn't make sense that logstash metadata would overwrite the original data. |
Before I go through all sorts of gymnastics with my current 'type' field, is there any update/progress on this? |
There's a pull request meant to address the issue, though the CI failed ... #12 ... |
For the time being I'm just using a workaround to save the old type, clone (and create a tag), then restore the old type:
|
The CI indeed failed but due to some issue with the build server, not a problem with the (very simple) code. |
I wouldn't get my hopes up about this ever being fixed... |
If possible add, additional configuration, for a configurable fieldref, to customize the clone descreminator attribute/value.
If your events already contain a field with the "type" value, you will be polluting the event, and may have a conflict with the clone!
Example:
clone {
clone_field => "[@metadata][type]"
}
The text was updated successfully, but these errors were encountered: