I have a table in sql server which has json objects as a value in one of the columns. My requirement is to read those objects as it is and write into an index. I would like to know what are the best ways of doing it using logstash and how it can be achieved.
eg:
type | response
submitapi | {"abc":"xxxx","xyz":{[xxx],[xxx]}
calcapi | {"abc":"xxxx","xyz":{[xxx],[xxx]}
checkinapi | {"abc":"xxxx","xyz":{[xxx],[xxx]}
I need the values under response to be stored into an index without having the 'type' column as key.
thanks