We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I have a JSON {"id":7, "name":"bob"}, I can use column_mapping 'id:id, name:name' .
But, for example, I have a JSON like this : {"id":{"myid":7}, "name":"bob"}
How can I map myid to the column id?
The text was updated successfully, but these errors were encountered:
use the trasnfrom record to extract the fields , then use the new vars to inster into the table
ex: @type record_transformer enable_ruby true data ${record.to_json} # Convert full JSON log data to string under "data" created_at ${Time.now.utc.iso8601} # Store current UTC time
change record.to_json with record["filed"] or something like this, double check the ruby syntax
then in the table:
Sorry, something went wrong.
No branches or pull requests
If I have a JSON {"id":7, "name":"bob"}, I can use
column_mapping 'id:id, name:name' .
But, for example, I have a JSON like this :
{"id":{"myid":7}, "name":"bob"}
How can I map myid to the column id?
The text was updated successfully, but these errors were encountered: