I am using the jdbc_streaming filter to pull additional data for an event from a database, the result looks like below. Any ideas on how I could have this parsed out so that I don't lose any of the data and keep it all contained within a single event?
[
{
"integeranswer": null,
"dropdownid": 47,
"questionid": 59,
"dateanswer": null,
"textareaanswer": null,
"decimalanswer": null,
"booleananswer": null
},
{
"integeranswer": null,
"dropdownid": null,
"questionid": 109,
"dateanswer": null,
"textareaanswer": null,
"decimalanswer": null,
"booleananswer": false
}
]
If possible, I'd want to it to be...objectified(?) to have this sort of field structure in the event:
question.59.integeranswer: null
question.59.dropdownid: 47
question.59.dateanswer: null
question.59.textareaanswer: null
question.59.decimalanswer: null
question.59.booleananswer: null
question.109.integeranswer: null
question.109.dropdownid: null
question.109.dateanswer: null
question.109.textareaanswer: null
question.109.decimalanswer: null
question.109.booleananswer: null