-
Notifications
You must be signed in to change notification settings - Fork 98
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
Ability to convert to Json ignored unknown values #107
Comments
@joker1007 what you say about this? |
I think that this feature is substitutable by other filter plugin. |
The problem is that if use another plugin we need to duplicate the field definition on multiple places. Practically I need to hardcode all the fields that exists so a plugin can detect what's missing. And that needs constant maintenance. It was extremely handful and great that here with auto table schema we should not describe the fields, only some the |
I see your probrem. |
We love the plugin, and we primary use for event shipping.
We use the
ignore_unknown_values
config option but we would like to convert all ignored values to a json string something likeconvert_hash_to_json
option does AND we would like to name to a column eg:meta
proposed config line:
convert_ignored_unknown_json_key meta #column name to hold the JSON string time_string meta
this would take all ignored values and with their name would complile as JSON and place in the column named
meta
expected in
meta
(in Bigquery there is no column for host/ip/port/user:"meta" => "{\"host\":\"remote.example\",\"ip\":\"192.0.2.1\",\"port\":12345,\"user\":\"tagomoris\"}"
for us it's really high priority, let me know once you read it, what you think.
The text was updated successfully, but these errors were encountered: